From 7b7230f2adf81a8b42dbb07dca6258586d52078f Mon Sep 17 00:00:00 2001 From: Samir Naik Date: Tue, 22 Jun 2004 22:00:41 +0000 Subject: [PATCH] fixed bug in controlJoint --- direct/src/actor/Actor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direct/src/actor/Actor.py b/direct/src/actor/Actor.py index eb49506644..111e96d893 100644 --- a/direct/src/actor/Actor.py +++ b/direct/src/actor/Actor.py @@ -724,7 +724,7 @@ class Actor(PandaObject, NodePath): be too late to add a new control during that animation. """ partBundleDict = self.__partBundleDict.get(lodName) - if partBundleDict: + if not partBundleDict: Actor.notify.warning("no lod named: %s" % (lodName)) return None