mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-18 08:50:33 +05:00
Fix a bug reported to SALOME Forum http://www.salome-platform.org/forum/forum_10/372035859
- 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() )
This commit is contained in:
parent
f95be2abe0
commit
4df44f5a1e
@ -694,7 +694,7 @@ namespace
|
|||||||
while ( eIt->more())
|
while ( eIt->more())
|
||||||
{
|
{
|
||||||
const TopoDS_Edge* e = static_cast<const TopoDS_Edge*>( eIt->next() );
|
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 );
|
edges.push_back( *e );
|
||||||
}
|
}
|
||||||
gp_XYZ dir(0,0,0);
|
gp_XYZ dir(0,0,0);
|
||||||
|
Loading…
Reference in New Issue
Block a user