Blender Git Loki

Git Commits -> Revision 6bba830

Revision 6bba830 by Antonio Vazquez (master)
February 19, 2021, 16:41 (GMT)
GPencil: Interpolate Tools refactor

Following with the changes included to interpolate strokes of different number of points, a full review has been done in the interpolation tools.

* Interpolate now is a tool and not an operator. It was not logic to have this tool as a button.
* Interpolate tool parameters have been moved to topbar.
* Interpolate popover has been removed from topbar and interpolate `Sequence` operator has been moved to grease pencil menu.
* Interpolate Sequence now include a Redo panel.
* Interpolate tool now allows to select the strokes by pairs. This allows to interpolate any stroke with any stroke and not as before that it was only possible by drawing order. If no stroke is selected, the interpolation is done as before.
* Now is possible interpolate again if a previous keyframe exist. Before, it was impossible to interpolate two times in same frame and this made impossible to do the interpolation by groups of frames.
* New automatic option to `Flip strokes` if the stroke and end are not in the right position. Also the flip can be set manually for corner cases.
* Cleanup of menus related to interpolate.
* Fixed some bugs and removed parameters from scene because now all are tool or operator contained.
* Some code cleanup and function renames.

This commit also includes the some codebase to future implementation of the concept `Vertex Active` that now does not exist in grease pencil.

Commit Details:

Full Hash: 6bba830589860c32a2543b14cd2c9bcd2b9e4948
Parent Commit: 2441886
Lines Changed: +993, -492

25 Modified Paths:

/release/scripts/presets/keyconfig/keymap_data/blender_default.py (+22, -0) (Diff)
/release/scripts/startup/bl_ui/space_dopesheet.py (+9, -10) (Diff)
/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py (+45, -1) (Diff)
/release/scripts/startup/bl_ui/space_view3d.py (+0, -7) (Diff)
/release/scripts/startup/bl_ui/space_view3d_toolbar.py (+0, -53) (Diff)
/source/blender/blenkernel/BKE_gpencil.h (+5, -2) (Diff)
/source/blender/blenkernel/BKE_gpencil_curve.h (+6, -2) (Diff)
/source/blender/blenkernel/intern/gpencil.c (+26, -2) (Diff)
/source/blender/blenkernel/intern/gpencil_curve.c (+8, -4) (Diff)
/source/blender/blenkernel/intern/gpencil_geom.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/scene.c (+0, -2) (Diff)
/source/blender/blenloader/intern/versioning_290.c (+0, -8) (Diff)
/source/blender/editors/gpencil/gpencil_data.c (+2, -0) (Diff)
/source/blender/editors/gpencil/gpencil_edit.c (+10, -2) (Diff)
/source/blender/editors/gpencil/gpencil_edit_curve.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_intern.h (+0, -49) (Diff)
/source/blender/editors/gpencil/gpencil_interpolate.c (+772, -239) (Diff)
/source/blender/editors/gpencil/gpencil_merge.c (+3, -0) (Diff)
/source/blender/editors/gpencil/gpencil_primitive.c (+1, -0) (Diff)
/source/blender/editors/gpencil/gpencil_select.c (+43, -12) (Diff)
/source/blender/editors/gpencil/gpencil_utils.c (+22, -0) (Diff)
/source/blender/makesdna/DNA_gpencil_types.h (+8, -0) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+0, -16) (Diff)
/source/blender/makesrna/intern/rna_gpencil.c (+9, -1) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+0, -81) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021