Salome HOME
IPAL21104 Can't select LSC for the creation of Working Plane V4_1_5_BR V4_1_5 V4_1_5rc2 V4_1_5rc3
authordmv <dmv@opencascade.com>
Wed, 29 Apr 2009 11:43:10 +0000 (11:43 +0000)
committerdmv <dmv@opencascade.com>
Wed, 29 Apr 2009 11:43:10 +0000 (11:43 +0000)
src/BasicGUI/BasicGUI_WorkingPlaneDlg.cxx

index fa18b088c4b935f9bfe9efa6f02c254a556cc756..918c90d1a50852eb6fe4d02947d94e0a915c22ee 100644 (file)
@@ -363,7 +363,10 @@ void BasicGUI_WorkingPlaneDlg::SetEditCurrentArgument()
 
   if (send == Group1->PushButton1) {
     myEditCurrentArgument = Group1->LineEdit1;
-    globalSelection( GEOM_PLANE );
+    TColStd_MapOfInteger aMap;
+    aMap.Add(GEOM_PLANE);
+    aMap.Add(GEOM_MARKER);
+    globalSelection(aMap);    
   }
   else if (send == Group2->PushButton1) {
     myEditCurrentArgument = Group2->LineEdit1;