mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +03:00
0023525: Disappearing of highlight in screenshot
OpenGl immediate mode - get rid from GL display lists Visual3d_TransientManager, Graphic3d_GraphicDriver: removed outdated unused methods to draw primitives in immediate mode. New Draw Harness command to swith rendering mode in immediate mode. When set to false scene will be always redrawn in back buffer. V3d_View::ToPixMap - temporarily switch immediate mode to draw into back buffer Make happy immediate mode dump on OpenGL without FBO (like ms software implementation). OpenGl_Workspace::RedrawImmediatMode - invalidate back buffer when immediate mode drawn into it Added more detailed description for Graphic3d_GraphicDriver::SetImmediateModeDrawToFront method Adding of test case
This commit is contained in:
28
tests/bugs/vis/bug23525
Executable file
28
tests/bugs/vis/bug23525
Executable file
@@ -0,0 +1,28 @@
|
||||
puts "======="
|
||||
puts "CR23525"
|
||||
puts "======="
|
||||
puts ""
|
||||
|
||||
########################################
|
||||
## Disappearing of highlight in screenshot
|
||||
########################################
|
||||
|
||||
vinit
|
||||
vclear
|
||||
box t_box 100 100 100
|
||||
vdisplay t_box
|
||||
vfit
|
||||
|
||||
set x_coord 110
|
||||
set y_coord 352
|
||||
|
||||
vmoveto 0 0
|
||||
|
||||
# EDGE ON
|
||||
vselmode 2 1
|
||||
|
||||
vmoveto $x_coord $y_coord
|
||||
|
||||
checkcolor $x_coord $y_coord 0 1 1
|
||||
|
||||
set only_screen 1
|
Reference in New Issue
Block a user