[Bf-blender-cvs] [b93c81e0023] blender2.8: Image Empties: always show in orthographic view by default

Jacques Lucke noreply at git.blender.org
Wed Nov 21 13:52:30 CET 2018


Commit: b93c81e0023624f62695b082e7e35a2b8c7b3b5a
Author: Jacques Lucke
Date:   Wed Nov 21 13:52:12 2018 +0100
Branches: blender2.8
https://developer.blender.org/rBb93c81e0023624f62695b082e7e35a2b8c7b3b5a

Image Empties: always show in orthographic view by default

===================================================================

M	release/scripts/startup/bl_operators/object.py

===================================================================

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



More information about the Bf-blender-cvs mailing list