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>2017-06-14 23:46:48 +0300
committerClément Foucault <foucault.clem@gmail.com>2017-06-15 01:55:45 +0300
commit246ee82a2f3c7e076c711659d876909dc4b410ea (patch)
tree3f5f38380dc5e8ec64d0875baa69f71b7bddf455 /source/blender/makesrna/intern/rna_lightprobe.c
parent9c82203e8282551838898061e30422fb4a1a89c8 (diff)
Eevee: Some probe update changes.
Dont render grids if cubemap count changes (because it does not depends on). Recalc lighting if probe type change.
Diffstat (limited to 'source/blender/makesrna/intern/rna_lightprobe.c')
-rw-r--r--source/blender/makesrna/intern/rna_lightprobe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_lightprobe.c b/source/blender/makesrna/intern/rna_lightprobe.c
index 4003cce3da5..3fb9daafce2 100644
--- a/source/blender/makesrna/intern/rna_lightprobe.c
+++ b/source/blender/makesrna/intern/rna_lightprobe.c
@@ -82,7 +82,7 @@ static void rna_def_lightprobe(BlenderRNA *brna)
prop = RNA_def_property(srna, "type", PROP_ENUM, PROP_NONE);
RNA_def_property_enum_items(prop, lightprobe_type_items);
RNA_def_property_ui_text(prop, "Type", "Type of probe");
- RNA_def_property_update(prop, NC_MATERIAL | ND_SHADING, NULL);
+ RNA_def_property_update(prop, NC_MATERIAL | ND_SHADING, "rna_LightProbe_recalc");
prop = RNA_def_property(srna, "clip_start", PROP_FLOAT, PROP_DISTANCE);
RNA_def_property_float_sdna(prop, NULL, "clipsta");