diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2009-11-04 01:50:09 +0300 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2009-11-04 01:50:09 +0300 |
commit | a4e91f8f1a820f0c6d063d601ff8042eca13a501 (patch) | |
tree | 9f9b032f9e843c36ed577d447b39520f067e8034 /source/blender/blenkernel/intern/paint.c | |
parent | f20b3b3102f2cdb250b77b06a9d3287efcbc82ba (diff) |
Moved the show brush flag from sculpt to paint, and it now shows/hides the brush as expected. Also fixed some errors in the UI scripts.
Diffstat (limited to 'source/blender/blenkernel/intern/paint.c')
-rw-r--r-- | source/blender/blenkernel/intern/paint.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/paint.c b/source/blender/blenkernel/intern/paint.c index 3dfe3966e2f..5cc2190c088 100644 --- a/source/blender/blenkernel/intern/paint.c +++ b/source/blender/blenkernel/intern/paint.c @@ -175,6 +175,8 @@ void paint_init(Paint *p, const char col[3]) memcpy(p->paint_cursor_col, col, 3); p->paint_cursor_col[3] = 128; + + p->flags |= PAINT_SHOW_BRUSH; } void free_paint(Paint *paint) |