1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/bugs/vis/bug28061
vpa 424392e0d8 0028061: Samples - Highlighting of any object with "Hidden On" option leads to crash in mfc Modeling
Graphic3d_Structure::Highlight() does not call UnHighlight() anymore.
2016-11-17 14:54:24 +03:00

20 lines
387 B
Plaintext

puts "==========="
puts "OCC28061 - Highlighting of any object with HLR option leads to crash"
puts "==========="
puts ""
pload MODELING VISUALIZATION
box b 1 2 3
vclear
vinit View1
vdisplay -dispMode 0 b
vsetwidth -noupdate b 4
vfit
vhlr on
vmoveto 250 250
if { [vreadpixel 321 150 rgb name] != "CYAN1" } { puts "Error: the box is not highlighted" }
vdump $imagedir/${casename}.png