From: mpv Date: Wed, 6 Apr 2016 14:39:13 +0000 (+0300) Subject: Fix for the delete of extrusion created on some sketch crash X-Git-Tag: V_2.3.0~286 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c9b4f4f7e22fffdc90c12927afeb26cc25ebd9cd;p=modules%2Fshaper.git Fix for the delete of extrusion created on some sketch crash --- diff --git a/src/Model/Model_Update.cpp b/src/Model/Model_Update.cpp index 6e9f446bb..d88c1fec3 100644 --- a/src/Model/Model_Update.cpp +++ b/src/Model/Model_Update.cpp @@ -60,6 +60,8 @@ Model_Update::Model_Update() } void Model_Update::addModified(FeaturePtr theFeature, FeaturePtr theReason) { + if (!theFeature->data()->isValid()) + return; // delete an extrusion created on the sketch if (!theFeature->isPreviewNeeded() && !myIsFinish) { myProcessOnFinish.insert(theFeature); #ifdef DEB_UPDATE