Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] r1859 - trunk/StandAlone


Chronological Thread 
  • From: roni@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [Manta] r1859 - trunk/StandAlone
  • Date: Tue, 20 Nov 2007 14:36:16 -0700 (MST)

Author: roni
Date: Tue Nov 20 14:36:16 2007
New Revision: 1859

Modified:
   trunk/StandAlone/manta.cc
Log:
StandAlone/manta.cc

  Added printing of renderers when invalid renderer option is passed
  to bin/manta.


Modified: trunk/StandAlone/manta.cc
==============================================================================
--- trunk/StandAlone/manta.cc   (original)
+++ trunk/StandAlone/manta.cc   Tue Nov 20 14:36:16 2007
@@ -587,6 +587,7 @@
       }
       if(!factory->selectRenderer(s)){
         cerr << "Invalid renderer: " << s << ", available renderers are:\n";
+        printList(cerr, factory->listRenderers());
         throw IllegalArgument( s, i, args );
       }
     }




  • [Manta] r1859 - trunk/StandAlone, roni, 11/20/2007

Archive powered by MHonArc 2.6.16.

Top of page