From 9d09a1263e39413d92dc982a54f42378ccba6152 Mon Sep 17 00:00:00 2001 From: nbv Date: Wed, 7 Nov 2018 16:15:46 +0300 Subject: [PATCH] 0029751: Incremental mesh produces different meshes for windows and linux (debian 8) Adding test case for the problem. The issue has been fixed by a patch for #26106. --- tests/bugs/mesh/bug29751 | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 tests/bugs/mesh/bug29751 diff --git a/tests/bugs/mesh/bug29751 b/tests/bugs/mesh/bug29751 new file mode 100644 index 0000000000..f8e2594b86 --- /dev/null +++ b/tests/bugs/mesh/bug29751 @@ -0,0 +1,29 @@ +puts "=======" +puts "0029751: Incremental mesh produces different meshes for windows and linux (debian 8)" +puts "=======" +puts "" + +psphere sp 10 +pcylinder b1 2 10 +ttranslate b1 0 0 -10 +bcut result sp b1 +trotate result 0 0 0 1 0 0 45 +incmesh result 0.1 + +vinit +vdefaults -autoTriang 0 +vdisplay result +vsetinteriorstyle 1 +vsetdispmode 1 +vfit + +set log [tricheck result] +if { [llength $log] != 0 } { + puts "Error : Invalid mesh" +} else { + puts "Mesh is OK" +} + +checktrinfo result -tri 1013 -nod 578 -defl 0.1 + +checkview -screenshot -3d -path ${imagedir}/${test_image}.png