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:
authorCampbell Barton <ideasman42@gmail.com>2011-06-27 08:05:19 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-06-27 08:05:19 +0400
commit308cd73d8b44f0272daf43a425f489f101f55ed6 (patch)
treea34bb0cf4d0ae1e527ca719ea1a5b69e97bb5308 /source/blender/blenkernel/intern/brush.c
parentd7cea716c57a7195312fb327d3294bc8b9981a68 (diff)
scenes now adjust brush usercounts on copying and freeing, pointed out by Jason Wilkins
Diffstat (limited to 'source/blender/blenkernel/intern/brush.c')
-rw-r--r--source/blender/blenkernel/intern/brush.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c
index a4ceb62ab55..c497cd2813a 100644
--- a/source/blender/blenkernel/intern/brush.c
+++ b/source/blender/blenkernel/intern/brush.c
@@ -235,8 +235,6 @@ void make_local_brush(Brush *brush)
if(paint_brush(&scene->toolsettings->imapaint.paint)==brush) {
if(scene->id.lib==NULL) {
paint_brush_set(&scene->toolsettings->imapaint.paint, brushn);
- brushn->id.us++;
- brush->id.us--;
}
}
}