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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-09-03 19:58:41 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-09-06 14:26:46 +0300
commite0a4dc6a794670429dc12cd78ae9d19e50ac2a8e (patch)
tree6a5f2f56b1442a691868df579048064bda63b4a7 /tests
parent1450a375553d4549276f9098a7e43f740059489d (diff)
UI / Python: rename X-Ray to In Front, Draw to Display.
See T56648.
Diffstat (limited to 'tests')
-rw-r--r--tests/python/bl_mesh_modifiers.py4
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