Fix T64791: light sun angle not saved

There is a deeper problem here with DNA_struct_elem_find and Lamp/Light name
aliasing, to be fixed separately.
This commit is contained in:
Brecht Van Lommel 2019-05-18 12:44:44 +02:00
parent 79cfd5134d
commit 8a5effe967
Notes: blender-bot 2023-02-14 02:33:31 +01:00
Referenced by issue #64791, Use aliased names for file versioning checks
1 changed files with 5 additions and 2 deletions

View File

@ -3437,8 +3437,7 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain)
}
}
{
/* Versioning code until next subversion bump goes here. */
if (!MAIN_VERSION_ATLEAST(bmain, 280, 69)) {
LISTBASE_FOREACH (bArmature *, arm, &bmain->armatures) {
arm->flag &= ~(ARM_FLAG_UNUSED_7 | ARM_FLAG_UNUSED_9);
}
@ -3450,4 +3449,8 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain)
}
}
}
{
/* Versioning code until next subversion bump goes here. */
}
}