[Bf-blender-cvs] [e394a78b4c7] blender2.8: Fix compilation issue due to last commit.
Clément Foucault
noreply at git.blender.org
Tue Jun 5 19:49:27 CEST 2018
Commit: e394a78b4c7152f4f288be9174f843b9676391f4
Author: Clément Foucault
Date: Tue Jun 5 19:49:12 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBe394a78b4c7152f4f288be9174f843b9676391f4
Fix compilation issue due to last commit.
===================================================================
M source/blender/blenloader/intern/versioning_280.c
===================================================================
diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c
index cbfcce963e3..b4f0b2ddfd2 100644
--- a/source/blender/blenloader/intern/versioning_280.c
+++ b/source/blender/blenloader/intern/versioning_280.c
@@ -1554,7 +1554,7 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain)
}
}
if (!DNA_struct_elem_find(fd->filesdna, "View3DShading", "float", "wireframe_threshold")) {
- for (bScreen *screen = main->screen.first; screen; screen = screen->id.next) {
+ for (bScreen *screen = bmain->screen.first; screen; screen = screen->id.next) {
for (ScrArea *sa = screen->areabase.first; sa; sa = sa->next) {
for (SpaceLink *sl = sa->spacedata.first; sl; sl = sl->next) {
if (sl->spacetype == SPACE_VIEW3D) {
More information about the Bf-blender-cvs
mailing list