diff options
author | Nathan Craddock <nzcraddock@gmail.com> | 2019-08-05 21:31:25 +0300 |
---|---|---|
committer | Nathan Craddock <nzcraddock@gmail.com> | 2019-08-05 21:35:26 +0300 |
commit | fccf729f09548ae66ff85ceac5adad313fb73e3a (patch) | |
tree | 1553d0c07a8042bb01cbb4644a0eb592038cfc0b /source/blender/blenloader/intern/versioning_280.c | |
parent | 6f208b9024b05cbdc6d62b01199d24a6d2e51d7e (diff) |
Outliner: ensure all outliners start drawn synced
Adds flag setting for versioning and space duplicate and new
to sync each outliner on first draw and set synced selection to
the state of the duplicated outliner, or toggled on if creating
a new outliner.
Diffstat (limited to 'source/blender/blenloader/intern/versioning_280.c')
-rw-r--r-- | source/blender/blenloader/intern/versioning_280.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c index 1b5244b026e..f9820a663a4 100644 --- a/source/blender/blenloader/intern/versioning_280.c +++ b/source/blender/blenloader/intern/versioning_280.c @@ -3538,7 +3538,8 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain) for (SpaceLink *space = sa->spacedata.first; space; space = space->next) { if (space->spacetype == SPACE_OUTLINER) { SpaceOutliner *soutliner = (SpaceOutliner *)space; - soutliner->flag |= SO_IS_DIRTY | SO_SYNC_SELECT; + soutliner->sync_flag |= SO_SYNC_ALL; + soutliner->flag |= SO_SYNC_SELECT; } } } |