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

src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx

index 87825262634e7ed821df692c4fef48998df36889..daf8589ffad155024549eb6ac86a82295d32e37f 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) {