diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-07-28 05:00:58 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-07-28 05:00:58 +0300 |
commit | 251349c3c2269fff915d1bb85911211563493071 (patch) | |
tree | 35524bdb77d583562227ee11b1ff516ea278e00e /source/blender/makesdna | |
parent | b1532493c27b08444745cef348641f3a0e899ba8 (diff) | |
parent | a27acefd0c89aab63a6c243a844e2790dfad961a (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_screen_types.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h index fbeabb351ac..e208ef39719 100644 --- a/source/blender/makesdna/DNA_screen_types.h +++ b/source/blender/makesdna/DNA_screen_types.h @@ -218,11 +218,18 @@ typedef struct ScrArea { char temp, pad; struct SpaceType *type; /* callbacks for this space type */ - - ListBase spacedata; /* SpaceLink */ - ListBase regionbase; /* ARegion */ - ListBase handlers; /* wmEventHandler */ - + + /* A list of space links (editors) that were open in this area before. When + * changing the editor type, we try to reuse old editor data from this list. + * The first item is the active/visible one. + */ + ListBase spacedata; /* SpaceLink */ + /* NOTE: This region list is the one from the active/visible editor (first item in + * spacedata list). Use SpaceLink.regionbase if it's inactive (but only then)! + */ + ListBase regionbase; /* ARegion */ + ListBase handlers; /* wmEventHandler */ + ListBase actionzones; /* AZone */ } ScrArea; |