diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2014-03-10 20:42:35 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2014-03-10 20:42:35 +0400 |
commit | 2de9da6ee9a8813704ad402c7bc4ba77b35a9267 (patch) | |
tree | 051358f2c6af5e4f2c984849080aef4f2e2bafd8 /source/blender/blenkernel/intern/paint.c | |
parent | 658f37acd7968d12fc8cac8a8154e680dd57d74f (diff) |
Fix T39034 brush always shown even after deactivating the show cursor
option after reentering a paint mode.
Solution by Bastien with modifications, thanks!
Show Brush flag need not be reenabled always, but make sure it is at
least enabled once on paint initialization.
Diffstat (limited to 'source/blender/blenkernel/intern/paint.c')
-rw-r--r-- | source/blender/blenkernel/intern/paint.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/paint.c b/source/blender/blenkernel/intern/paint.c index 5a38445ee02..4d84dd5fbb1 100644 --- a/source/blender/blenkernel/intern/paint.c +++ b/source/blender/blenkernel/intern/paint.c @@ -308,8 +308,6 @@ void BKE_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 BKE_paint_free(Paint *paint) |