mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -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
|
||||
# Generate unique name if necessary
|
||||
if (name == None):
|
||||
name = ('LerpFunctionInterval-%d' %
|
||||
LerpFunctionInterval.lerpFunctionIntervalNum)
|
||||
name = ('LerpFunctionInterval-%s-%d' %
|
||||
(function.__name__,
|
||||
LerpFunctionInterval.lerpFunctionIntervalNum))
|
||||
LerpFunctionInterval.lerpFunctionIntervalNum += 1
|
||||
else:
|
||||
# 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