Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-12-01 14:16:29 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-12-01 14:16:29 +0300
commit9bbffd4e023212b7d31c46ba9a5d7d0cdee8353a (patch)
tree1d028c129738a522531b819293fe4a83b363414f /source/blender/blenloader
parentb2952023b688d886e34d734ca8c6d28df58ae547 (diff)
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 :(
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/versioning_legacy.c2
1 files changed, 1 insertions, 1 deletions
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);