From f9a0d4aceabab413929e3dff80c05eaa18966591 Mon Sep 17 00:00:00 2001 From: David Rose Date: Tue, 20 Feb 2001 21:11:19 +0000 Subject: [PATCH] *** empty log message *** --- direct/src/actor/Actor.py | 3 ++- direct/src/directutil/Mopath.py | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/direct/src/actor/Actor.py b/direct/src/actor/Actor.py index e8524eb8cc..0bc5ba7414 100644 --- a/direct/src/actor/Actor.py +++ b/direct/src/actor/Actor.py @@ -619,7 +619,8 @@ class Actor(PandaObject, NodePath): root=None, lodName=None): """drawInFront(self, string, int, string=None, key=None) - Arrange geometry so the frontPart is drawn in front of backPart. + Arrange geometry so the frontPart(s) are drawn in front of + backPart. If mode == 0, the geometry is simply arranged to be drawn in the correct order. diff --git a/direct/src/directutil/Mopath.py b/direct/src/directutil/Mopath.py index 8d63a22c35..0ffaec41fb 100644 --- a/direct/src/directutil/Mopath.py +++ b/direct/src/directutil/Mopath.py @@ -26,8 +26,11 @@ class Mopath(PandaObject): self.maxT = self.tNurbsCurve.getMaxT() else: print 'Mopath: no valid curves in file: %s' % filename + + nodePath.removeNode() else: print 'Mopath: no data in file: %s' % filename + def reset(self): self.maxT = 0.0