Salome HOME
Fix for the issue #2753 : error when dump/load script
[modules/shaper.git] / src / ConstructionPlugin / ConstructionPlugin_Point.cpp
index 688f2533302aee91a65c3caf96943348bd396819..51432b609b7f269b390759b8a7a0f934973793b3 100644 (file)
@@ -144,6 +144,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->setShape(aShape);
   setResult(aConstr);
 }