Salome HOME
projects
/
plugins
/
blsurfplugin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d52a70
)
Regression of test_enforced_vertex.py
V8_3_0a1
author
eap
<eap@opencascade.com>
Tue, 20 Dec 2016 13:31:05 +0000
(16:31 +0300)
committer
eap
<eap@opencascade.com>
Tue, 20 Dec 2016 13:31:05 +0000
(16:31 +0300)
src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx
patch
|
blob
|
history
diff --git
a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx
b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx
index 71c5b07fb65fef98838e4bdce030ac5225da5b4a..49e399e969a459448cdddce2c1ee84b2365f5e32 100644
(file)
--- 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
{