]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Added comment
authorvsv <vitaly.smetannikov@opencascade.com>
Thu, 30 Oct 2014 08:11:41 +0000 (11:11 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Thu, 30 Oct 2014 08:11:41 +0000 (11:11 +0300)
src/ModuleBase/ModuleBase_Operation.cpp

index 896da097e6160d7f73ed867ea9b9c3a5dc48869d..5ffb8b760b196be178ffa85d5f5cba7064ff2eb0 100644 (file)
@@ -29,6 +29,9 @@
 
 #include <Events_Loop.h>
 
+#include <TopoDS.hxx>
+#include <TopoDS_Vertex.hxx>
+
 #ifdef _DEBUG
 #include <QDebug>
 #endif
@@ -256,6 +259,9 @@ bool ModuleBase_Operation::activateByPreselection()
     aPrs = (*aPIt);
     ModuleBase_WidgetValueFeature aValue;
     aValue.setObject(aPrs.object());
+    // Check if the selection has a selected point
+    // for today it is impossible to do because
+    // the selected point demands convertation to Sketch plane 2d
     if (!aWgt->setValue(&aValue))
       break;
   }