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_anim_c3d/__init__.py | |
parent | 11320854664f35f44b30da5453d0d78033d6a3d3 (diff) |
2.8: update for x_ray and draw/display renaming.
Diffstat (limited to 'io_anim_c3d/__init__.py')
-rw-r--r-- | io_anim_c3d/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/io_anim_c3d/__init__.py b/io_anim_c3d/__init__.py index dfa5238d..e14fcaec 100644 --- a/io_anim_c3d/__init__.py +++ b/io_anim_c3d/__init__.py @@ -272,7 +272,7 @@ class C3DImporter(bpy.types.Operator): unames[name] = o.name bpy.ops.transform.resize(value=empty_size) o.show_name = self.properties.show_names - o.show_x_ray = self.properties.x_ray + o.show_in_front = self.properties.x_ray for name in unames.values(): bpy.context.scene.objects[name].select = True return unames @@ -291,7 +291,7 @@ class C3DImporter(bpy.types.Operator): arm = bpy.context.active_object arm.name = os.path.basename(self.properties.filepath) arm.data.show_names = self.properties.show_names - arm.show_x_ray = self.properties.x_ray + arm.show_in_front = self.properties.x_ray for idx, ml in enumerate(ms.markerLabels): name = self.properties.prefix + ml bpy.ops.armature.select_all(action='DESELECT') |