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
This commit is contained in:
Philipp Oeser 2022-01-04 10:54:36 +01:00
parent b7073fa797
commit 5df916f23f
Notes: blender-bot 2023-02-14 10:11:49 +01:00
Referenced by issue #88449: Blender LTS: Maintenance Task 2.93
Referenced by issue #88449, Blender LTS: Maintenance Task 2.93
Referenced by issue #94366, Grease Pencil Automerge icon doesn't light up/turn off when toggled with a keypress
1 changed files with 1 additions and 0 deletions

View File

@ -3262,6 +3262,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");