From 51f9a2d4ddb07cb536d1bfef694995b81e4079af Mon Sep 17 00:00:00 2001 From: nds Date: Fri, 26 Feb 2016 21:20:12 +0300 Subject: [PATCH] crash fix: mirror (line, axis of sketch), select with rectangle, delete --- src/SketcherPrs/SketcherPrs_Mirror.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/SketcherPrs/SketcherPrs_Mirror.cpp b/src/SketcherPrs/SketcherPrs_Mirror.cpp index 499cfc7a2..7218e9ead 100644 --- a/src/SketcherPrs/SketcherPrs_Mirror.cpp +++ b/src/SketcherPrs/SketcherPrs_Mirror.cpp @@ -81,6 +81,8 @@ bool SketcherPrs_Mirror::updatePoints(double theStep) const // get position for each source object for (i = 0; i < aNb; i++) { aObj = anAttrB->object(i); + if (SketcherPrs_Tools::getShape(aObj).get() == NULL) + continue; aP1 = aMgr->getPosition(aObj, this, theStep); myPntArray->SetVertice(i + 1, aP1); } -- 2.39.2