mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0028204: TopoTools_ShapeSet::Dump() does not show flag Locked
Corrected command dump to show flag Locked for shapes in DRAW. Test case for issue CR28204 Updated test case.
This commit is contained in:
@@ -380,7 +380,7 @@ void TopTools_ShapeSet::Dump(Standard_OStream& OS)const
|
||||
OS << "\nDump of " << nbShapes << " TShapes";
|
||||
OS << "\n\n-----------------\n\n";
|
||||
|
||||
OS << "Flags : Free, Modified, Checked, Orientable, Closed, Infinite, Convex";
|
||||
OS << "Flags : Free, Modified, Checked, Orientable, Closed, Infinite, Convex, Locked";
|
||||
OS << "\n\n";
|
||||
|
||||
for (i = nbShapes; i >= 1; i--) {
|
||||
@@ -399,6 +399,7 @@ void TopTools_ShapeSet::Dump(Standard_OStream& OS)const
|
||||
OS << (S.Closed() ? 1 : 0);
|
||||
OS << (S.Infinite() ? 1 : 0);
|
||||
OS << (S.Convex() ? 1 : 0);
|
||||
OS << (S.Locked() ? 1 : 0);
|
||||
OS << " " << (void*) &(*S.TShape()) <<"\n";
|
||||
|
||||
// sub-shapes
|
||||
|
Reference in New Issue
Block a user