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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2010-08-12 15:09:19 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-08-12 15:09:19 +0400
commit150eb890dfbfbe5a8260c426d5ed3defed47a2d8 (patch)
tree6e81044dd6f4ecf24d85a289ea064b9120687ada
parent982c4c87f7d5d5c3f2a9fea4fb5b2170d25c1968 (diff)
Fix #23258: paint cursor not working in sculpt/paint modes.
-rw-r--r--source/blender/blenloader/intern/readfile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index ef99b3ab8e4..c67375d8aa2 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -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;
}
}