mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-05 11:28:17 -04:00
printing name of function in Func intervals
This commit is contained in:
parent
ff36d3e428
commit
cf80c1f689
@ -802,8 +802,9 @@ class LerpFunctionInterval(Interval.Interval):
|
|||||||
self.extraArgs = extraArgs
|
self.extraArgs = extraArgs
|
||||||
# Generate unique name if necessary
|
# Generate unique name if necessary
|
||||||
if (name == None):
|
if (name == None):
|
||||||
name = ('LerpFunctionInterval-%d' %
|
name = ('LerpFunctionInterval-%s-%d' %
|
||||||
LerpFunctionInterval.lerpFunctionIntervalNum)
|
(function.__name__,
|
||||||
|
LerpFunctionInterval.lerpFunctionIntervalNum))
|
||||||
LerpFunctionInterval.lerpFunctionIntervalNum += 1
|
LerpFunctionInterval.lerpFunctionIntervalNum += 1
|
||||||
else:
|
else:
|
||||||
# Allow the user to pass in a %d in the name and we'll go ahead
|
# Allow the user to pass in a %d in the name and we'll go ahead
|
||||||
|
Loading…
x
Reference in New Issue
Block a user