1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/v3d/bugs/bug_gh421
Pasukhin Dmitry c0c9f04c04
Visualization - AIS_Shape bounding box re-computation is not working properly #422
Fixed issue with bounding box cleaning algorithm that was causing the bounding box to be only increased.
Now the bounding box is increased and decreased to fit the shape.
2025-03-09 00:07:17 +00:00

21 lines
321 B
Plaintext

puts "============"
puts "Visualization - Bounding box is not decreasing for mode 2 #421"
puts "============"
puts ""
pload MODELING VISUALIZATION
vclear
box b 100 200 300
vinit View1
vdisplay b -dispMode 2
# OK
box b 10 200 300
vdisplay b -dispMode 2
vfit
checkcolor 243 2 0 0 0
vdump $::imagedir/${::casename}.png