From 1a92ac85bbbea192808e0b3315b82a30fb647f86 Mon Sep 17 00:00:00 2001 From: David Rose Date: Thu, 23 Jul 2009 16:32:51 +0000 Subject: [PATCH] fix bug with unicode animation names --- 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 75eac9103c..0627daff76 100644 --- a/direct/src/actor/Actor.py +++ b/direct/src/actor/Actor.py @@ -1813,7 +1813,7 @@ class Actor(DirectObject, NodePath): controls.append(anim.animControl) else: # get the named animation(s) only. - if isinstance(animName, types.StringType): + if isinstance(animName, types.StringTypes): # A single animName animNameList = [animName] else: