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).
47 lines
1013 B
Plaintext
47 lines
1013 B
Plaintext
puts "============"
|
|
puts "CR26430"
|
|
puts "============"
|
|
puts ""
|
|
|
|
##########################################################################################
|
|
puts "Visualization - segmentation fault in opened local context"
|
|
##########################################################################################
|
|
|
|
pload MODELING VISUALIZATION
|
|
|
|
restore [locate_data_file bug26430.brep] aShape
|
|
|
|
vinit View1
|
|
vdisplay aShape
|
|
vfit
|
|
vsetdispmode aShape 1
|
|
|
|
vselmode aShape 1 1
|
|
vselmode aShape 2 1
|
|
vselmode aShape 3 1
|
|
vselmode aShape 4 1
|
|
vselmode aShape 5 1
|
|
|
|
# check selection for all problematic cases
|
|
vselect 125 155
|
|
set aNbSelected [vnbselected]
|
|
if {$aNbSelected != 1} {
|
|
puts "ERROR: Vertex was not selected!"
|
|
}
|
|
|
|
vselect 0 0
|
|
vselect 121 155 130 160
|
|
set aNbSelected [vnbselected]
|
|
if {$aNbSelected != 1} {
|
|
puts "ERROR: Vertex was not selected!"
|
|
}
|
|
|
|
vselect 0 0
|
|
vselect 100 100 200 200
|
|
set aNbSelected [vnbselected]
|
|
if {$aNbSelected != 14} {
|
|
puts "ERROR: Vertex was not selected!"
|
|
}
|
|
|
|
vdump ${imagedir}/${casename}.png
|