Salome HOME
22358: EDF SMESH: Body Fitting algorithm: origin point of grid defined by spacing
[modules/smesh.git] / src / StdMeshers_I / StdMeshers_CartesianParameters3D_i.cxx
index 5b383a0f55634ed0581907f1bb82c28060f12fdd..5cdeae0c16036c48e902b1fea14f0b906cfce1c5 100644 (file)
@@ -290,10 +290,7 @@ void StdMeshers_CartesianParameters3D_i::SetFixedPoint(const SMESH::PointStruct&
   double p[3] = { ps.x, ps.y, ps.z };
   GetImpl()->SetFixedPoint( p, toUnset );
 
-  if ( toUnset )
-    SMESH::TPythonDump() << _this() << ".SetFixedPoint([0,0,0], True)";
-  else
-    SMESH::TPythonDump() << _this() << ".SetFixedPoint(" << p << ", " << toUnset << " )";
+  SMESH::TPythonDump() << _this() << ".SetFixedPoint( " << ps << ", " << toUnset << " )";
 }
 
 //=======================================================================