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:
17
tests/bugs/moddata_3/bug28204
Normal file
17
tests/bugs/moddata_3/bug28204
Normal 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"
|
||||
}
|
Reference in New Issue
Block a user