]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix bug with width of copy objects
authorvsv <vsv@opencascade.com>
Fri, 26 Jun 2020 12:54:37 +0000 (15:54 +0300)
committerArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Thu, 2 Jul 2020 11:30:52 +0000 (14:30 +0300)
src/PartSet/PartSet_SketcherMgr.cpp

index 48db9c3ae024c73bc499fee2059f5d1b118ed7b1..4aadcdd978db8a92d40eed95a105ced09b25065b 100644 (file)
@@ -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);
   }