mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
"vfit" takes into account erased objects Visual3d_View::MinMaxValues() corrected to ignore hidden Graphic3d_Structure instances, unused Graphic3d_StructureManager::MinMaxValues() removed. Correction of test-case
25 lines
537 B
Plaintext
25 lines
537 B
Plaintext
puts "============"
|
|
puts "OCC24610"
|
|
puts "============"
|
|
puts ""
|
|
#######################################################################
|
|
# Erased AIS object should not be taken into account by FitAll operation
|
|
#######################################################################
|
|
|
|
pload VISUALIZATION
|
|
vinit
|
|
box b1 200 200 200
|
|
vdisplay b1
|
|
vfit
|
|
box b2 2 2 2
|
|
vdisplay b2
|
|
set color_1 [vreadpixel 32 305]
|
|
verase b1
|
|
vfit
|
|
set color_2 [vreadpixel 32 305]
|
|
if {$color_1 == $color_2} {
|
|
puts "ERROR: OCC24610 is reproduced"
|
|
}
|
|
|
|
set only_screen 1
|