Salome HOME
Fix for crash on multi-selection of group-vertices on imported body with Shift-key...
[modules/shaper.git] / src / ModuleBase / ModuleBase_ResultPrs.cpp
index d6bd0cde8de26c65ad5b9724683b1612ec4e7ced..eb022a2bf0d853202e1a3180a9dee43da9aade9b 100644 (file)
@@ -55,7 +55,7 @@ void ModuleBase_ResultPrs::Compute(const Handle(PrsMgr_PresentationManager3d)& t
   }
   myOriginalShape = aShapePtr->impl<TopoDS_Shape>();
   if (!myOriginalShape.IsNull()) {
-    Set(aShapePtr->impl<TopoDS_Shape>());
+    Set(myOriginalShape);
     AIS_Shape::Compute(thePresentationManager, thePresentation, theMode);
   }
 }