Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[MANTA] r858 - trunk/StandAlone


Chronological Thread 
  • From: abe@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [MANTA] r858 - trunk/StandAlone
  • Date: Sat, 21 Jan 2006 18:09:22 -0700 (MST)

Author: abe
Date: Sat Jan 21 18:09:21 2006
New Revision: 858

Modified:
   trunk/StandAlone/manta_path_plot.pl
Log:

Small fixes to the benchmark script.

M    StandAlone/manta_path_plot.pl


Modified: trunk/StandAlone/manta_path_plot.pl
==============================================================================
--- trunk/StandAlone/manta_path_plot.pl (original)
+++ trunk/StandAlone/manta_path_plot.pl Sat Jan 21 18:09:21 2006
@@ -158,7 +158,12 @@
                 $keep = 0;
             }
             elsif ($plot_args[$i] eq "-subtitle") {
-                $subtitle = $plot_args[++$i];
+                ++$i;
+                my @strs;
+                while (($i < @plot_args) && !($plot_args[$i] =~ /^-/)) {
+                    push(@strs,$plot_args[$i++]);
+                }
+                $subtitle = join(" ",@strs);
             }
         }
     }
@@ -408,7 +413,7 @@
   }
 }
 
-print "manta_path_plot.pl Completed successfully in " . 
((time()-$start_time)/60)  ." seconds.\n\n";
+print "manta_path_plot.pl Completed successfully in " . 
((time()-$start_time)/60)  ." minutes.\n\n";
 
 
 




  • [MANTA] r858 - trunk/StandAlone, abe, 01/21/2006

Archive powered by MHonArc 2.6.16.

Top of page