From 310bd2f811acd7ae5d149274720d200df140558e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Wed, 26 Jun 2019 14:05:55 +0200 Subject: [PATCH] Fix T65942 Eevee: Reflection plane has "show data" checked by default Disable by default and rename option to "Show Preview Plane". --- source/blender/blenkernel/intern/lightprobe.c | 2 +- source/blender/makesrna/intern/rna_lightprobe.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/source/blender/blenkernel/intern/lightprobe.c b/source/blender/blenkernel/intern/lightprobe.c index 01b368ee0f8..1c2f8d22f3e 100644 --- a/source/blender/blenkernel/intern/lightprobe.c +++ b/source/blender/blenkernel/intern/lightprobe.c @@ -45,7 +45,7 @@ void BKE_lightprobe_init(LightProbe *probe) probe->vis_blur = 0.2f; probe->intensity = 1.0f; - probe->flag = LIGHTPROBE_FLAG_SHOW_INFLUENCE | LIGHTPROBE_FLAG_SHOW_DATA; + probe->flag = LIGHTPROBE_FLAG_SHOW_INFLUENCE; } void *BKE_lightprobe_add(Main *bmain, const char *name) diff --git a/source/blender/makesrna/intern/rna_lightprobe.c b/source/blender/makesrna/intern/rna_lightprobe.c index 8b6b248eac2..b6d6fac587e 100644 --- a/source/blender/makesrna/intern/rna_lightprobe.c +++ b/source/blender/makesrna/intern/rna_lightprobe.c @@ -225,8 +225,9 @@ static void rna_def_lightprobe(BlenderRNA *brna) /* Data preview */ prop = RNA_def_property(srna, "show_data", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", LIGHTPROBE_FLAG_SHOW_DATA); - RNA_def_property_ui_text( - prop, "Show Data", "Show captured lighting data into the 3D view for debugging purpose"); + RNA_def_property_ui_text(prop, + "Show Preview Plane", + "Show captured lighting data into the 3D view for debugging purpose"); RNA_def_property_update(prop, NC_MATERIAL | ND_SHADING, NULL); /* common */