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)
committerGérald NICOLAS <gerald.nicolas@edf.fr>
Tue, 2 May 2023 13:31:18 +0000 (15:31 +0200)
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);
         }