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~71 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=55fa1a5646d4ec2483b3645efa07eff3fc2245cb;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 48db9c3ae..4aadcdd97 100644 --- a/src/PartSet/PartSet_SketcherMgr.cpp +++ b/src/PartSet/PartSet_SketcherMgr.cpp @@ -2361,7 +2361,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 aPrsWidth = thePrs->width(); thePrs->setWidth(aPrsWidth / 2.5); }