Salome HOME
Revert last commit: the correspondly changes were made in SMESH
authorgdd <gdd>
Mon, 2 Jul 2012 13:36:07 +0000 (13:36 +0000)
committergdd <gdd>
Mon, 2 Jul 2012 13:36:07 +0000 (13:36 +0000)
src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx

index 325086255d5baf6d508b82876ab217540e219a2f..4743bbaef821c90bed7a808c48ed4aaa9bc345e8 100644 (file)
@@ -1492,8 +1492,7 @@ bool BLSURFPlugin_BLSURF::Compute(SMESH_Mesh& aMesh, const TopoDS_Shape& aShape)
           double t                = nData.param;
           real uv[2]              = { nData.u, nData.v };
           SMESH_TNodeXYZ nXYZ( nData.node );
-          real xyz[3]             = { nXYZ.X(), nXYZ.Y(), nXYZ.Z() };
-          dcad_edge_discretization_set_vertex_coordinates( dedge, iN+1, t, uv, xyz );
+          dcad_edge_discretization_set_vertex_coordinates( dedge, iN+1, t, uv, nXYZ._xyz );
         }
         dcad_edge_discretization_set_property(dedge, DISTENE_DCAD_PROPERTY_REQUIRED);
       }