Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] r2398 - in trunk: . StandAlone SwigInterface include scenes/csafe/python


Chronological Thread 
  • From:
  • To:
  • Subject: [Manta] r2398 - in trunk: . StandAlone SwigInterface include scenes/csafe/python
  • Date: Wed, 8 Apr 2009 13:59:53 -0600 (MDT)

Author: dav
Date: Wed Apr  8 13:59:51 2009
New Revision: 2398

Modified:
   trunk/LICENSE
   trunk/StandAlone/manta.cc
   trunk/SwigInterface/wxManta.py
   trunk/include/About.cc.CMakeTemplate
   trunk/scenes/csafe/python/Histogram.py
Log:
Updated some of the files to have (c) 2009... note, I tried to figure
out which one that "manta --help" uses, but couldn't find it.  There
are at least 3 different files that appear to have the license as a
string, but updating all of these did not have the desired
effect... :(

M    LICENSE
M    SwigInterface/wxManta.py

- Updated (c) to 2009

M    include/About.cc.CMakeTemplate

- Updated (c) to 2009
- Cosmetic whitespace.

M    StandAlone/manta.cc

- --help (and -help, --h, -h ) now print usage and quit.

M    scenes/csafe/python/Histogram.py

- Removed spamming debug print.



Modified: trunk/LICENSE
==============================================================================
--- trunk/LICENSE       (original)
+++ trunk/LICENSE       Wed Apr  8 13:59:51 2009
@@ -2,7 +2,7 @@
 
   The MIT License
 
-  Copyright (c) 2005-2006
+  Copyright (c) 2005-2009
   Scientific Computing and Imaging Institute, University of Utah
 
   License for the specific language governing rights and limitations under

Modified: trunk/StandAlone/manta.cc
==============================================================================
--- trunk/StandAlone/manta.cc   (original)
+++ trunk/StandAlone/manta.cc   Wed Apr  8 13:59:51 2009
@@ -105,7 +105,7 @@
 
   cerr << "Usage: manta [options]\n";
   cerr << "Valid options are:\n";
-  cerr << " -help           - Print this message and exit\n";
+  cerr << " -[-]h[elp]      - Print this message and exit\n";
   cerr << " -bench [N [M]]  - Time N frames after an M frame warmup period 
and print out the framerate,\n";
   cerr << "                   default N=100, M=10\n";
   cerr << " -np N           - Use N processors\n";
@@ -250,14 +250,13 @@
     try {
       for(size_t i=0;i < args.size();i++){
         string arg = args[i];
-        if(arg == "-help"){
+        if( (arg == "-help") || (arg == "--help") || (arg == "-h") || (arg 
== "--h") ) {
           usage(factory);
-
-
-        } else if(arg == "-bench" ||
-                  arg == "-quietbench" ||
-                  arg == "-nodisplaybench" ||
-                  arg == "-nodisplaybench-dart") {
+        }
+        else if( arg == "-bench" ||
+                 arg == "-quietbench" ||
+                 arg == "-nodisplaybench" ||
+                 arg == "-nodisplaybench-dart" ) {
 
           
///////////////////////////////////////////////////////////////////////
           // Benchmark Helper.

Modified: trunk/SwigInterface/wxManta.py
==============================================================================
--- trunk/SwigInterface/wxManta.py      (original)
+++ trunk/SwigInterface/wxManta.py      Wed Apr  8 13:59:51 2009
@@ -698,7 +698,7 @@
 
         message = \
         "The Manta Interactive Ray Tracer\n\n" + \
-        "(c) 2005-2006 Scientific Computing and Imaging Institute.\n" + \
+        "(c) 2005-2009 Scientific Computing and Imaging Institute.\n" + \
         "University of Utah\n\n" + \
         "Revision Information:\n" + getAboutString() + "\n" + \
         "wx.VERSION = %s" % (wx.VERSION,)

Modified: trunk/include/About.cc.CMakeTemplate
==============================================================================
--- trunk/include/About.cc.CMakeTemplate        (original)
+++ trunk/include/About.cc.CMakeTemplate        Wed Apr  8 13:59:51 2009
@@ -3,7 +3,7 @@
 
   The MIT License
 
-  Copyright (c) 2005-2006
+  Copyright (c) 2005-2009
   Scientific Computing and Imaging Institute, University of Utah
 
   License for the specific language governing rights and limitations under
@@ -35,7 +35,7 @@
 "\n"
 "The MIT License\n"
 "\n"
-"Copyright (c) 2005-2006\n"
+"Copyright (c) 2005-2009\n"
 "Scientific Computing and Imaging Institute, University of Utah\n"
 "\n"
 "License for the specific language governing rights and limitations under\n"
@@ -58,8 +58,8 @@
 "DEALINGS IN THE SOFTWARE.\n";
 
 extern "C"
-const char *Manta::getLicenseString() {
-
+const char *Manta::getLicenseString()
+{
   return license_string;
 }
 
@@ -67,7 +67,7 @@
 static char const *const about_string = "${ABOUT_STRING}";
 
 extern "C"
-const char * Manta::getAboutString() {
-
-     return about_string;
+const char * Manta::getAboutString()
+{
+  return about_string;
 };

Modified: trunk/scenes/csafe/python/Histogram.py
==============================================================================
--- trunk/scenes/csafe/python/Histogram.py      (original)
+++ trunk/scenes/csafe/python/Histogram.py      Wed Apr  8 13:59:51 2009
@@ -786,7 +786,6 @@
                 
self.scene.test.setSphereColorMinMax(self.histogram.varIndex, colorMin, 
colorMax)
                 self.scene.test.setClipMinMax(self.histogram.varIndex, 
cropMin,cropMax)
         else:
-                print "setting colorminmax vals: " + str(colorMin) + " " + 
str(colorMax)
                 self.scene.test.setVolColorMinMax(float(colorMin), 
float(colorMax))
                 
self.scene.test.setVolClipMinMax(self.histogram.absoluteDMin, 
self.histogram.absoluteDMax, cropMin, cropMax)
         


  • [Manta] r2398 - in trunk: . StandAlone SwigInterface include scenes/csafe/python, dav, 04/08/2009

Archive powered by MHonArc 2.6.16.

Top of page