Antonis Ryakiotakis
333feea6e9
Fix T45258, impossible to select brush when removing it from 2d
...
painting.
Also system added a brush every time it found no paint brush in the
system which is not what we would want.
Solution:
* Brush panel stays visible always, regardless of whether there is a
brush or not.
* We search for first available brush when we find no brush in paint
struct instead of always generating a new one.
* Generating and searching for a brush take a mode argument now. Needed
some refactoring to users of BKE_paint_init as well.
* Did some style cleanups for paint mode enums.
Patch is big but it's mostly argument refactoring.
2015-08-31 22:00:30 +03:00
..
2015-08-31 22:00:30 +03:00
2015-06-13 03:24:07 +10:00
2015-05-11 12:39:39 +10:00
2015-04-02 17:13:45 +02:00
2015-05-12 16:06:37 +05:00
2015-05-06 11:13:42 +10:00
2015-05-13 06:10:49 +10:00
2015-08-01 17:56:44 +02:00
2015-05-18 13:42:47 +10:00
2015-08-31 22:00:30 +03:00
2015-07-29 21:22:28 +10:00
2015-04-06 10:40:12 -03:00
2015-07-17 03:55:14 +10:00
2015-08-06 13:03:07 +10:00
2015-07-31 14:00:07 +10:00
2015-05-20 15:33:30 +05:00
2015-03-30 21:18:49 +11:00
2015-03-29 03:56:39 +11:00
2015-07-02 16:20:22 +10:00
2015-07-09 17:03:00 +10:00
2015-01-24 17:26:59 +11:00
2015-08-25 10:30:46 +02:00
2015-07-25 07:44:25 +10:00
2015-03-29 03:56:39 +11:00
2015-08-27 12:10:01 +02:00
2015-08-24 15:20:23 +10:00
2015-03-29 03:56:39 +11:00
2015-07-27 16:01:56 +10:00
2015-08-20 19:13:14 +10:00
2015-08-01 12:37:52 +10:00
2015-03-29 03:56:39 +11:00
2015-03-30 21:18:49 +11:00
2015-03-29 03:56:39 +11:00
2015-03-29 03:56:39 +11:00
2015-03-19 14:34:14 +11:00
2015-07-27 10:55:19 +10:00
2014-12-01 01:52:06 +13:00
2015-03-29 03:56:39 +11:00
2015-05-11 16:37:15 +02:00
2015-08-10 17:45:16 +02:00
2015-01-01 23:42:28 +11:00
2015-07-13 13:58:17 +02:00
2015-06-08 19:52:04 +10:00
2015-08-17 17:02:22 +02:00
2015-08-27 16:00:46 +02:00
2015-03-19 14:34:14 +11:00
2015-08-27 16:00:46 +02:00
2015-06-11 19:34:21 +02:00
2015-08-26 14:52:28 +02:00
2015-04-07 13:19:50 +10:00
2015-05-12 16:06:37 +05:00
2015-07-23 15:08:27 +10:00
2015-07-13 18:05:38 +02:00
2015-08-12 18:21:41 +02:00
2015-07-20 22:29:26 +02:00
2015-05-08 07:25:39 +10:00
2015-07-30 14:43:58 +02:00
2015-04-14 18:39:02 +12:00
2015-08-01 17:23:32 +02:00
2015-01-09 19:32:44 +01:00
2015-06-08 19:52:04 +10:00
2015-04-04 15:19:24 +11:00
2015-04-07 11:01:47 +10:00
2015-05-01 19:20:42 +02:00
2015-08-31 22:00:30 +03:00
2015-08-28 17:35:51 +02:00
2015-07-17 04:15:24 +10:00
2015-06-02 20:21:45 +10:00
2015-07-20 05:30:08 +10:00
2015-03-29 03:56:39 +11:00
2015-06-27 11:00:47 +02:00
2015-05-13 11:00:23 +10:00
2015-04-16 01:12:22 +10:00
2015-03-29 03:56:39 +11:00
2015-07-29 10:49:34 +10:00
2015-08-05 15:11:50 +02:00
2015-06-05 11:46:01 +10:00
2015-07-18 22:49:10 +02:00
2015-07-13 18:17:46 +02:00
2015-04-06 10:40:12 -03:00
2015-04-06 10:40:12 -03:00
2015-04-07 08:46:48 +10:00
2015-08-18 07:01:26 +10:00
2015-08-18 07:01:26 +10:00