]> 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)
committervsv <vsv@opencascade.com>
Fri, 26 Jun 2020 12:54:37 +0000 (15:54 +0300)
src/PartSet/PartSet_SketcherMgr.cpp

index cebeec5860286f479e302ac951776fa0a5d9d6bb..1a3f78e58fba2174ce701e90472440939ee7a4c8 100644 (file)
@@ -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);
   }