[Bf-blender-cvs] [8a5effe9670] master: Fix T64791: light sun angle not saved

Brecht Van Lommel noreply at git.blender.org
Sat May 18 12:46:28 CEST 2019


Commit: 8a5effe967052038a0ca0a0eac5cf6d9d056aede
Author: Brecht Van Lommel
Date:   Sat May 18 12:44:44 2019 +0200
Branches: master
https://developer.blender.org/rB8a5effe967052038a0ca0a0eac5cf6d9d056aede

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.

===================================================================

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 4d4dc227589..7ba0eb7b791 100644
--- a/source/blender/blenloader/intern/versioning_280.c
+++ b/source/blender/blenloader/intern/versioning_280.c
@@ -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. */
+  }
 }



More information about the Bf-blender-cvs mailing list