3D View: empty image option to show front/back

Only back was possible.
This commit is contained in:
Campbell Barton
2018-12-17 14:49:16 +11:00
parent 365ef09815
commit 21c1c3c59c
5 changed files with 25 additions and 8 deletions

View File

@@ -927,7 +927,7 @@ class LoadBackgroundImage(LoadImageAsEmpty, Operator):
def set_settings(self, context, obj):
obj.empty_image_depth = 'BACK'
obj.show_empty_image_back = False
obj.empty_image_side = 'FRONT'
if context.space_data.type == 'VIEW_3D':
if not context.space_data.region_3d.is_perspective: