Forráskód Böngészése

oops, forgot the global __report_indent variable

Josh Wilson 16 éve
szülő
commit
f5ba889b71
1 módosított fájl, 2 hozzáadás és 1 törlés
  1. 2 1
      direct/src/showbase/PythonUtil.py

+ 2 - 1
direct/src/showbase/PythonUtil.py

@@ -3141,7 +3141,8 @@ def pstatcollect(scope, level = None):
         pass
         pass
 
 
     return decorator
     return decorator
-                
+
+__report_indent = 0
 def report(types = [], prefix = '', xform = None, notifyFunc = None, dConfigParam = []):
 def report(types = [], prefix = '', xform = None, notifyFunc = None, dConfigParam = []):
     """
     """
     This is a decorator generating function.  Use is similar to
     This is a decorator generating function.  Use is similar to