diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2017-12-01 20:26:46 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2017-12-01 20:28:29 +0300 |
commit | e9cf3fae8e2b5c419bdafcbe312483ce0c38552e (patch) | |
tree | 3edd3c71e7899b8aeb53d52739432bec1aafcb62 /source/blender | |
parent | 108c4bd5026d2843c8bd49ffb1cee41d6d905375 (diff) |
Fixup for workspace view_layer fix
We do not assume subversion bump until we actually change the subversion.
For example, a branch may have bumped its subversion to 3, yet still require
the new doversion code introduced on 108c4bd5026.
Diffstat (limited to 'source/blender')
-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 c718702388a..f500e64d3f9 100644 --- a/source/blender/blenloader/intern/versioning_280.c +++ b/source/blender/blenloader/intern/versioning_280.c @@ -549,7 +549,7 @@ void do_versions_after_linking_280(Main *main) } } - if (!MAIN_VERSION_ATLEAST(main, 280, 3)) { + { for (WorkSpace *workspace = main->workspaces.first; workspace; workspace = workspace->id.next) { if (workspace->view_layer) { /* During 2.8 work we temporarly stored view-layer in the |