[Bf-blender-cvs] [f112fb7d78a] uuid-undo-experiments-swap-reread-datablocks: undoe-experiments: cleanup: proper printf format for uint...

Bastien Montagne noreply at git.blender.org
Tue Mar 10 17:35:02 CET 2020


Commit: f112fb7d78a1dfabded5b7675c492a26dd6bbde2
Author: Bastien Montagne
Date:   Tue Mar 10 15:10:02 2020 +0100
Branches: uuid-undo-experiments-swap-reread-datablocks
https://developer.blender.org/rBf112fb7d78a1dfabded5b7675c492a26dd6bbde2

undoe-experiments: cleanup: proper printf format for uint...

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

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

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

diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index a0a80486e4a..48143dc930a 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -9168,7 +9168,7 @@ static BHead *read_libblock(FileData *fd,
 
         /* Find the 'current' existing ID we want to reuse instead of the one we would read from
          * the undo memfile. */
-        DEBUG_PRINTF("\t Looking for ID %s with uuid %d instead of newly read one\n",
+        DEBUG_PRINTF("\t Looking for ID %s with uuid %u instead of newly read one\n",
                      id->name,
                      id->session_uuid);
         id_old = do_partial_undo ? BKE_main_idmap_lookup_uuid(fd->old_idmap, id->session_uuid) :
@@ -9249,7 +9249,7 @@ static BHead *read_libblock(FileData *fd,
        * addresses for those as well. */
       if (fd->memfile != NULL && do_partial_undo && id->lib == NULL) {
         BLI_assert(fd->old_idmap != NULL);
-        DEBUG_PRINTF("\t Looking for ID %s with uuid %d instead of newly read one\n",
+        DEBUG_PRINTF("\t Looking for ID %s with uuid %u instead of newly read one\n",
                      id->name,
                      id->session_uuid);
         id_old = BKE_main_idmap_lookup_uuid(fd->old_idmap, id->session_uuid);



More information about the Bf-blender-cvs mailing list