mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-07-20 12:45:50 +03:00
If specific layer setting is not enabled, default value extracted from current OpenGl state will be used. Default value fix. Updated test case bugs/vis/bug24867 Linux warning fixed.
36 lines
810 B
Plaintext
36 lines
810 B
Plaintext
puts "============"
|
|
puts "OCC24867"
|
|
puts "============"
|
|
puts ""
|
|
#############################################################
|
|
# [Regression] Visualization - polygon offsets look broken
|
|
#############################################################
|
|
|
|
restore [locate_data_file Top.brep] b
|
|
vinit View1
|
|
vdisplay b
|
|
vfit
|
|
vsetdispmode 1
|
|
vmoveto 200 200
|
|
|
|
set x1_coord 264
|
|
set y1_coord 288
|
|
set x2_coord 251
|
|
set y2_coord 271
|
|
|
|
checkcolor $x1_coord $y1_coord 0 1 1
|
|
if { $stat != 1 } {
|
|
puts "Error : Highlighting of dimension with flipping in local context failed."
|
|
}
|
|
|
|
checkcolor $x2_coord $y2_coord 0 1 1
|
|
if { $stat != 1 } {
|
|
puts "Error : Highlighting of dimension with flipping in local context failed."
|
|
}
|
|
|
|
vdump $::imagedir/${::casename}_highlighted.png
|
|
|
|
vselect 200 200
|
|
vdump $::imagedir/${::casename}_selected.png
|
|
|