From 100cf6e2ff7f032132beafc5d50e8838aea7aae3 Mon Sep 17 00:00:00 2001 From: gdd Date: Mon, 2 Jul 2012 13:36:07 +0000 Subject: [PATCH] Revert last commit: the correspondly changes were made in SMESH --- src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); } -- 2.39.2