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 19:52:53 +0300
committerClément Foucault <foucault.clem@gmail.com>2017-06-15 01:55:45 +0300
commit0ca2f5affde8cb8ce7fe4e93ae27063c7c577933 (patch)
treec7c42d9ea75f5025224c17385d6a762112c2111f /source/blender/makesrna/intern/rna_lightprobe.c
parent26e710b1fd57919a057306d39dcc8e6a04bb64a7 (diff)
Eevee: Irradiance grid: support for non-blocking update and multiple bounces.
Diffstat (limited to 'source/blender/makesrna/intern/rna_lightprobe.c')
-rw-r--r--source/blender/makesrna/intern/rna_lightprobe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_lightprobe.c b/source/blender/makesrna/intern/rna_lightprobe.c
index fc1c05d8ad1..4003cce3da5 100644
--- a/source/blender/makesrna/intern/rna_lightprobe.c
+++ b/source/blender/makesrna/intern/rna_lightprobe.c
@@ -150,17 +150,17 @@ static void rna_def_lightprobe(BlenderRNA *brna)
prop = RNA_def_property(srna, "grid_resolution_x", PROP_INT, PROP_PIXEL);
RNA_def_property_range(prop, 1, 256);
RNA_def_property_ui_text(prop, "Resolution X", "Number of sample along the x axis of the volume");
- 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, "grid_resolution_y", PROP_INT, PROP_PIXEL);
RNA_def_property_range(prop, 1, 256);
RNA_def_property_ui_text(prop, "Resolution Y", "Number of sample along the y axis of the volume");
- 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, "grid_resolution_z", PROP_INT, PROP_PIXEL);
RNA_def_property_range(prop, 1, 256);
RNA_def_property_ui_text(prop, "Resolution Z", "Number of sample along the z axis of the volume");
- RNA_def_property_update(prop, NC_MATERIAL | ND_SHADING, NULL);
+ RNA_def_property_update(prop, NC_MATERIAL | ND_SHADING, "rna_LightProbe_recalc");
/* common */
rna_def_animdata_common(srna);