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 6d6e06d 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 - Changing assigned palette via RNA calls relevant API func to set things correctly |
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 |
Revision ac68a69 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: Add 2D monkey adds palette link |
Revision c3b9b7b 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: Strokes weren't visible while drawing Missed this usage of palettes in previous commit |
Revision 8cbc733 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 - Replace all places initialising GP palettes |
Revision 9241122 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) |
GP: Modify existing operators to use new palette api's |
Revision d01d7d0 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 - Group all palette initialisation stuff together in same function |
Revision 8f34d5c 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) |
Cleanup - Change naming of Palette Slot vars to be easier to type |
Revision 5d69c71 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: Internal API's for managing Palettes |
October 3, 2017, 20:20 (GMT) |
Cleanup/fixes compilation warnings. Mainly, shadowing variables and unused parameters. |
October 3, 2017, 19:33 (GMT) |
Merge branch 'master' into soc-2017-normal-tools |
Revision 855d295 by Campbell Barton / Bastien Montagne (blender-v2.79-release, blender-v2.79a-release, blender-v2.79b-release, fracture_modifier, fracture_modifier-master, temp-fracture-modifier-2.8) October 3, 2017, 17:58 (GMT) |
Docs: update API changelog to 2.79 |
October 3, 2017, 17:16 (GMT) |
Fixed error in mod with many loops sharing edge. Also removed redundant function and replaced its definition to BKE_mesh.h |
Revision ec6f392 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 3, 2017, 16:28 (GMT) |
Merge branch 'blender2.8' into greasepencil-object |
Revision 0e99d51 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 3, 2017, 16:27 (GMT) |
Remove antialiasing code These functions are not working here. Need a new approach using FXAA. |
Revision ba077b3 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 3, 2017, 15:58 (GMT) |
Add function to fix palette bug Added a function to fix old files with palette set to NULL by program error. This fix will be removed in the future, but now it's required to work in open movie files. |
|
|
|


Master Commits
MiikaHweb | 2003-2021