diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2022-01-04 12:54:36 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2022-01-11 16:17:15 +0300 |
commit | 8a901d4925de6c1966b0df12104cdda1543ee02b (patch) | |
tree | 8b5fbfa029ae7a3a3250196e9066a34cee38c4cf | |
parent | 9bae5988ba819065ad715e8e5124179797385db9 (diff) |
Fix T94366: Grease Pencil Automerge no immediate UI update
Just an oversight in rBe9607f45d85d.
Now add notifier that toolsettings changed.
Maniphest Tasks: T94366
Differential Revision: https://developer.blender.org/D13723
-rw-r--r-- | source/blender/makesrna/intern/rna_scene.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c index be7c938a525..c3d1f1e537f 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -3226,6 +3226,7 @@ static void rna_def_tool_settings(BlenderRNA *brna) "Automerge", "Join by distance last drawn stroke with previous strokes in the active layer"); RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); + RNA_def_property_update(prop, NC_SCENE | ND_TOOLSETTINGS, NULL); prop = RNA_def_property(srna, "gpencil_sculpt", PROP_POINTER, PROP_NONE); RNA_def_property_pointer_sdna(prop, NULL, "gp_sculpt"); |