From 0b6cb5c75a3cda67d510232da7ef7c43f65b64a4 Mon Sep 17 00:00:00 2001 From: nds Date: Wed, 7 Sep 2016 15:11:49 +0300 Subject: [PATCH] #1721 Selecting arcs in mirror constraint is too long and removes other edges Reason: Redisplay for not-modified AIS presentation is called, that led to selection lost. --- src/SketchPlugin/SketchPlugin_SketchEntity.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SketchPlugin/SketchPlugin_SketchEntity.h b/src/SketchPlugin/SketchPlugin_SketchEntity.h index 1fd0472f7..a29b09695 100644 --- a/src/SketchPlugin/SketchPlugin_SketchEntity.h +++ b/src/SketchPlugin/SketchPlugin_SketchEntity.h @@ -110,7 +110,7 @@ class SketchPlugin_SketchEntity : public SketchPlugin_Feature, public GeomAPI_IC std::vector aPrevColor; aPrevColor.resize(3); thePrs->getColor(aPrevColor[0], aPrevColor[1], aPrevColor[2]); - { + if (theResult.get()) { std::string aSection, aName, aDefault; theResult->colorConfigInfo(aSection, aName, aDefault); std::vector aColor; -- 2.39.2