Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Oeser <info@graphics-engineer.com>2022-01-04 12:54:36 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2022-01-05 11:13:52 +0300
commit5df916f23f0d742a531136279ca6c126d3fb03b3 (patch)
tree389a60d575fb17b811f604b4250f9278a7bdeb56 /source/blender
parentb7073fa7979c66a288f50f68121a97b7bf022b73 (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
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/makesrna/intern/rna_scene.c1
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 5f1d9c5a5ce..d7d13f151d9 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -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");