mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-15 01:10:36 +05:00
0052956: Shape Statistics on Group of edges problem
This commit is contained in:
parent
9247817338
commit
f069900cfc
@ -311,9 +311,9 @@ void MeasureGUI_ShapeStatisticsDlg::updateTypes( QList<GEOM::GeomObjPtr> theShap
|
|||||||
if ( hasEdges != 0 )
|
if ( hasEdges != 0 )
|
||||||
hasEdges = aShOp->NumberOfSubShapes( aShapePtr.get(), TopAbs_EDGE ) > 0;
|
hasEdges = aShOp->NumberOfSubShapes( aShapePtr.get(), TopAbs_EDGE ) > 0;
|
||||||
if ( hasFaces != 0 )
|
if ( hasFaces != 0 )
|
||||||
hasEdges = aShOp->NumberOfSubShapes( aShapePtr.get(), TopAbs_FACE ) > 0;
|
hasFaces = aShOp->NumberOfSubShapes( aShapePtr.get(), TopAbs_FACE ) > 0;
|
||||||
if ( hasSolids != 0 )
|
if ( hasSolids != 0 )
|
||||||
hasEdges = aShOp->NumberOfSubShapes( aShapePtr.get(), TopAbs_SOLID ) > 0;
|
hasSolids = aShOp->NumberOfSubShapes( aShapePtr.get(), TopAbs_SOLID ) > 0;
|
||||||
}
|
}
|
||||||
fillTypes( hasEdges, hasFaces, hasSolids );
|
fillTypes( hasEdges, hasFaces, hasSolids );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user