[Bf-blender-cvs] [78f74c6c503] temp-checkbox-layout-tweaks: Merge branch 'temp-checkbox-layout-tweaks-patch' into temp-checkbox-layout-tweaks

Julian Eisel noreply at git.blender.org
Thu Apr 16 21:03:28 CEST 2020


Commit: 78f74c6c5039cb93539a6b856d35d1a11827689b
Author: Julian Eisel
Date:   Thu Apr 16 21:02:43 2020 +0200
Branches: temp-checkbox-layout-tweaks
https://developer.blender.org/rB78f74c6c5039cb93539a6b856d35d1a11827689b

Merge branch 'temp-checkbox-layout-tweaks-patch' into temp-checkbox-layout-tweaks

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



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

diff --cc release/scripts/startup/bl_ui/properties_data_empty.py
index cf7e401d36f,898ab2e4359..1523f69536f
--- a/release/scripts/startup/bl_ui/properties_data_empty.py
+++ b/release/scripts/startup/bl_ui/properties_data_empty.py
@@@ -49,13 -49,13 +49,15 @@@ class DATA_PT_empty(DataButtonsPanel, P
              col.prop(ob, "empty_image_offset", text="Y", index=1)
  
              col = layout.column()
-             col.row().prop(ob, "empty_image_depth", text="Depth", expand=True)
+             depth_row = col.row()
+             depth_row.enabled = not ob.show_in_front
+             depth_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_only_axis_aligned")
 +
 +            col = layout.column(heading="Show in", align=True)
 +            col.prop(ob, "show_empty_image_orthographic", text="Orthographic")
 +            col.prop(ob, "show_empty_image_perspective", text="Perspective")
 +            col.prop(ob, "show_empty_image_only_axis_aligned", text="Only Axis Aligned")
  
  
  class DATA_PT_empty_alpha(DataButtonsPanel, Panel):



More information about the Bf-blender-cvs mailing list