mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +03:00
0026978: VIS - Interactive selection is insensitive to swept shell
IVtkOCC_SelectableObject::BoundingBox(), AIS_Shape::BoundingBox() now don't use BRepBndLib::AddClose() on arbitrary shapes.
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
puts "========"
|
||||
puts "OCC26978"
|
||||
puts "0026978: VIS - Interactive selection is insensitive to swept shell"
|
||||
puts "========"
|
||||
puts ""
|
||||
######################################################
|
||||
# Interactive selection is insensitive to swept shell
|
||||
#######################################################
|
||||
|
||||
restore [locate_data_file bug26978_evol3.brep] s
|
||||
|
||||
@@ -16,14 +13,10 @@ set anImg1 ${imagedir}/${test_image}_1.png
|
||||
set anImg2 ${imagedir}/${test_image}_2.png
|
||||
set anImgDiff ${imagedir}/${test_image}_diff.png
|
||||
|
||||
set x 75
|
||||
set y 200
|
||||
ivtkselect $x $y
|
||||
ivtkselect 75 200
|
||||
ivtkdump ${anImg1}
|
||||
|
||||
set x 150
|
||||
set y 150
|
||||
ivtkselect $x $y
|
||||
ivtkselect 150 150
|
||||
ivtkdump ${anImg2}
|
||||
|
||||
diffimage ${anImg2} ${anImg1} 0.0 0 0 ${anImgDiff}
|
||||
if { [diffimage ${anImg2} ${anImg1} 0.0 0 0 ${anImgDiff}] != 0 } { puts "Error: selection failed" }
|
||||
|
Reference in New Issue
Block a user