mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-18 12:43:44 -04:00
oops
This commit is contained in:
parent
0fe72c30db
commit
0c64ea0087
@ -23,7 +23,7 @@ class Mopath(PandaObject):
|
||||
nodePath = loader.loadModel(filename)
|
||||
if nodePath:
|
||||
self.__extractCurves(nodePath)
|
||||
if (self.tNurbsCurve != None):
|
||||
if (self.tNurbsCurve != []):
|
||||
self.maxT = self.tNurbsCurve[-1].getMaxT()
|
||||
elif (self.xyzNurbsCurve != None):
|
||||
self.maxT = self.xyzNurbsCurve.getMaxT()
|
||||
|
Loading…
x
Reference in New Issue
Block a user