From: azv Date: Tue, 30 Jul 2019 08:25:23 +0000 (+0300) Subject: Issue #2961: Сrash when Change sketch plane X-Git-Tag: VEDF2019Lot4~76 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1aa79c9c0d219182043b24afc6bb1683a515fac8;p=modules%2Fshaper.git Issue #2961: Сrash when Change sketch plane --- diff --git a/src/SketcherPrs/SketcherPrs_Equal.cpp b/src/SketcherPrs/SketcherPrs_Equal.cpp index 72a07d071..bc6d207a5 100644 --- a/src/SketcherPrs/SketcherPrs_Equal.cpp +++ b/src/SketcherPrs/SketcherPrs_Equal.cpp @@ -57,6 +57,8 @@ bool SketcherPrs_Equal::updateIfReadyToDisplay(double theStep, bool withColor) c { if (!IsReadyToDisplay(myConstraint, plane())) return false; + if (!plane()) + return false; ObjectPtr aObj1 = SketcherPrs_Tools::getResult(myConstraint, SketchPlugin_Constraint::ENTITY_A());