Revision 32c0a98 by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) October 4, 2017, 21:06 (GMT) |
Merge branch 'blender2.8' into greasepencil-object |
Revision 31efc62 by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) October 4, 2017, 21:01 (GMT) |
Fix: Palettes were getting freed before GPencil datablocks on exit |
Revision cf87d57 by Antonio Vazquez (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) October 4, 2017, 13:12 (GMT) |
First test to implement FXAA |
Revision c3d6b5e by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) October 4, 2017, 12:52 (GMT) |
Merge branch 'blender2.8' into greasepencil-object |
Revision 432bd31 by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) October 4, 2017, 12:16 (GMT) |
Fix compile error after merge (Also added convenience API to make it easier to add new palettes to GP datablock without having to worry about manually fixing usercount) |
Revision 59310a9 by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) October 4, 2017, 11:52 (GMT) |
Fix: When adding 2D Monkey, the Palette got too many users assigned |
Revision b83d722 by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) October 4, 2017, 11:52 (GMT) |
Added missing support for duplicating Palette Slots when copying GP data For now, it will only increment the usercount of the referenced palettes. |
Revision ebe0113 by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) October 4, 2017, 11:52 (GMT) |
Code Cleanup / TODO Notes (re- reuse of palettes when validating) |
Revision bacca73 by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) October 4, 2017, 11:52 (GMT) |
Code Cleanup / Compile Fix Further cleanups for the 2D monkey primitive - this time, to move all the data arrays out of the single massive function, and out to file level. Hopefully this solves the compile problems with GCC. If nothing else, the file now compiles much faster here on MSVC (i.e. previously, it was taking ~10-20 seconds to compile) |
Revision df62778 by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) October 4, 2017, 11:52 (GMT) |
Tweak behaviour of adding a new GP Palette (to match other parts of Blender) When creating a new Palette with an existing Palette assigned to a slot, a copy of the old Palette will be created (i.e. the new copy will have all the same colours), instead of creating a blank palette. This makes it easier to create different versions of the same palette. |
Revision 490a3bb by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) October 4, 2017, 11:52 (GMT) |
Palette Slots - Temporary verison-patching code to add slots for early 2.8 files saved without these |
Revision 1369e9d by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) October 4, 2017, 11:52 (GMT) |
Palette Slots - Add operators to Add/Remove Palette Slots * Add will create a new (empty) slot by default * Remove will shown an error if the slot is currently still used by any strokes. Perhaps in future, it should remap the strokes instead? * Added icon for Palette Slots (it uses the same icon as Palettes now) |
Revision 5dbb81a by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) October 4, 2017, 11:52 (GMT) |
Fix: Missing undo flags for various GP operators |
Revision 8c8c807 by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) October 4, 2017, 11:52 (GMT) |
Code Cleanup - Remove old/non-existent operator defines |
Revision cc1a0fc by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) October 4, 2017, 11:52 (GMT) |
Fix: Newly created palettes for palette slots got an extra/unneeded user |
Revision 49f3949 by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) October 4, 2017, 11:52 (GMT) |
Various fixes to get GP Palettes UI working * Switched the UI to using the "active_gpencil_palette" (and palette color) context vars (in favor of the "active_palette"/color) ones for retrieving the active palette. For some unknown reason, context.active_object returns null when trying to use it in the Properties Editor when drawing UI layouts, but it works perfectly fine when operators calling operator.poll() or running operators. * Sanitise many of the hacks added to the Palette operators to make them usable for Grease Pencil-linked palettes (e.g. remove special hacky args) * Add RNA support for getting the active GP palette slot |
Revision 0f83cba by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) October 4, 2017, 11:52 (GMT) |
BKE_palette_get_active_from_context(C) now retrieves GP palettes from the active palette slot if the active object is a GP object This makes it possible to reuse all the Palette operators as-is, without having to add a lot of GP-specific duplicates, and also simplifies much of the context polling stuff. |
Revision 7c9467a by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) October 4, 2017, 11:52 (GMT) |
Palette Slots - Add UI panel for Palette slots |
Revision aed1892 by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) October 4, 2017, 11:52 (GMT) |
Code Cleanup: Move panel definitions for Palette-based colors to the Material panels file Annotations (GP in 2D editors) will not be using this stuff, as they will not have most of the fancy drawing options (as they are based on the traditional 2D api instead). |
Revision 3dced61 by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) October 4, 2017, 11:52 (GMT) |
Fix: Don't create redundant palette for Monkey |
|