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>2019-06-26 15:05:55 +0300
committerClément Foucault <foucault.clem@gmail.com>2019-06-26 15:05:55 +0300
commit310bd2f811acd7ae5d149274720d200df140558e (patch)
tree8542dc08d0c53fd829a22157bb077c22582199bd
parentb3a2de9d181ab69c192c737e24a7b808081df06b (diff)
Fix T65942 Eevee: Reflection plane has "show data" checked by default
Disable by default and rename option to "Show Preview Plane".
-rw-r--r--source/blender/blenkernel/intern/lightprobe.c2
-rw-r--r--source/blender/makesrna/intern/rna_lightprobe.c5
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 */