]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/PartSet/PartSet_SketcherMgr.cpp
Salome HOME
Issue #2082: Sketch multiple rotation does not work as expected
[modules/shaper.git] / src / PartSet / PartSet_SketcherMgr.cpp
index 7a9c2c78872af19e2650b8e2404e32920938aac9..7d593a11085cda3157fcd5cc32517464cfb875a8 100755 (executable)
@@ -1729,6 +1729,8 @@ void PartSet_SketcherMgr::storeSelection(const bool theHighlightedOnly)
     else
       aFeature = std::dynamic_pointer_cast<ModelAPI_Feature>(anObject);
 
+    if (!aFeature.get())
+      continue;
 
     std::set<AttributePtr> aSelectedAttributes;
     std::set<ResultPtr> aSelectedResults;