]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #555 - Make a number of shifted/rotated copies - selected object does not appea...
authornds <natalia.donis@opencascade.com>
Mon, 22 Jun 2015 12:13:48 +0000 (15:13 +0300)
committernds <natalia.donis@opencascade.com>
Mon, 22 Jun 2015 12:13:48 +0000 (15:13 +0300)
It provides an infinite state for plane/axis shapes.

src/ConstructionPlugin/ConstructionPlugin_Plane.cpp

index f5735151a29cab112b01ea15d6ceececd3eaa411..549773ab7a2902a3b041d02770e09f5fc0697bbc 100644 (file)
@@ -153,7 +153,7 @@ std::shared_ptr<GeomAPI_Shape> ConstructionPlugin_Plane::createPlaneByGeneralEqu
     std::string kDefaultPlaneSize = "200";
     double aSize = Config_PropManager::integer("Sketch planes", "planes_size", kDefaultPlaneSize);
     aSize *= 4.;
-    aPlaneFace = GeomAlgoAPI_FaceBuilder::square(aPlane, aSize);
+    aPlaneFace = GeomAlgoAPI_FaceBuilder::square(aPlane, aSize, true);
   }
   return aPlaneFace;
 }