mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
A new command vbackground is created. Old background commands are made aliases for the newly created command (including vsetdefaultbg). Tests are modified using newly added command vbackground.
12 lines
311 B
Plaintext
Executable File
12 lines
311 B
Plaintext
Executable File
puts "================"
|
|
puts "0001188: Impossible to set background image for V3d_View"
|
|
puts "================"
|
|
puts ""
|
|
|
|
vinit View1
|
|
|
|
vbackground -image [locate_data_file OCC1188.gif]
|
|
if { [vreadpixel 200 200 rgb name] != "WHITE" } { puts "Error: image background is not set" }
|
|
|
|
vdump $imagedir/${casename}.png
|