projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0026978: VIS - Interactive selection is insensitive to swept shell
[occt.git]
/
tests
/
v3d
/
ivtk
/
bug26978
diff --git
a/tests/v3d/ivtk/bug26978
b/tests/v3d/ivtk/bug26978
index
5788bef
..
bfcb36c
100644
(file)
--- a/
tests/v3d/ivtk/bug26978
+++ b/
tests/v3d/ivtk/bug26978
@@
-1,10
+1,7
@@
puts "========"
puts "========"
-puts "
OCC26978
"
+puts "
0026978: VIS - Interactive selection is insensitive to swept shell
"
puts "========"
puts ""
puts "========"
puts ""
-######################################################
-# Interactive selection is insensitive to swept shell
-#######################################################
restore [locate_data_file bug26978_evol3.brep] s
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 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}
ivtkdump ${anImg1}
-set x 150
-set y 150
-ivtkselect $x $y
+ivtkselect 150 150
ivtkdump ${anImg2}
ivtkdump ${anImg2}
-
diffimage ${anImg2} ${anImg1} 0.0 0 0 ${anImgDiff
}
+
if { [diffimage ${anImg2} ${anImg1} 0.0 0 0 ${anImgDiff}] != 0 } { puts "Error: selection failed"
}