1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
occt/tests/v3d/ivtk/bug26978
kgv 2546fd477f 0026978: VIS - Interactive selection is insensitive to swept shell
IVtkOCC_SelectableObject::BoundingBox(), AIS_Shape::BoundingBox() now don't use
BRepBndLib::AddClose() on arbitrary shapes.
2019-08-16 12:16:40 +03:00

23 lines
522 B
Plaintext

puts "========"
puts "0026978: VIS - Interactive selection is insensitive to swept shell"
puts "========"
puts ""
restore [locate_data_file bug26978_evol3.brep] s
ivtkinit
ivtkdisplay s
ivtksetdispmode s 1
set anImg1 ${imagedir}/${test_image}_1.png
set anImg2 ${imagedir}/${test_image}_2.png
set anImgDiff ${imagedir}/${test_image}_diff.png
ivtkselect 75 200
ivtkdump ${anImg1}
ivtkselect 150 150
ivtkdump ${anImg2}
if { [diffimage ${anImg2} ${anImg1} 0.0 0 0 ${anImgDiff}] != 0 } { puts "Error: selection failed" }