From 47a1c229a9afef8f6385bd1e8199133df656f2a1 Mon Sep 17 00:00:00 2001 From: azv Date: Thu, 6 Apr 2017 08:13:55 +0300 Subject: [PATCH] Issue #2082: Sketch multiple rotation does not work as expected Fix crash or restart Trim operation --- src/PartSet/PartSet_SketcherMgr.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.39.2