Fix T76236: GPencil drrawing resetting posed positions with armature after layer renaming
The datablock was not tagged for updating.
This commit is contained in:
parent
2b094be949
commit
36bf067ddc
Notes:
blender-bot
2023-02-14 08:47:25 +01:00
Referenced by issue #76236, GPencil: Drawing resetting posed positions with armature after layer renaming
|
@ -1471,7 +1471,7 @@ static void rna_def_gpencil_layer(BlenderRNA *brna)
|
|||
RNA_def_property_ui_text(prop, "Info", "Layer name");
|
||||
RNA_def_property_string_funcs(prop, NULL, NULL, "rna_GPencilLayer_info_set");
|
||||
RNA_def_struct_name_property(srna, prop);
|
||||
RNA_def_property_update(prop, NC_GPENCIL | ND_DATA | NA_RENAME, NULL);
|
||||
RNA_def_property_update(prop, NC_GPENCIL | ND_DATA | NA_RENAME, "rna_GPencil_update");
|
||||
|
||||
/* Frames */
|
||||
prop = RNA_def_property(srna, "frames", PROP_COLLECTION, PROP_NONE);
|
||||
|
|
Loading…
Reference in New Issue