Fix failing assert when reading workspace list from workspaces.blend

This commit is contained in:
Julian Eisel 2017-12-15 17:24:10 +01:00
parent 114013de0d
commit 5cb70a89e1
1 changed files with 3 additions and 1 deletions

View File

@ -562,7 +562,9 @@ void do_versions_after_linking_280(Main *main)
}
}
}
BLI_assert(workspace->view_layer == NULL);
/* While this should apply to most cases, it fails when reading workspaces.blend
* to get its list of workspaces without actually appending any of them. */
// BLI_assert(workspace->view_layer == NULL);
}
}