From: vsv Date: Fri, 26 Jun 2020 12:54:37 +0000 (+0300) Subject: Fix bug with width of copy objects X-Git-Tag: V9_6_0a1~60^2~35 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=db14375dd7a1d00c77e83064210643c0a19f92e4;p=modules%2Fshaper.git Fix bug with width of copy objects --- diff --git a/src/PartSet/PartSet_SketcherMgr.cpp b/src/PartSet/PartSet_SketcherMgr.cpp index cebeec586..1a3f78e58 100644 --- a/src/PartSet/PartSet_SketcherMgr.cpp +++ b/src/PartSet/PartSet_SketcherMgr.cpp @@ -2364,7 +2364,7 @@ void PartSet_SketcherMgr::customizeSketchPresentation(const ObjectPtr& theObject thePrs->setWidth(17); // thePrs->setPointMarker(1, 1.); // Set point as a '+' symbol } - if (isCopy(aFeature) && !isIncludeToResult(aFeature)) { + if (isCopy(aFeature) || !isIncludeToResult(aFeature)) { double aWidth = thePrs->width(); thePrs->setWidth(aWidth / 2.5); }