Fix: Crash in 2.8 versioning after recent cleanup
Fix a mistake in 30a25a42e6.
Pull Request: https://projects.blender.org/blender/blender/pulls/108476
This commit is contained in:
committed by
Hans Goudey
parent
f63c3075cb
commit
a63c0a8fca
@@ -3053,7 +3053,10 @@ void blo_do_versions_280(FileData *fd, Library * /*lib*/, Main *bmain)
|
||||
MEM_callocN(sizeof(ARegion), "navigation bar for properties"));
|
||||
ARegion *region_header = nullptr;
|
||||
|
||||
LISTBASE_FOREACH (ARegion *, region_header, regionbase) {
|
||||
for (region_header = static_cast<ARegion *>(regionbase->first);
|
||||
region_header != nullptr;
|
||||
region_header = static_cast<ARegion *>(region_header->next))
|
||||
{
|
||||
if (region_header->regiontype == RGN_TYPE_HEADER) {
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user