[Bf-blender-cvs] [b3c4ee52665] hair_guides: Redraw notifier after changing groom edit sub-mode.
Lukas Tönne
noreply at git.blender.org
Wed Dec 27 12:07:19 CET 2017
Commit: b3c4ee52665b467d1679e84948c1a21fb6ed51cb
Author: Lukas Tönne
Date: Wed Dec 27 11:04:49 2017 +0000
Branches: hair_guides
https://developer.blender.org/rBb3c4ee52665b467d1679e84948c1a21fb6ed51cb
Redraw notifier after changing groom edit sub-mode.
===================================================================
M source/blender/makesrna/intern/rna_sculpt_paint.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_sculpt_paint.c b/source/blender/makesrna/intern/rna_sculpt_paint.c
index ed7d09cb095..cca42176058 100644
--- a/source/blender/makesrna/intern/rna_sculpt_paint.c
+++ b/source/blender/makesrna/intern/rna_sculpt_paint.c
@@ -254,6 +254,7 @@ static void rna_GroomEditSettings_update(bContext *C, PointerRNA *UNUSED(ptr))
if (ob)
{
DEG_id_tag_update(&ob->id, OB_RECALC_DATA);
+ WM_event_add_notifier(C, NC_OBJECT | ND_DRAW, ob);
}
}
More information about the Bf-blender-cvs
mailing list