mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
23 lines
583 B
Plaintext
23 lines
583 B
Plaintext
puts "=================="
|
|
puts "0028988: Visualization - AIS_InteractiveContext::SetLocation() does not reset location properly"
|
|
puts "=================="
|
|
puts ""
|
|
|
|
pload MODELING VISUALIZATION
|
|
|
|
box b 1 2 3
|
|
vclear
|
|
vinit View1
|
|
vaxo
|
|
vdisplay -dispMode 1 -highMode 1 b
|
|
vfit
|
|
vmoveto 110 110
|
|
if { "[vreadpixel 110 110 rgb name]" != "CYAN2" } { puts "Error: shape is not selected!" }
|
|
|
|
vlocation b -translate 1 0 0
|
|
vmoveto 110 110
|
|
vlocation b -reset
|
|
vmoveto 110 110
|
|
vreadpixel 110 110 rgb name
|
|
if { "[vreadpixel 110 110 rgb name]" != "CYAN2" } { puts "Error: reset shape is not selected!" }
|