July 19, 2013, 12:45 (GMT) |
Improve texture sampling. Don't revert the brush colour at end of operation if the operation is used once for sampling palettes (though the brush colour still changes during operator operation to display the colour sampled). Also added area message describing use (possibly could be used for value display too). |
July 19, 2013, 12:11 (GMT) |
Palettes: Refining based on user feedback on blenderartists: * Palette colors can be set to active brush by L-clicking * Palette colors can be edited by ctrl-L-clicking (regular colours can be edited by simply L-clicking) * Palette colors can be deleted by hovering over them and pressing delete or X To make this work, an extra button property was added. Also I separated the color button handling code since it was becoming too much of its own. |
July 18, 2013, 17:12 (GMT) |
Fix own buffer overflow when sampling colours, meant brush strength could be overwritten. |
July 18, 2013, 12:28 (GMT) |
User request: Add colours to palette when sampling with S and pressing Left Click. Also don't give a default palette to paint systems, it's not really necessary and it can pollute the UI. |
July 18, 2013, 11:44 (GMT) |
Merge trunk -r58364 into soc-2013-paint. Means new splash screen! |
July 18, 2013, 11:42 (GMT) |
Use regular drag'n drop system for pasting colors. That was a fun patch to write, it abuses the custom pointer of the drag system and required patching the drag'n drop system to support freeing the pointer if needed. The result is nice icons when dropping colours :). Unfortunately the name of the operator is strangely not always visible when dragging to a correct spot (such as the toolbar) |
July 18, 2013, 00:48 (GMT) |
Fix linking of blenderplayer |
July 17, 2013, 18:19 (GMT) |
Fix vertex painting not having palettes and colour sample operator (S) |
July 17, 2013, 17:53 (GMT) |
Enable drag'n'drop of colours from any region to any other region. |
July 17, 2013, 17:36 (GMT) |
Fix evil issue that prevented popping up a color widget if you had closed a previous widget by clicking to a colour button next to it. Also some style fixes and a better return value. |
July 17, 2013, 15:44 (GMT) |
Allow copying of non gamma-corrected colors. |
July 17, 2013, 15:34 (GMT) |
Fix memory leak in invalid drags, also add byte image case (should probably be color corrected but I need a use case to test) |
July 17, 2013, 15:22 (GMT) |
Uability feature to make palettes and other colour stuff work nice: Support drag'n drop of colours from colour widgets. This requires a few changes to the way colour pickers pop up, they now spawn on mouse release instead of mouse press. Dragging to another colour copies the first colour to the second. Unfortunately there's no undo here yet. |
July 17, 2013, 11:41 (GMT) |
* Palette colours get added to toolbar according to toolbar length. * Add operator for adding colours. |
July 17, 2013, 10:19 (GMT) |
Palette Colours are now visible. Still no operator to add colours visible in UI but colours can be added by using operator search (palette colour add) Palettes only active on image painting currently |
July 17, 2013, 10:19 (GMT) |
Merge trunk -r58316 into soc-2013-paint |
July 15, 2013, 21:42 (GMT) |
Some renames, operators for adding colours to palette, fixes to read/write of palettes, RNA properties of colours. |
July 15, 2013, 19:51 (GMT) |
* Use writedata instead of writestruct. * Vertex painting did not work due to own mistake in backbuffer sampling. |
July 15, 2013, 18:39 (GMT) |
File saving code for palettes. |
July 15, 2013, 16:17 (GMT) |
Merge trunk -r58270 into soc-2013-paint |
|