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
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 /release/scripts/startup/bl_operators
parent1450a375553d4549276f9098a7e43f740059489d (diff)
UI / Python: rename X-Ray to In Front, Draw to Display.
See T56648.
Diffstat (limited to 'release/scripts/startup/bl_operators')
-rw-r--r--release/scripts/startup/bl_operators/object_quick_effects.py4
-rw-r--r--release/scripts/startup/bl_operators/rigidbody.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_operators/object_quick_effects.py b/release/scripts/startup/bl_operators/object_quick_effects.py
index 36dc1b46590..d0b0fccf65e 100644
--- a/release/scripts/startup/bl_operators/object_quick_effects.py
+++ b/release/scripts/startup/bl_operators/object_quick_effects.py
@@ -347,7 +347,7 @@ class QuickSmoke(Operator):
obj.modifiers[-1].flow_settings.smoke_flow_type = self.style
if not self.show_flows:
- obj.draw_type = 'WIRE'
+ obj.display_type = 'WIRE'
# store bounding box min/max for the domain object
obj_bb_minmax(obj, min_co, max_co)
@@ -472,7 +472,7 @@ class QuickFluid(Operator):
obj.hide_render = not self.show_flows
if not self.show_flows:
- obj.draw_type = 'WIRE'
+ obj.display_type = 'WIRE'
# store bounding box min/max for the domain object
obj_bb_minmax(obj, min_co, max_co)
diff --git a/release/scripts/startup/bl_operators/rigidbody.py b/release/scripts/startup/bl_operators/rigidbody.py
index 46f3d0a1436..b98538dd20b 100644
--- a/release/scripts/startup/bl_operators/rigidbody.py
+++ b/release/scripts/startup/bl_operators/rigidbody.py
@@ -270,7 +270,7 @@ class ConnectRigidBodies(Operator):
bpy.ops.rigidbody.constraint_add()
con_obj = context.active_object
- con_obj.empty_draw_type = 'ARROWS'
+ con_obj.empty_display_type = 'ARROWS'
con = con_obj.rigid_body_constraint
con.type = self.con_type