1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +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

@@ -0,0 +1,17 @@
puts "============"
puts "CR28204"
puts "==========="
puts ""
###############################################################################
# TopoTools_ShapeSet::Dump() does not show flag Locked
###############################################################################
vertex v 0 0 0
setflags v locked
set info [dump v]
if { [regexp {Locked} ${info}] == 1 } {
puts "OK: Dump show flag Locked"
} else {
puts "Error: Dump does not show flag Locked"
}