mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
*** empty log message ***
This commit is contained in:
parent
553814fad3
commit
54471a94f7
@ -2419,7 +2419,10 @@ class ClassTree:
|
||||
return self._getStr()
|
||||
|
||||
|
||||
def report(types = [],notifyFunc = None):
|
||||
def report(types = [], notifyFunc = None, overrideDev = False):
|
||||
if overrideDev:
|
||||
__dev__ = 1
|
||||
|
||||
try:
|
||||
__dev__
|
||||
except NameError:
|
||||
@ -2450,7 +2453,8 @@ def report(types = [],notifyFunc = None):
|
||||
return f(*args,**kwargs)
|
||||
|
||||
wrap.func_name = f.func_name
|
||||
wrap.__doc__ = f.__doc__
|
||||
wrap.func_dict = f.func_dict
|
||||
wrap.func_doc = f.func_doc
|
||||
return wrap
|
||||
else:
|
||||
def decorator(f):
|
||||
|
Loading…
x
Reference in New Issue
Block a user