From: nds Date: Tue, 1 Mar 2016 07:32:36 +0000 (+0300) Subject: #1348 Fatal error when edit sketch X-Git-Tag: V_2.2.0~37 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d1b8107b6a0d5f4c8a230a261d0da6afe860ed82;p=modules%2Fshaper.git #1348 Fatal error when edit sketch --- diff --git a/src/SketcherPrs/SketcherPrs_Mirror.cpp b/src/SketcherPrs/SketcherPrs_Mirror.cpp index 7218e9ead..a1fea6f4d 100644 --- a/src/SketcherPrs/SketcherPrs_Mirror.cpp +++ b/src/SketcherPrs/SketcherPrs_Mirror.cpp @@ -89,6 +89,8 @@ bool SketcherPrs_Mirror::updatePoints(double theStep) const // Get position of each mirrored object for (i = 0; i < aNb; i++) { aObj = anAttrC->object(i); + if (SketcherPrs_Tools::getShape(aObj).get() == NULL) + continue; aP1 = aMgr->getPosition(aObj, this, theStep); myPntArray->SetVertice(aNb + i + 1, aP1); }