From: vsv Date: Fri, 29 Nov 2019 15:14:15 +0000 (+0300) Subject: Issue #3092: Avoid clearing of already selected projection feature X-Git-Tag: V9_5_0a1~140 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=61a7c35b39af2dc8aec58536abd8283d8816a0fc;p=modules%2Fshaper.git Issue #3092: Avoid clearing of already selected projection feature --- diff --git a/src/ModuleBase/ModuleBase_WidgetValidated.cpp b/src/ModuleBase/ModuleBase_WidgetValidated.cpp index f25833228..1536c3066 100644 --- a/src/ModuleBase/ModuleBase_WidgetValidated.cpp +++ b/src/ModuleBase/ModuleBase_WidgetValidated.cpp @@ -178,7 +178,8 @@ bool ModuleBase_WidgetValidated::isValidInFilters(const ModuleBase_ViewerPrsPtr& TopoDS_Shape aTDShape = aShapePtr->impl(); AISObjectPtr aIOPtr = myWorkshop->findPresentation(aResult); if (aIOPtr.get()) { - Handle(AIS_InteractiveObject) anIO = aIOPtr->impl(); + Handle(AIS_InteractiveObject) anIO = + aIOPtr->impl(); aOwnersList.Append(new StdSelect_BRepOwner(aTDShape, anIO)); } else diff --git a/src/PartSet/PartSet_Module.cpp b/src/PartSet/PartSet_Module.cpp index febeae273..342134c7a 100644 --- a/src/PartSet/PartSet_Module.cpp +++ b/src/PartSet/PartSet_Module.cpp @@ -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"); } //****************************************************** diff --git a/src/PartSet/PartSet_SketcherMgr.cpp b/src/PartSet/PartSet_SketcherMgr.cpp index 44924b60f..695d8a0fe 100644 --- a/src/PartSet/PartSet_SketcherMgr.cpp +++ b/src/PartSet/PartSet_SketcherMgr.cpp @@ -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()); }