diff options
author | Hans Goudey <h.goudey@me.com> | 2020-07-03 17:03:16 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-07-03 17:03:16 +0300 |
commit | 6a58e15548c33444fa1845a6fad080faff008cfd (patch) | |
tree | 1b844bb18e31e30fcb28734b6521a036e6dce0cb /source/blender/makesdna | |
parent | 88d358902f53322c81bc663651af193cb696a1c1 (diff) |
Cleanup: Remove obsolete code in interface_panel.c
Some code delt with panel merging in earlier versions of Blender,
which is no longer needed. Other code delt with controls that aren't
used anymore, and in some cases have region-level equivalents.
There's a surprising amount of this unused code in this file, so removing it
will be helpful for the future.
Differential Revision: https://developer.blender.org/D7938
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_screen_types.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h index f9fcbdab55d..72421ecb79d 100644 --- a/source/blender/makesdna/DNA_screen_types.h +++ b/source/blender/makesdna/DNA_screen_types.h @@ -167,9 +167,8 @@ typedef struct Panel { /** Panel size excluding children. */ int blocksizex, blocksizey; short labelofs; - char _pad[2]; + char _pad[4]; short flag, runtime_flag; - short control; short snap; /** Panels are aligned according to increasing sort-order. */ int sortorder; @@ -539,8 +538,8 @@ enum { PNL_CLOSEDX = (1 << 1), PNL_CLOSEDY = (1 << 2), PNL_CLOSED = (PNL_CLOSEDX | PNL_CLOSEDY), - /*PNL_TABBED = (1 << 3), */ /*UNUSED*/ - PNL_OVERLAP = (1 << 4), + /* PNL_TABBED = (1 << 3), */ /*UNUSED*/ + /* PNL_OVERLAP = (1 << 4), */ /*UNUSED*/ PNL_PIN = (1 << 5), PNL_POPOVER = (1 << 6), /** The panel has been drag-drop reordered and the instanced panel list needs to be rebuilt. */ |