From 1aa79c9c0d219182043b24afc6bb1683a515fac8 Mon Sep 17 00:00:00 2001 From: azv Date: Tue, 30 Jul 2019 11:25:23 +0300 Subject: [PATCH] =?utf8?q?Issue=20#2961:=20=D0=A1rash=20when=20Change=20sk?= =?utf8?q?etch=20plane?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/SketcherPrs/SketcherPrs_Equal.cpp | 2 ++ 1 file changed, 2 insertions(+) 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()); -- 2.39.2