fixed bug in controlJoint

This commit is contained in:
Samir Naik 2004-06-22 22:00:41 +00:00
parent 925a3d0978
commit 7b7230f2ad
1 changed files with 1 additions and 1 deletions

View File

@ -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