]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
fixed problem, where wrong point was stored in hdf
authormbs <martin.bernhard@opencascade.com>
Fri, 21 Apr 2023 10:51:58 +0000 (11:51 +0100)
committermbs <martin.bernhard@opencascade.com>
Fri, 21 Apr 2023 10:51:58 +0000 (11:51 +0100)
src/ConstructionPlugin/ConstructionPlugin_Point.cpp

index 90afa702e1110937e7d0e33950095661d28f4ac0..f6d49d372ab63b793f9eb7cab90388e2ea896b00 100644 (file)
@@ -121,6 +121,7 @@ void ConstructionPlugin_Point::execute()
         for (; aPIter != aPoints.end(); aPIter++, anIndex++) {
           std::shared_ptr<ModelAPI_ResultConstruction> aConstr =
             document()->createConstruction(data(), anIndex);
+          aConstr->setInfinite(true);
           aConstr->setShape(*aPIter);
           setResult(aConstr, anIndex);
         }