[Bf-blender-cvs] [ca2680aaeb1] blender2.8: Update relations when modifier texture changes

Sergey Sharybin noreply at git.blender.org
Thu Dec 6 09:09:25 CET 2018


Commit: ca2680aaeb122165adfb5ddd55d3ffc642c56a27
Author: Sergey Sharybin
Date:   Thu Dec 6 09:09:07 2018 +0100
Branches: blender2.8
https://developer.blender.org/rBca2680aaeb122165adfb5ddd55d3ffc642c56a27

Update relations when modifier texture changes

===================================================================

M	source/blender/makesrna/intern/rna_modifier.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c
index fb70d3b86a0..6c41deabeb2 100644
--- a/source/blender/makesrna/intern/rna_modifier.c
+++ b/source/blender/makesrna/intern/rna_modifier.c
@@ -1298,7 +1298,7 @@ static void rna_def_modifier_generic_map_info(StructRNA *srna)
 	prop = RNA_def_property(srna, "texture", PROP_POINTER, PROP_NONE);
 	RNA_def_property_ui_text(prop, "Texture", "");
 	RNA_def_property_flag(prop, PROP_EDITABLE);
-	RNA_def_property_update(prop, 0, "rna_Modifier_update");
+	RNA_def_property_update(prop, 0, "rna_Modifier_dependency_update");
 
 	prop = RNA_def_property(srna, "texture_coords", PROP_ENUM, PROP_NONE);
 	RNA_def_property_enum_sdna(prop, NULL, "texmapping");



More information about the Bf-blender-cvs mailing list