Fix #23258: paint cursor not working in sculpt/paint modes.

This commit is contained in:
Brecht Van Lommel 2010-08-12 11:09:19 +00:00
parent 982c4c87f7
commit 150eb890df

@ -4107,8 +4107,9 @@ static void composite_patch(bNodeTree *ntree, Scene *scene)
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;
}
}