Browse Source

fix bug with unicode animation names

David Rose 16 years ago
parent
commit
1a92ac85bb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/actor/Actor.py

+ 1 - 1
direct/src/actor/Actor.py

@@ -1813,7 +1813,7 @@ class Actor(DirectObject, NodePath):
                             controls.append(anim.animControl)
                             controls.append(anim.animControl)
             else:
             else:
                 # get the named animation(s) only.
                 # get the named animation(s) only.
-                if isinstance(animName, types.StringType):
+                if isinstance(animName, types.StringTypes):
                     # A single animName
                     # A single animName
                     animNameList = [animName]
                     animNameList = [animName]
                 else:
                 else: