From: eap Date: Tue, 20 Dec 2016 13:31:05 +0000 (+0300) Subject: Regression of test_enforced_vertex.py X-Git-Tag: V8_3_0a1^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=eadf02ab78f7d138316adec98493bbf9a6831037;p=plugins%2Fblsurfplugin.git Regression of test_enforced_vertex.py --- diff --git a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx index 71c5b07..49e399e 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx @@ -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 {