[Bf-blender-cvs] [29ebb374197] master: Fix T66565: crash linking unused light datablock during Cycles preview render
Brecht Van Lommel
noreply at git.blender.org
Tue Jul 9 19:50:08 CEST 2019
Commit: 29ebb374197d41153fd9ad297ef024d6f5b7d197
Author: Brecht Van Lommel
Date: Tue Jul 9 19:48:38 2019 +0200
Branches: master
https://developer.blender.org/rB29ebb374197d41153fd9ad297ef024d6f5b7d197
Fix T66565: crash linking unused light datablock during Cycles preview render
===================================================================
M source/blender/makesrna/intern/rna_object.c
===================================================================
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");
More information about the Bf-blender-cvs
mailing list