From: azv Date: Sun, 15 Sep 2019 11:43:58 +0000 (+0300) Subject: Fix error on loading SHAPER within SALOME on Linux. X-Git-Tag: V9_4_0a2~4^2~81^2~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0bd7e14eb72b9579cea411384675dcffe758a0e6;p=modules%2Fshaper.git Fix error on loading SHAPER within SALOME on Linux. --- diff --git a/src/PartSet/PartSet_SketcherMgr.cpp b/src/PartSet/PartSet_SketcherMgr.cpp index bdc192f3a..c773710e9 100644 --- a/src/PartSet/PartSet_SketcherMgr.cpp +++ b/src/PartSet/PartSet_SketcherMgr.cpp @@ -2123,8 +2123,8 @@ void PartSet_Fitter::fitAll(Handle(V3d_View) theView) if (aRes->isDisplayed()) { FeaturePtr aFeature = ModelAPI_Feature::feature(aRes); if (aFeature.get()) { - std::shared_ptr aSPFeature = - std::dynamic_pointer_cast(aFeature); + std::shared_ptr aSPFeature = + std::dynamic_pointer_cast(aFeature); if (aSPFeature.get()) { bool isAxiliary = aSPFeature->boolean(SketchPlugin_SketchEntity::AUXILIARY_ID())->value();