Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f95be2a
)
Fix a bug reported to SALOME Forum http://www.salome-platform.org/forum/forum_10...
author
eap
<eap@opencascade.com>
Thu, 13 Oct 2011 13:08:51 +0000
(13:08 +0000)
committer
eap
<eap@opencascade.com>
Thu, 13 Oct 2011 13:08:51 +0000
(13:08 +0000)
- if ( helper.IsSubShape( *e, F ) && BRep_Tool::Curve( *e, loc,f,l))
+ if ( helper.IsSubShape( *e, F ) && !BRep_Tool::Curve( *e, loc,f,l).IsNull() )
src/StdMeshers/StdMeshers_ViscousLayers.cxx
patch
|
blob
|
history
diff --git
a/src/StdMeshers/StdMeshers_ViscousLayers.cxx
b/src/StdMeshers/StdMeshers_ViscousLayers.cxx
index e164282c6c0dd7b27d77feea80eb52c062eccdb8..912815839ed30849fe91ffc7359330af4a0450cc 100644
(file)
--- a/
src/StdMeshers/StdMeshers_ViscousLayers.cxx
+++ b/
src/StdMeshers/StdMeshers_ViscousLayers.cxx
@@
-694,7
+694,7
@@
namespace
while ( eIt->more())
{
const TopoDS_Edge* e = static_cast<const TopoDS_Edge*>( eIt->next() );
- if ( helper.IsSubShape( *e, F ) &&
BRep_Tool::Curve( *e, loc,f,l)
)
+ if ( helper.IsSubShape( *e, F ) &&
!BRep_Tool::Curve( *e, loc,f,l).IsNull()
)
edges.push_back( *e );
}
gp_XYZ dir(0,0,0);