[Bf-blender-cvs] [a3b26adf98b] uuid-undo-experiments: Fix typo leading to crash in debug prints.
Bastien Montagne
noreply at git.blender.org
Sat Apr 4 16:17:50 CEST 2020
Commit: a3b26adf98bd10a4407c456aef74f51dc508b8ae
Author: Bastien Montagne
Date: Sat Apr 4 16:17:26 2020 +0200
Branches: uuid-undo-experiments
https://developer.blender.org/rBa3b26adf98bd10a4407c456aef74f51dc508b8ae
Fix typo leading to crash in debug prints.
===================================================================
M source/blender/blenloader/intern/readfile.c
===================================================================
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index e0ceea0fd55..8f73ce48b37 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -9462,7 +9462,7 @@ static BHead *read_libblock(FileData *fd,
oldnewmap_free_unused(fd->datamap);
oldnewmap_clear(fd->datamap);
- if (DEBUG_CHECK_ID_FOR_UNDO(id)) {
+ if (DEBUG_CHECK_ID_FOR_UNDO(id_old)) {
printf("ID %s will have recalc flags: ", id_old->name);
DEG_id_recalc_print(id_old);
printf("\n\n");
More information about the Bf-blender-cvs
mailing list