diff options
Diffstat (limited to 'io_anim_bvh')
-rw-r--r-- | io_anim_bvh/export_bvh.py | 2 | ||||
-rw-r--r-- | io_anim_bvh/import_bvh.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/io_anim_bvh/export_bvh.py b/io_anim_bvh/export_bvh.py index 4d7f0b09..ed80ed59 100644 --- a/io_anim_bvh/export_bvh.py +++ b/io_anim_bvh/export_bvh.py @@ -147,7 +147,7 @@ def write_armature(context, # redefine bones as sorted by serialized_names # so we can write motion - class DecoratedBone(object): + class DecoratedBone: __slots__ = ( "name", # bone name, used as key in many places "parent", # decorated bone parent, set in a later loop diff --git a/io_anim_bvh/import_bvh.py b/io_anim_bvh/import_bvh.py index 50ae4bd7..08f7cb5b 100644 --- a/io_anim_bvh/import_bvh.py +++ b/io_anim_bvh/import_bvh.py @@ -26,7 +26,7 @@ import bpy from mathutils import Vector, Euler, Matrix -class BVH_Node(object): +class BVH_Node: __slots__ = ( 'name', # bvh joint name 'parent', # BVH_Node type or None for no parent |