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:
authorJacques Lucke <mail@jlucke.com>2018-11-21 15:52:12 +0300
committerJacques Lucke <mail@jlucke.com>2018-11-21 15:52:12 +0300
commitb93c81e0023624f62695b082e7e35a2b8c7b3b5a (patch)
treed03cf28900c1c3229dd8679d39f02db6203cb3a8
parented1ee89288e991965773d9623fe6f3fadd2eb61e (diff)
Image Empties: always show in orthographic view by default
-rw-r--r--release/scripts/startup/bl_operators/object.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_operators/object.py b/release/scripts/startup/bl_operators/object.py
index 46aa343868a..72fb1849c76 100644
--- a/release/scripts/startup/bl_operators/object.py
+++ b/release/scripts/startup/bl_operators/object.py
@@ -927,9 +927,7 @@ class LoadBackgroundImage(LoadImageAsEmpty, Operator):
obj.show_empty_image_backside = False
if context.space_data.type == "VIEW_3D":
- if context.space_data.region_3d.is_perspective:
- obj.show_empty_image_orthographic = False
- else:
+ if not context.space_data.region_3d.is_perspective:
obj.show_empty_image_perspective = False