diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-07-09 20:48:38 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-07-09 20:49:09 +0300 |
commit | 29ebb374197d41153fd9ad297ef024d6f5b7d197 (patch) | |
tree | dac369f478d7b2657026decdf291af3737335036 /source/blender/makesrna/intern/rna_object.c | |
parent | 23f1bc741496c9ce7da6bef9af39ba0728286525 (diff) |
Fix T66565: crash linking unused light datablock during Cycles preview render
Diffstat (limited to 'source/blender/makesrna/intern/rna_object.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_object.c b/source/blender/makesrna/intern/rna_object.c index a2222c19b47..d3b532dd11d 100644 --- a/source/blender/makesrna/intern/rna_object.c +++ b/source/blender/makesrna/intern/rna_object.c @@ -2358,7 +2358,7 @@ static void rna_def_object(BlenderRNA *brna) RNA_def_property_flag(prop, PROP_EDITABLE | PROP_NEVER_UNLINK); RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY); RNA_def_property_ui_text(prop, "Data", "Object data"); - RNA_def_property_update(prop, 0, "rna_Object_internal_update_data"); + RNA_def_property_update(prop, 0, "rna_Object_internal_update_data_dependency"); prop = RNA_def_property(srna, "type", PROP_ENUM, PROP_NONE); RNA_def_property_enum_sdna(prop, NULL, "type"); |