From 34c40f535e03bd7f1de4618bce6722a160b7b33b Mon Sep 17 00:00:00 2001 From: vsv Date: Wed, 4 May 2016 16:00:07 +0300 Subject: [PATCH] Issue #1470: Do not edit external sketch objects --- src/PartSet/PartSet_SketcherMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PartSet/PartSet_SketcherMgr.cpp b/src/PartSet/PartSet_SketcherMgr.cpp index 6b54a5ecd..c897b72b5 100755 --- a/src/PartSet/PartSet_SketcherMgr.cpp +++ b/src/PartSet/PartSet_SketcherMgr.cpp @@ -696,7 +696,7 @@ void PartSet_SketcherMgr::launchEditing() FeaturePtr aFeature = myCurrentSelection.begin().key(); std::shared_ptr aSPFeature = std::dynamic_pointer_cast(aFeature); - if (aSPFeature) { + if (aSPFeature && (!aSPFeature->isExternal())) { myModule->editFeature(aSPFeature); } } -- 2.39.2