diff options
author | Nathan Craddock <nzcraddock@gmail.com> | 2019-08-06 05:49:44 +0300 |
---|---|---|
committer | Nathan Craddock <nzcraddock@gmail.com> | 2019-08-06 05:49:44 +0300 |
commit | 63074fc8895bb95a580bafa1d5bcafc2bddba792 (patch) | |
tree | f49b0242fcbdd049cbcda14473b1676b310fc238 /source/blender/blenloader/intern/versioning_280.c | |
parent | fccf729f09548ae66ff85ceac5adad313fb73e3a (diff) |
Outliner: Refactor synced selection to use wm flags
Starting point to sync based on type to optimize syncing for
larger scenes. Also cleanup from review.
Diffstat (limited to 'source/blender/blenloader/intern/versioning_280.c')
-rw-r--r-- | source/blender/blenloader/intern/versioning_280.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c index f9820a663a4..f1f478df3ce 100644 --- a/source/blender/blenloader/intern/versioning_280.c +++ b/source/blender/blenloader/intern/versioning_280.c @@ -3538,7 +3538,7 @@ 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->sync_flag |= SO_SYNC_ALL; + soutliner->sync_flag |= SO_SYNC_TO_OUTLINER_ANY; soutliner->flag |= SO_SYNC_SELECT; } } |