From e584a3ca0b70269185b59c3f02815662588033c0 Mon Sep 17 00:00:00 2001 From: azv Date: Sun, 15 Sep 2019 14:43:58 +0300 Subject: [PATCH] Fix error on loading SHAPER within SALOME on Linux. --- src/PartSet/PartSet_SketcherMgr.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PartSet/PartSet_SketcherMgr.cpp b/src/PartSet/PartSet_SketcherMgr.cpp index 9807b344c..540436a78 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(); -- 2.39.2