]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #3236: Generalization of extrusion
authorArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Thu, 30 Jul 2020 14:58:13 +0000 (17:58 +0300)
committerArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Thu, 30 Jul 2020 14:58:13 +0000 (17:58 +0300)
Allow construction points as a base for extrusion and revolution.

src/ConstructionPlugin/ConstructionPlugin_Point.cpp

index 9b1744d325f2f3c66fc1c06994a6cadd938772b9..30802732baecc15032ece662210a0116d3e0e5e1 100644 (file)
@@ -143,7 +143,7 @@ void ConstructionPlugin_Point::execute()
 
   removeResults(1); // for case the point type was switched from multi-results type
   std::shared_ptr<ModelAPI_ResultConstruction> aConstr = document()->createConstruction(data());
-  aConstr->setInfinite(true);
+  aConstr->setInfinite(false);
   aConstr->setShape(aShape);
   setResult(aConstr);
 }