From ec963d9d7d179e3ba12f5bdf748818939c2f17d8 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Fri, 19 Jun 2020 14:42:08 -0400 Subject: 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 --- source/blender/gpencil_modifiers/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/blender/gpencil_modifiers/CMakeLists.txt') diff --git a/source/blender/gpencil_modifiers/CMakeLists.txt b/source/blender/gpencil_modifiers/CMakeLists.txt index d3c85b891c6..92aacc74190 100644 --- a/source/blender/gpencil_modifiers/CMakeLists.txt +++ b/source/blender/gpencil_modifiers/CMakeLists.txt @@ -25,11 +25,14 @@ set(INC ../blenfont ../blenkernel ../blenlib + ../blentranslation ../bmesh ../depsgraph + ../editors/include ../makesdna ../makesrna ../render/extern/include + ../windowmanager ../../../intern/eigen ../../../intern/guardedalloc ) @@ -40,6 +43,7 @@ set(INC_SYS set(SRC intern/MOD_gpencil_util.h + intern/MOD_gpencil_ui_common.c intern/MOD_gpencil_util.c intern/MOD_gpencilarmature.c @@ -61,6 +65,7 @@ set(SRC intern/MOD_gpenciltime.c intern/MOD_gpenciltint.c + intern/MOD_gpencil_ui_common.h MOD_gpencil_modifiertypes.h ) -- cgit v1.2.3