Fix T65942 Eevee: Reflection plane has "show data" checked by default

Disable by default and rename option to "Show Preview Plane".
This commit is contained in:
Clément Foucault 2019-06-26 14:05:55 +02:00
parent b3a2de9d18
commit 310bd2f811
2 changed files with 4 additions and 3 deletions

@ -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)

@ -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 */