diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-09-03 19:58:41 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-09-06 14:26:46 +0300 |
commit | e0a4dc6a794670429dc12cd78ae9d19e50ac2a8e (patch) | |
tree | 6a5f2f56b1442a691868df579048064bda63b4a7 /tests/python/bl_mesh_modifiers.py | |
parent | 1450a375553d4549276f9098a7e43f740059489d (diff) |
UI / Python: rename X-Ray to In Front, Draw to Display.
See T56648.
Diffstat (limited to 'tests/python/bl_mesh_modifiers.py')
-rw-r--r-- | tests/python/bl_mesh_modifiers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/python/bl_mesh_modifiers.py b/tests/python/bl_mesh_modifiers.py index f2ab6b406bd..74eaaeb7c68 100644 --- a/tests/python/bl_mesh_modifiers.py +++ b/tests/python/bl_mesh_modifiers.py @@ -370,7 +370,7 @@ def modifier_armature_add(scene, obj): scene.objects.active = obj # display options - obj_arm.show_x_ray = True + obj_arm.show_in_front = True arm_data.draw_type = 'STICK' # apply to modifier @@ -425,7 +425,7 @@ def modifier_hook_add(scene, obj, use_vgroup=True): obj_hook = mod.object obj_hook.rotation_euler = 0, math.radians(45), 0 - obj_hook.show_x_ray = True + obj_hook.show_in_front = True if use_vgroup: mod.vertex_group = obj.vertex_groups[0].name |