]> SALOME platform Git repositories - plugins/ghs3dplugin.git/commitdiff
Salome HOME
22830: EDF 9557 SMESH: Quadratic conversion of a mesh fails V7_5_BR V7_5_1 V7_5_1rc2 V7_5_1rc3
authoreap <eap@opencascade.com>
Fri, 23 Jan 2015 12:57:06 +0000 (15:57 +0300)
committervsr <vsr@opencascade.com>
Fri, 23 Jan 2015 13:07:31 +0000 (16:07 +0300)
      Fix a regression due to change of helper.GetNodeUV() behavior

src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx

index 86d9fcdbf6d2fef2a16a7d3a716a78e2d1df4a40..a873a110945a9316b94b7fcac66dcaba079eddfd 100644 (file)
@@ -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) {