Browse Source

need default parameters for runp3d.py

David Rose 14 years ago
parent
commit
211df4b90f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/p3d/AppRunner.py

+ 1 - 1
direct/src/p3d/AppRunner.py

@@ -874,7 +874,7 @@ class AppRunner(DirectObject):
             initAppForGui()
             initAppForGui()
 
 
     def setP3DFilename(self, p3dFilename, tokens, argv, instanceId,
     def setP3DFilename(self, p3dFilename, tokens, argv, instanceId,
-                       interactiveConsole, p3dOffset, p3dUrl):
+                       interactiveConsole, p3dOffset = 0, p3dUrl = None):
         """ Called by the browser to specify the p3d file that
         """ Called by the browser to specify the p3d file that
         contains the application itself, along with the web tokens
         contains the application itself, along with the web tokens
         and/or command-line arguments.  Once this method has been
         and/or command-line arguments.  Once this method has been