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/bug31965
kgv 4268c64672 0031965: Visualization - AIS_InteractiveContext::HilightWithColor() ignores passed highlight style
AIS_InteractiveContext::highlightGlobal() now passed through Style argument to highlightOwners().
Added OCC31965 command for testing AIS_InteractiveContext::Hilight() behavior.
2020-12-03 18:46:25 +03:00

15 lines
416 B
Plaintext

puts "============"
puts "0031965: Visualization - AIS_InteractiveContext::HilightWithColor() ignores passed highlight style"
puts "============"
puts ""
pload MODELING VISUALIZATION QAcommands
box b 1 2 3
vdisplay -dispMode 1 b
vfit
vselprops dynHighlight -dispMode 1 -color RED
OCC31965 b
if { [vreadpixel 200 200 -rgb -name] != "RED2" } { puts "Error: wrong highlight color" }
vdump ${imagedir}/${casename}.png