From: nds Date: Wed, 7 Sep 2016 12:11:49 +0000 (+0300) Subject: #1721 Selecting arcs in mirror constraint is too long and removes other edges X-Git-Tag: V_2.5.0~24 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0b6cb5c75a3cda67d510232da7ef7c43f65b64a4;p=modules%2Fshaper.git #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. --- 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;