Blender Git Loki
Git Commits -> Revision ec963d9
Revision ec963d9 by Hans Goudey (master) June 19, 2020, 18:42 (GMT) |
UI: Grease Pencil Modifier Drag and Drop, Layout Changes This patch implements the list panel system D7490 for grease pencil modifiers. It also moves their drawing to a callback in GpencilModifierTypeInfo in line with the extensible architecture refactoring goal T75724. This also adds the "set_error" function for grease pencil modifiers, which hadn't been copied from mesh modifiers yet. The implementation is basically exactly the same as for the modifier patch (9b099c86123fc82). Thanks to Matias Mendiola (mendio) for providing mockups for many of the layout changes. Differential Revision: https://developer.blender.org/D7978 |
Commit Details:
Full Hash: ec963d9d7d179e3ba12f5bdf748818939c2f17d8
Parent Commit: fb7d8e2
Lines Changed: +1974, -633
2 Added Paths:
/source/blender/gpencil_modifiers/intern/MOD_gpencil_ui_common.c (+460, -0) (View)
/source/blender/gpencil_modifiers/intern/MOD_gpencil_ui_common.h (+66, -0) (View)
/source/blender/gpencil_modifiers/intern/MOD_gpencil_ui_common.h (+66, -0) (View)
33 Modified Paths:
/release/scripts/startup/bl_ui/properties_data_modifier.py (+1, -483) (Diff)
/source/blender/blenkernel/BKE_gpencil_modifier.h (+10, -0) (Diff)
/source/blender/blenkernel/intern/gpencil_modifier.c (+39, -3) (Diff)
/source/blender/blenloader/intern/versioning_290.c (+15, -0) (Diff)
/source/blender/editors/include/ED_object.h (+4, -0) (Diff)
/source/blender/editors/include/UI_interface.h (+1, -0) (Diff)
/source/blender/editors/interface/interface_templates.c (+35, -127) (Diff)
/source/blender/editors/object/object_gpencil_modifier.c (+88, -0) (Diff)
/source/blender/editors/object/object_intern.h (+1, -0) (Diff)
/source/blender/editors/object/object_ops.c (+1, -0) (Diff)
/source/blender/editors/space_buttons/space_buttons.c (+7, -2) (Diff)
/source/blender/gpencil_modifiers/CMakeLists.txt (+5, -0) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilarmature.c (+45, -0) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilarray.c (+152, -0) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilbuild.c (+94, -0) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilcolor.c (+48, -0) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilhook.c (+87, -0) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencillattice.c (+60, -0) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilmirror.c (+46, -0) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilmultiply.c (+75, -1) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilnoise.c (+78, -0) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpenciloffset.c (+41, -0) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilopacity.c (+86, -0) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilsimplify.c (+54, -0) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilsmooth.c (+53, -0) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilsubdiv.c (+40, -0) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpenciltexture.c (+61, -1) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilthick.c (+52, -0) (Diff)
/source/blender/gpencil_modifiers/intern/mod_gpenciltime.c (+96, -1) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpenciltint.c (+62, -0) (Diff)
/source/blender/makesdna/DNA_gpencil_modifier_types.h (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_gpencil_modifier.c (+6, -7) (Diff)
/source/blender/makesrna/intern/rna_ui_api.c (+3, -6) (Diff)
/source/blender/blenkernel/BKE_gpencil_modifier.h (+10, -0) (Diff)
/source/blender/blenkernel/intern/gpencil_modifier.c (+39, -3) (Diff)
/source/blender/blenloader/intern/versioning_290.c (+15, -0) (Diff)
/source/blender/editors/include/ED_object.h (+4, -0) (Diff)
/source/blender/editors/include/UI_interface.h (+1, -0) (Diff)
/source/blender/editors/interface/interface_templates.c (+35, -127) (Diff)
/source/blender/editors/object/object_gpencil_modifier.c (+88, -0) (Diff)
/source/blender/editors/object/object_intern.h (+1, -0) (Diff)
/source/blender/editors/object/object_ops.c (+1, -0) (Diff)
/source/blender/editors/space_buttons/space_buttons.c (+7, -2) (Diff)
/source/blender/gpencil_modifiers/CMakeLists.txt (+5, -0) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilarmature.c (+45, -0) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilarray.c (+152, -0) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilbuild.c (+94, -0) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilcolor.c (+48, -0) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilhook.c (+87, -0) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencillattice.c (+60, -0) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilmirror.c (+46, -0) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilmultiply.c (+75, -1) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilnoise.c (+78, -0) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpenciloffset.c (+41, -0) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilopacity.c (+86, -0) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilsimplify.c (+54, -0) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilsmooth.c (+53, -0) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilsubdiv.c (+40, -0) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpenciltexture.c (+61, -1) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilthick.c (+52, -0) (Diff)
/source/blender/gpencil_modifiers/intern/mod_gpenciltime.c (+96, -1) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpenciltint.c (+62, -0) (Diff)
/source/blender/makesdna/DNA_gpencil_modifier_types.h (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_gpencil_modifier.c (+6, -7) (Diff)
/source/blender/makesrna/intern/rna_ui_api.c (+3, -6) (Diff)