]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #3092: Avoid clearing of already selected projection feature
authorvsv <vsv@opencascade.com>
Fri, 29 Nov 2019 15:14:15 +0000 (18:14 +0300)
committervsv <vsv@opencascade.com>
Fri, 29 Nov 2019 15:14:15 +0000 (18:14 +0300)
src/ModuleBase/ModuleBase_WidgetValidated.cpp
src/PartSet/PartSet_Module.cpp
src/PartSet/PartSet_SketcherMgr.cpp

index f2583322883824d88e5af9f4b8f1841fec1ef0c5..1536c3066d273a678bbfeaf32187cff23e7a088b 100644 (file)
@@ -178,7 +178,8 @@ bool ModuleBase_WidgetValidated::isValidInFilters(const ModuleBase_ViewerPrsPtr&
                 TopoDS_Shape aTDShape = aShapePtr->impl<TopoDS_Shape>();
                 AISObjectPtr aIOPtr = myWorkshop->findPresentation(aResult);
                 if (aIOPtr.get()) {
-                  Handle(AIS_InteractiveObject) anIO = aIOPtr->impl<Handle(AIS_InteractiveObject)>();
+                  Handle(AIS_InteractiveObject) anIO =
+                    aIOPtr->impl<Handle(AIS_InteractiveObject)>();
                   aOwnersList.Append(new StdSelect_BRepOwner(aTDShape, anIO));
                 }
                 else
index febeae273ef5db9be8d20adbc0955dfba46b164a..342134c7a56a353dc290ba7f118e4d8d4e25214a 100644 (file)
@@ -253,8 +253,8 @@ PartSet_Module::PartSet_Module(ModuleBase_IWorkshop* theWshop)
     "Add parameter in parameters manager dialog",
     Config_Prop::Shortcut, "Ctrl+A");
 
-  Config_PropManager::registerProp("Windows", "use_hide_faces_panel", "Use HideFaces panel in operations",
-    Config_Prop::Boolean, "false");
+  Config_PropManager::registerProp("Windows", "use_hide_faces_panel",
+    "Use HideFaces panel in operations", Config_Prop::Boolean, "false");
 }
 
 //******************************************************
index 44924b60fcf83d4b90987186796c3b2d80040d0c..695d8a0fef5f4a6ae3c1d2a8dc5eb6132d7ca001 100644 (file)
@@ -970,6 +970,8 @@ bool PartSet_SketcherMgr::isEntity(const std::string& theId)
          (theId == SketchPlugin_Arc::ID()) ||
          (theId == SketchPlugin_Circle::ID()) ||
          (theId == SketchPlugin_Ellipse::ID()) ||
+         (theId == SketchPlugin_Projection::ID()) ||
+         (theId == SketchPlugin_IntersectionPoint::ID()) ||
          (theId == SketchPlugin_EllipticArc::ID());
 }