Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2018-07-20 23:22:30 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-07-20 23:22:30 +0300
commit3005c2e2be3d0711649e4dd10697fc43ca88f50f (patch)
treecd26997e22dc341a9cc105f07a0d9dbf018b14f5 /release/scripts/startup/bl_ui/properties_data_lightprobe.py
parenteae9228a4d6b359d082324dd2b0f39116754bf8b (diff)
Eevee: LightProbes: Fix RNA defaults and remove unused data_draw_size
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_data_lightprobe.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_data_lightprobe.py7
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")