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-01-14 18:29:29 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2009-01-14 18:29:29 +0300
commit3e756ca0a616a467d64521d7c82bb8229a38447c (patch)
tree576730aeaa3358d555c257c3517494e0ecd6be19 /source/blender/blenkernel
parent126b9ca1a6a3dd00b5340bee02fec491310c5f67 (diff)
Moved some more sculpt data into operator properties, also the test brush is now properly created so you can edit its state in the RNA viewer. Added an RNA property for the brush sculpt tool as well.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/brush.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c
index 5faca56e1d7..c1db7a009e6 100644
--- a/source/blender/blenkernel/intern/brush.c
+++ b/source/blender/blenkernel/intern/brush.c
@@ -70,6 +70,7 @@ Brush *add_brush(char *name)
brush->rate= 0.1f;
brush->innerradius= 0.5f;
brush->clone.alpha= 0.5;
+ brush->sculpt_tool = SCULPT_TOOL_DRAW;
/* enable fake user by default */
brush->id.flag |= LIB_FAKEUSER;