Blender Git Loki
Git Commits -> Revision e02d84e
Revision e02d84e by Antonio Vazquez (master) January 16, 2021, 14:46 (GMT) |
GPencil: Add new parameteres to transform layers When using grease pencil for drawing Storyboards, it's very common to require a transform of the layers. This transform can be done using the offset modifier, but in some cases, the scene requires a lot of modifiers and makes the file hard to work. This new feature adds a transforms Location, Rotation and Scale at Layer level, and allows to transform the layer without using a modifier, keeping the scene more clean. {F9480695} This feature was suggested by @pepeland after receiving feedback from several artists. Also, done some code cleanup and rename some functions to get a better naming. Maniphest Tasks: T83660 Differential Revision: https://developer.blender.org/D9761 |
Commit Details:
Full Hash: e02d84eb3bea710aa4a658629813bd7e4c67ce4c
Parent Commit: 0a44c4b
Lines Changed: +316, -101
25 Modified Paths:
/release/scripts/startup/bl_ui/properties_grease_pencil_common.py (+10, -0) (Diff)
/source/blender/blenkernel/BKE_gpencil.h (+5, -5) (Diff)
/source/blender/blenkernel/intern/gpencil.c (+81, -27) (Diff)
/source/blender/blenkernel/intern/gpencil_modifier.c (+7, -2) (Diff)
/source/blender/blenkernel/intern/object_update.c (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_290.c (+13, -0) (Diff)
/source/blender/draw/engines/overlay/overlay_gpencil.c (+15, -0) (Diff)
/source/blender/draw/intern/draw_cache_impl_gpencil.c (+4, -4) (Diff)
/source/blender/editors/gpencil/gpencil_convert.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_data.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_edit.c (+3, -3) (Diff)
/source/blender/editors/gpencil/gpencil_fill.c (+4, -4) (Diff)
/source/blender/editors/gpencil/gpencil_intern.h (+8, -4) (Diff)
/source/blender/editors/gpencil/gpencil_paint.c (+12, -5) (Diff)
/source/blender/editors/gpencil/gpencil_primitive.c (+7, -3) (Diff)
/source/blender/editors/gpencil/gpencil_sculpt_paint.c (+14, -6) (Diff)
/source/blender/editors/gpencil/gpencil_utils.c (+42, -13) (Diff)
/source/blender/editors/gpencil/gpencil_vertex_paint.c (+14, -9) (Diff)
/source/blender/editors/gpencil/gpencil_weight_paint.c (+14, -9) (Diff)
/source/blender/editors/include/ED_gpencil.h (+2, -0) (Diff)
/source/blender/editors/object/object_transform.c (+1, -1) (Diff)
/source/blender/editors/transform/transform_convert_gpencil.c (+2, -2) (Diff)
/source/blender/editors/transform/transform_gizmo_3d.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_gpencil_types.h (+5, -0) (Diff)
/source/blender/makesrna/intern/rna_gpencil.c (+49, -0) (Diff)
/source/blender/blenkernel/BKE_gpencil.h (+5, -5) (Diff)
/source/blender/blenkernel/intern/gpencil.c (+81, -27) (Diff)
/source/blender/blenkernel/intern/gpencil_modifier.c (+7, -2) (Diff)
/source/blender/blenkernel/intern/object_update.c (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_290.c (+13, -0) (Diff)
/source/blender/draw/engines/overlay/overlay_gpencil.c (+15, -0) (Diff)
/source/blender/draw/intern/draw_cache_impl_gpencil.c (+4, -4) (Diff)
/source/blender/editors/gpencil/gpencil_convert.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_data.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_edit.c (+3, -3) (Diff)
/source/blender/editors/gpencil/gpencil_fill.c (+4, -4) (Diff)
/source/blender/editors/gpencil/gpencil_intern.h (+8, -4) (Diff)
/source/blender/editors/gpencil/gpencil_paint.c (+12, -5) (Diff)
/source/blender/editors/gpencil/gpencil_primitive.c (+7, -3) (Diff)
/source/blender/editors/gpencil/gpencil_sculpt_paint.c (+14, -6) (Diff)
/source/blender/editors/gpencil/gpencil_utils.c (+42, -13) (Diff)
/source/blender/editors/gpencil/gpencil_vertex_paint.c (+14, -9) (Diff)
/source/blender/editors/gpencil/gpencil_weight_paint.c (+14, -9) (Diff)
/source/blender/editors/include/ED_gpencil.h (+2, -0) (Diff)
/source/blender/editors/object/object_transform.c (+1, -1) (Diff)
/source/blender/editors/transform/transform_convert_gpencil.c (+2, -2) (Diff)
/source/blender/editors/transform/transform_gizmo_3d.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_gpencil_types.h (+5, -0) (Diff)
/source/blender/makesrna/intern/rna_gpencil.c (+49, -0) (Diff)