Grease Pencil v2 Branch

Improve current Grease Pencil in order to get a better 2D animation tool.

More info in WIKI pages: https://wiki.blender.org/index.php/User:Antoniov

Reviewed By: Severin, aligorith, campbellbarton

Patch by @antoniov, with edits by @Severin.

Differential Revision: https://developer.blender.org/D2115
This commit is contained in:
2016-08-03 23:31:48 +02:00
committed by Julian Eisel
parent 9d4ea84277
commit eaea4ea51f
58 changed files with 7245 additions and 784 deletions

View File

@@ -1112,6 +1112,21 @@ bGPDlayer *CTX_data_active_gpencil_layer(const bContext *C)
return ctx_data_pointer_get(C, "active_gpencil_layer");
}
bGPDpalette *CTX_data_active_gpencil_palette(const bContext *C)
{
return ctx_data_pointer_get(C, "active_gpencil_palette");
}
bGPDpalettecolor *CTX_data_active_gpencil_palettecolor(const bContext *C)
{
return ctx_data_pointer_get(C, "active_gpencil_palettecolor");
}
bGPDbrush *CTX_data_active_gpencil_brush(const bContext *C)
{
return ctx_data_pointer_get(C, "active_gpencil_brush");
}
bGPDframe *CTX_data_active_gpencil_frame(const bContext *C)
{
return ctx_data_pointer_get(C, "active_gpencil_frame");