Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'io_anim_acclaim/__init__.py')
-rw-r--r--io_anim_acclaim/__init__.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/io_anim_acclaim/__init__.py b/io_anim_acclaim/__init__.py
index 620c1fc4..7cada817 100644
--- a/io_anim_acclaim/__init__.py
+++ b/io_anim_acclaim/__init__.py
@@ -189,7 +189,7 @@ class StructureBuilder(DataStructure):
self.armature = self.object.data
self.object.name = self.name
self.armature.name = self.name
- self.armature.draw_type = 'STICK'
+ self.armature.display_type = 'STICK'
self.object['source_file_path'] = self.file_path
self.object['source_scale'] = self.user_def_scale
self.object['MhxArmature'] = 'Daz'
@@ -530,16 +530,16 @@ def menu_func_me(self, context):
def register():
bpy.utils.register_module(__name__)
- bpy.types.INFO_MT_file_import.append(menu_func_s)
- bpy.types.INFO_MT_file_import.append(menu_func_mi)
- bpy.types.INFO_MT_file_export.append(menu_func_me)
+ bpy.types.TOPBAR_MT_file_import.append(menu_func_s)
+ bpy.types.TOPBAR_MT_file_import.append(menu_func_mi)
+ bpy.types.TOPBAR_MT_file_export.append(menu_func_me)
def unregister():
bpy.utils.unregister_module(__name__)
- bpy.types.INFO_MT_file_import.remove(menu_func_s)
- bpy.types.INFO_MT_file_import.remove(menu_func_mi)
- bpy.types.INFO_MT_file_export.remove(menu_func_me)
+ bpy.types.TOPBAR_MT_file_import.remove(menu_func_s)
+ bpy.types.TOPBAR_MT_file_import.remove(menu_func_mi)
+ bpy.types.TOPBAR_MT_file_export.remove(menu_func_me)
if __name__ == "__main__":