Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[MANTA] r1310 - trunk/Engine/PixelSamplers


Chronological Thread 
  • From: thiago@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [MANTA] r1310 - trunk/Engine/PixelSamplers
  • Date: Mon, 19 Mar 2007 16:45:40 -0700 (MST)

Author: thiago
Date: Mon Mar 19 16:45:40 2007
New Revision: 1310

Modified:
   trunk/Engine/PixelSamplers/TimeViewSampler.cc
Log:
getArg is getting a ColorComponent, not a Real.

Modified: trunk/Engine/PixelSamplers/TimeViewSampler.cc
==============================================================================
--- trunk/Engine/PixelSamplers/TimeViewSampler.cc       (original)
+++ trunk/Engine/PixelSamplers/TimeViewSampler.cc       Mon Mar 19 16:45:40 
2007
@@ -33,7 +33,7 @@
   for(int i = 0; i<argc;i++){
     string arg = args[i];
     if(arg == "-scale"){
-      if(!getArg<Real>(i, args, scale))
+      if(!getArg<ColorComponent>(i, args, scale))
         throw IllegalArgument("TimeViewSampler -scale", i, args);
     } else if (arg == "-help") {
       usage();




  • [MANTA] r1310 - trunk/Engine/PixelSamplers, thiago, 03/19/2007

Archive powered by MHonArc 2.6.16.

Top of page