]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
Regression of test_enforced_vertex.py V8_3_0a1
authoreap <eap@opencascade.com>
Tue, 20 Dec 2016 13:31:05 +0000 (16:31 +0300)
committereap <eap@opencascade.com>
Tue, 20 Dec 2016 13:31:05 +0000 (16:31 +0300)
src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx

index 71c5b07fb65fef98838e4bdce030ac5225da5b4a..49e399e969a459448cdddce2c1ee84b2365f5e32 100644 (file)
@@ -411,7 +411,7 @@ typedef struct {
 
 /////////////////////////////////////////////////////////
 
-projectionPoint getProjectionPoint(const TopoDS_Face& theFace, const gp_Pnt& thePoint)
+projectionPoint getProjectionPoint(TopoDS_Face& theFace, const gp_Pnt& thePoint)
 {
   projectionPoint myPoint;
 
@@ -470,6 +470,7 @@ projectionPoint getProjectionPoint(const TopoDS_Face& theFace, const gp_Pnt& the
     if ( foundFace.IsNull() )
       throw SMESH_ComputeError(COMPERR_BAD_PARMETERS,
                                "getProjectionPoint: can't find a face by a vertex");
+    theFace = TopoDS::Face( foundFace );
   }
   else
   {