Blender Git Loki
Git Commits -> Revision 0f83cba
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. |
Commit Details:
Full Hash: 0f83cba7d246e05eb7edf3ab0d97d6bee257b042
Parent Commit: 7c9467a
Lines Changed: +15, -3
1 Modified Path:
/source/blender/blenkernel/intern/paint.c (+15, -3) (Diff)