0025886: Wrong result obtained by projection algorithm
[occt.git] / tests / de / end
index 1c96dcd..c36d6ec 100644 (file)
@@ -42,7 +42,7 @@ set chwi_Second 0; set chfa_Second 0; set chsh_Second 0; set chso_Second 0
 set ref_Compare 0
 set todo_msg ""
 set todo_mask "puts \"TODO CR23096 ALL: "
-set Mandriva_todo_mask "puts \"TODO CR23096 Mandriva2010:"
+set Mandriva_todo_mask "puts \"TODO CR23096 ALL:"
 set end_line "\" \n"
 ##################################################################
 
@@ -154,7 +154,7 @@ if { $mist < 1} {
     # Get shape for standard analysis
     puts ""
     if { [catch { XGetOneShape res_1 D_First } catch_result] } {
-               set err_msg ""Error : First - cannot get shape from document - exception"
+               set err_msg "Error : First - cannot get shape from document - exception"
        puts $err_msg
        append todo_msg $todo_mask $err_msg $end_line
                set mist 1
@@ -697,12 +697,16 @@ puts ""
 clear
 smallview
 if { $mist < 1 } {
-    if { [info exists res_2] && [isdraw res_2] } {
-       donly res_2
-    }
+  if { [info exists res_2] && [isdraw res_2] } {
+    donly res_2
+    isos res_2 0
+       fit
+       isos res_2 2
+  }
+} else {
+    fit
 }
-fit
-xwd $imagedir/${test_image}.gif
+xwd $imagedir/${test_image}.png
 if { $mist < 1 } {
    if { [catch { Close D_Second } catch_result] } {
       puts "Error : cannot close a document D_Second"