From: vsv Date: Wed, 29 May 2019 07:22:35 +0000 (+0300) Subject: Issue #2913: Make selectable original shape instead of substituting compound X-Git-Tag: VEDF2019Lot4~125 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=aa5aaf1a3b7b8c9d7d6b61499c5386cc1430bc2a;p=modules%2Fshaper.git Issue #2913: Make selectable original shape instead of substituting compound --- diff --git a/src/ModuleBase/ModuleBase_ResultPrs.cpp b/src/ModuleBase/ModuleBase_ResultPrs.cpp index 11ab42dc6..281f8e36c 100644 --- a/src/ModuleBase/ModuleBase_ResultPrs.cpp +++ b/src/ModuleBase/ModuleBase_ResultPrs.cpp @@ -64,7 +64,7 @@ IMPLEMENT_STANDARD_RTTIEXT(ModuleBase_ResultPrs, ViewerData_AISShape); //******************************************************************** ModuleBase_ResultPrs::ModuleBase_ResultPrs(ResultPtr theResult) : ViewerData_AISShape(TopoDS_Shape()), myResult(theResult), myAdditionalSelectionPriority(0), - myTransparency(1) + myTransparency(1), myIsSubstituted(false) { std::shared_ptr aShapePtr = ModelAPI_Tools::shape(theResult); TopoDS_Shape aShape = aShapePtr->impl(); @@ -150,30 +150,44 @@ bool ModuleBase_ResultPrs::setSubShapeHidden(const NCollection_List