From: azv Date: Thu, 6 Apr 2017 05:13:55 +0000 (+0300) Subject: Issue #2082: Sketch multiple rotation does not work as expected X-Git-Tag: V_2.7.0~53 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=47a1c229a9afef8f6385bd1e8199133df656f2a1;p=modules%2Fshaper.git Issue #2082: Sketch multiple rotation does not work as expected Fix crash or restart Trim operation --- diff --git a/src/PartSet/PartSet_SketcherMgr.cpp b/src/PartSet/PartSet_SketcherMgr.cpp index 7a9c2c788..7d593a110 100755 --- a/src/PartSet/PartSet_SketcherMgr.cpp +++ b/src/PartSet/PartSet_SketcherMgr.cpp @@ -1729,6 +1729,8 @@ void PartSet_SketcherMgr::storeSelection(const bool theHighlightedOnly) else aFeature = std::dynamic_pointer_cast(anObject); + if (!aFeature.get()) + continue; std::set aSelectedAttributes; std::set aSelectedResults;