From: gdd Date: Mon, 2 Jul 2012 13:36:07 +0000 (+0000) Subject: Revert last commit: the correspondly changes were made in SMESH X-Git-Tag: V6_6_0a1~28 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=100cf6e2ff7f032132beafc5d50e8838aea7aae3;p=plugins%2Fblsurfplugin.git Revert last commit: the correspondly changes were made in SMESH --- diff --git a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx index 3250862..4743bba 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx @@ -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); }