diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-07-20 23:22:30 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-07-20 23:22:30 +0300 |
commit | 3005c2e2be3d0711649e4dd10697fc43ca88f50f (patch) | |
tree | cd26997e22dc341a9cc105f07a0d9dbf018b14f5 /release/scripts/startup/bl_ui | |
parent | eae9228a4d6b359d082324dd2b0f39116754bf8b (diff) |
Eevee: LightProbes: Fix RNA defaults and remove unused data_draw_size
Diffstat (limited to 'release/scripts/startup/bl_ui')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_lightprobe.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_lightprobe.py b/release/scripts/startup/bl_ui/properties_data_lightprobe.py index 10b66dd0033..5924a796b65 100644 --- a/release/scripts/startup/bl_ui/properties_data_lightprobe.py +++ b/release/scripts/startup/bl_ui/properties_data_lightprobe.py @@ -155,12 +155,9 @@ class DATA_PT_lightprobe_display(DataButtonsPanel, Panel): col = layout.column() - if probe.type != 'PLANAR': - col.prop(probe, "data_draw_size", text="Size") - else: + if probe.type == 'PLANAR': col.prop(ob, "empty_draw_size", text="Arrow Size") - - col.prop(probe, "show_data") + col.prop(probe, "show_data") if probe.type in {'GRID', 'CUBEMAP'}: col.prop(probe, "show_influence") |