[Bf-blender-cvs] [deb5b00e1b1] master: Cleanup: revert wrapping from D6692

Campbell Barton noreply at git.blender.org
Wed Jan 29 01:12:51 CET 2020


Commit: deb5b00e1b1928bb841838f7eccc11bfa0c1c4fc
Author: Campbell Barton
Date:   Wed Jan 29 11:11:09 2020 +1100
Branches: master
https://developer.blender.org/rBdeb5b00e1b1928bb841838f7eccc11bfa0c1c4fc

Cleanup: revert wrapping from D6692

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

M	release/scripts/startup/bl_ui/properties_data_empty.py

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

diff --git a/release/scripts/startup/bl_ui/properties_data_empty.py b/release/scripts/startup/bl_ui/properties_data_empty.py
index d686c55407a..72946ed1268 100644
--- a/release/scripts/startup/bl_ui/properties_data_empty.py
+++ b/release/scripts/startup/bl_ui/properties_data_empty.py
@@ -51,10 +51,8 @@ class DATA_PT_empty(DataButtonsPanel, Panel):
             col = layout.column()
             col.row().prop(ob, "empty_image_depth", text="Depth", expand=True)
             col.row().prop(ob, "empty_image_side", text="Side", expand=True)
-            col.prop(ob, "show_empty_image_orthographic",
-                     text="Display Orthographic")
-            col.prop(ob, "show_empty_image_perspective",
-                     text="Display Perspective")
+            col.prop(ob, "show_empty_image_orthographic", text="Display Orthographic")
+            col.prop(ob, "show_empty_image_perspective", text="Display Perspective")
             col.prop(ob, "show_empty_image_only_axis_aligned")
 
 
@@ -88,8 +86,7 @@ class DATA_PT_empty_image(DataButtonsPanel, Panel):
     def draw(self, context):
         layout = self.layout
         ob = context.object
-        layout.template_ID(ob, "data", open="image.open",
-                           unlink="object.unlink_data")
+        layout.template_ID(ob, "data", open="image.open", unlink="object.unlink_data")
         layout.separator()
         layout.template_image(ob, "data", ob.image_user, compact=True)



More information about the Bf-blender-cvs mailing list