From: eap Date: Fri, 23 Jan 2015 12:57:06 +0000 (+0300) Subject: 22830: EDF 9557 SMESH: Quadratic conversion of a mesh fails X-Git-Tag: V7_5_1rc2^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FV7_5_BR;p=plugins%2Fghs3dplugin.git 22830: EDF 9557 SMESH: Quadratic conversion of a mesh fails Fix a regression due to change of helper.GetNodeUV() behavior --- diff --git a/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx b/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx index 86d9fcd..a873a11 100644 --- a/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx +++ b/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx @@ -426,7 +426,7 @@ static int findShapeID(SMESH_Mesh& mesh, else nNotOnSeamEdge = nodes[(i+1)%3]; } - bool uvOK; + bool uvOK = true; gp_XY uv = helper.GetNodeUV( geomFace, nodes[i], nNotOnSeamEdge, &uvOK ); // check that uv is correct if (uvOK) {