diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-09-03 20:02:42 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-09-06 14:03:16 +0300 |
commit | 9ff1e5eca76413b0f178ead688e9cde1c1385e36 (patch) | |
tree | 5cf865f4cee63b16baa25bd70984c04e7dd0b327 /io_scene_ms3d | |
parent | 11320854664f35f44b30da5453d0d78033d6a3d3 (diff) |
2.8: update for x_ray and draw/display renaming.
Diffstat (limited to 'io_scene_ms3d')
-rw-r--r-- | io_scene_ms3d/ms3d_import.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/io_scene_ms3d/ms3d_import.py b/io_scene_ms3d/ms3d_import.py index a2205556..9a6fb42f 100644 --- a/io_scene_ms3d/ms3d_import.py +++ b/io_scene_ms3d/ms3d_import.py @@ -690,14 +690,14 @@ class Ms3dImporter(): blender_armature = blender_context.blend_data.armatures.new( ms3d_armature_name) blender_armature.ms3d.name = ms3d_model.name - blender_armature.draw_type = 'STICK' + blender_armature.display_type = 'STICK' blender_armature.show_axes = True blender_armature.use_auto_ik = True blender_armature_object = blender_context.blend_data.objects.new( ms3d_armature_object_name, blender_armature) blender_scene.objects.link(blender_armature_object) #blender_armature_object.location = blender_scene.cursor_location - blender_armature_object.show_x_ray = True + blender_armature_object.show_in_front = True ########################## # create new modifier |