Revision: 31283
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=31283
Author: blendix
Date: 2010-08-12 13:09:19 +0200 (Thu, 12 Aug 2010)
Log Message:
-----------
Fix #23258: paint cursor not working in sculpt/paint modes.
Modified Paths:
--------------
trunk/blender/source/blender/blenloader/intern/readfile.c
Modified: trunk/blender/source/blender/blenloader/intern/readfile.c
===================================================================
--- trunk/blender/source/blender/blenloader/intern/readfile.c 2010-08-12
10:35:34 UTC (rev 31282)
+++ trunk/blender/source/blender/blenloader/intern/readfile.c 2010-08-12
11:09:19 UTC (rev 31283)
@@ -4107,8 +4107,9 @@
static void link_paint(FileData *fd, Scene *sce, Paint *p)
{
- if(p && p->brush) {
+ if(p) {
p->brush= newlibadr_us(fd, sce->id.lib, p->brush);
+ p->paint_cursor= NULL;
}
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs