Update relations when modifier texture changes

This commit is contained in:
Sergey Sharybin 2018-12-06 09:09:07 +01:00
parent 1f5dd9c437
commit ca2680aaeb
Notes: blender-bot 2023-02-14 04:43:53 +01:00
Referenced by commit b10b77d4f0, Fix T61185: Missing modifiers update on changes to texture
Referenced by issue #58873, Changes to a procedural texture don't reflect in displacement modifier immediately
Referenced by issue #58679, Changes to a procedural texture don't reflect in displacement modifier immediately
1 changed files with 1 additions and 1 deletions

View File

@ -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");