mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
OpenGl_Workspace::BufferDump() now implicitly converts RGBA dump into requested BGR, BGRA and RGB image. DRAW command dversion is improved to report OpenGL variant used (desktop or ES); reporting of version of MSVC is corrected for VC14 and above; reporting of HAVE_OPENCL option is removed. Usage of command vdump is corrected in some tests to specify extension .png for an image file. Compiler warning is eliminated in OpenGl_Text.cxx (OpenGL ES mode only).
24 lines
558 B
Plaintext
24 lines
558 B
Plaintext
puts "================================================================"
|
|
puts "CR26159"
|
|
puts "Visualization - revise tolerance implementation for selection."
|
|
puts "================================================================"
|
|
puts ""
|
|
|
|
pload VISUALIZATION MODELING
|
|
box b1 1 1 1 1 1 1
|
|
box b2 3 3 3 1 1 1
|
|
box b3 6 6 6 1 1 1
|
|
vdisplay b1 b2 b3
|
|
vfit
|
|
|
|
# activate vertex selection
|
|
vselmode b1 1 1
|
|
|
|
# check selection tolerance
|
|
vmoveto 58 324
|
|
checkcolor 58 324 0 1 1
|
|
|
|
# to print tolerance in case of failure:
|
|
puts [vselprops -print]
|
|
vdump $imagedir/${casename}.png
|