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:
authorNicholas Bishop <nicholasbishop@gmail.com>2009-03-11 02:38:16 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2009-03-11 02:38:16 +0300
commitbb406cbf48f2e697beb096a22a8dbebbf682c9b9 (patch)
tree48a35c23b35a30e466d9d6f9ee297cc5e7a14407 /source/blender/blenkernel
parentf7f0222a768de13f596ba147dd151aa8e812f975 (diff)
Added a brush panel that can be eventually be used for all the paint modes. For now, just sculpt and texture paint are set up to use it (vpaint and wpaint don't yet use the Brush type.)
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/brush.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c
index e5dd9c2188d..398993be1a4 100644
--- a/source/blender/blenkernel/intern/brush.c
+++ b/source/blender/blenkernel/intern/brush.c
@@ -103,6 +103,8 @@ Brush *copy_brush(Brush *brush)
}
}
+ brushn->curve= curvemapping_copy(brush->curve);
+
/* enable fake user by default */
if (!(brushn->id.flag & LIB_FAKEUSER)) {
brushn->id.flag |= LIB_FAKEUSER;