From: oan Date: Mon, 19 Nov 2018 09:41:55 +0000 (+0300) Subject: 0025594: Valid shape is not visualize in shading mode. X-Git-Tag: V7_4_0_beta~298 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=e2fc86bbd9b3e66a922c1306f8fcad1e6bff30a5;p=occt-copy.git 0025594: Valid shape is not visualize in shading mode. Added test case. --- diff --git a/tests/bugs/mesh/bug25594 b/tests/bugs/mesh/bug25594 new file mode 100644 index 0000000000..4ca0a4037a --- /dev/null +++ b/tests/bugs/mesh/bug25594 @@ -0,0 +1,24 @@ +puts "=======" +puts "0025594: Valid shape is not visualize in shading mode." +puts "=======" +puts "" + +restore [locate_data_file bug25594_face1.brep] result +fixshape result result + +vinit +vdisplay result +vsetdispmode 1 +vfront +vfit + +set log [tricheck result] +if { [llength $log] != 0 } { + puts "Error : Invalid mesh" +} else { + puts "Mesh is OK" +} + +checktrinfo result -tri 374 -nod 224 + +checkview -screenshot -3d -path ${imagedir}/${test_image}.png