Revision: 45897
          http://brlcad.svn.sourceforge.net/brlcad/?rev=45897&view=rev
Author:   brlcad
Date:     2011-08-10 13:53:32 +0000 (Wed, 10 Aug 2011)

Log Message:
-----------
script isn't always being run as a main application, make sure argv exists

Modified Paths:
--------------
    brlcad/trunk/src/tclscripts/rtwizard/RaytraceWizard.tcl

Modified: brlcad/trunk/src/tclscripts/rtwizard/RaytraceWizard.tcl
===================================================================
--- brlcad/trunk/src/tclscripts/rtwizard/RaytraceWizard.tcl     2011-08-10 
13:51:14 UTC (rev 45896)
+++ brlcad/trunk/src/tclscripts/rtwizard/RaytraceWizard.tcl     2011-08-10 
13:53:32 UTC (rev 45897)
@@ -249,7 +249,9 @@
 #
 # Start main
 #
-RaytraceWizard::main $argv
+if {[info exists argv]} {
+    RaytraceWizard::main $argv
+}
 
 
 # Local Variables:


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to