Commit: 9bbffd4e023212b7d31c46ba9a5d7d0cdee8353a
Author: Sergey Sharybin
Date:   Fri Dec 1 12:16:29 2017 +0100
Branches: blender2.8
https://developer.blender.org/rB9bbffd4e023212b7d31c46ba9a5d7d0cdee8353a

Depsgraph: Don't use legacy flags in versioning code

Wondering whether files from 2.37 are still working fine.
Don't have that version of Blender running here, so can't test :(

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

M       source/blender/blenloader/intern/versioning_legacy.c

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

diff --git a/source/blender/blenloader/intern/versioning_legacy.c 
b/source/blender/blenloader/intern/versioning_legacy.c
index 36c524796ce..156a6e3d1c0 100644
--- a/source/blender/blenloader/intern/versioning_legacy.c
+++ b/source/blender/blenloader/intern/versioning_legacy.c
@@ -1871,7 +1871,7 @@ void blo_do_versions_pre250(FileData *fd, Library *lib, 
Main *main)
                                        BKE_pose_tag_recalc(main, ob->pose);
 
                                /* cannot call stuff now (pointers!), done in 
setup_app_data */
-                               ob->recalc |= 
OB_RECALC_OB|OB_RECALC_DATA|OB_RECALC_TIME;
+                               ob->id.tag |= LIB_TAG_ID_RECALC_ALL;
 
                                /* new generic xray option */
                                arm = blo_do_versions_newlibadr(fd, lib, 
ob->data);

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to