Image Empties: always show in orthographic view by default
authorJacques Lucke <mail@jlucke.com>
Wed, 21 Nov 2018 12:52:12 +0000 (13:52 +0100)
committerJacques Lucke <mail@jlucke.com>
Wed, 21 Nov 2018 12:52:12 +0000 (13:52 +0100)
release/scripts/startup/bl_operators/object.py

index 46aa343868af5d9301783b5d81e12a7834cabca7..72fb1849c76e7025659010250856c3d57a9695b3 100644 (file)
@@ -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