1
0
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:
ski
2016-12-22 12:40:55 +03:00
committed by apn
parent 4b3d6eb1d2
commit 1ef277c369
3 changed files with 23 additions and 26 deletions

View File

@@ -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