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 108c4bd502.
This commit is contained in:
Dalai Felinto 2017-12-01 15:26:46 -02:00
parent 108c4bd502
commit e9cf3fae8e
1 changed files with 1 additions and 1 deletions

View File

@ -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