Revision: 23334
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=23334
Author: blendix
Date: 2009-09-18 15:17:33 +0200 (Fri, 18 Sep 2009)
Log Message:
-----------
Fix #19381: Switching from sculpt to object mode does not update toolbar.
Modified Paths:
--------------
trunk/blender/source/blender/editors/sculpt_paint/sculpt.c
Modified: trunk/blender/source/blender/editors/sculpt_paint/sculpt.c
===================================================================
--- trunk/blender/source/blender/editors/sculpt_paint/sculpt.c 2009-09-18
13:13:28 UTC (rev 23333)
+++ trunk/blender/source/blender/editors/sculpt_paint/sculpt.c 2009-09-18
13:17:33 UTC (rev 23334)
@@ -1569,10 +1569,10 @@
paint_init(&ts->sculpt->paint, PAINT_CURSOR_SCULPT);
paint_cursor_start(C, sculpt_poll);
-
- WM_event_add_notifier(C, NC_SCENE|ND_MODE, CTX_data_scene(C));
}
+ WM_event_add_notifier(C, NC_SCENE|ND_MODE, CTX_data_scene(C));
+
return OPERATOR_FINISHED;
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs