[Bf-blender-cvs] [2a0a19b5cab] uuid-id: Cleanup remove debug prints.
Bastien Montagne
noreply at git.blender.org
Thu Mar 5 16:16:55 CET 2020
Commit: 2a0a19b5cab7e38ca09577018e5d4506601dde21
Author: Bastien Montagne
Date: Thu Mar 5 16:16:38 2020 +0100
Branches: uuid-id
https://developer.blender.org/rB2a0a19b5cab7e38ca09577018e5d4506601dde21
Cleanup remove debug prints.
===================================================================
M source/blender/blenkernel/intern/lib_id.c
===================================================================
diff --git a/source/blender/blenkernel/intern/lib_id.c b/source/blender/blenkernel/intern/lib_id.c
index 0c8ecfc0a2b..92e9a7c6c79 100644
--- a/source/blender/blenkernel/intern/lib_id.c
+++ b/source/blender/blenkernel/intern/lib_id.c
@@ -1466,7 +1466,6 @@ static uint global_session_uuid = 0;
/** Reset the session-wise uuid counter (used when reading a new file e.g.). */
void BKE_lib_libblock_session_uuid_reset()
{
- printf("Reset session-wise UUID counter\n");
global_session_uuid = 0;
}
@@ -1485,7 +1484,6 @@ void BKE_lib_libblock_session_uuid_ensure(ID *id)
if (UNLIKELY(id->session_uuid == MAIN_ID_SESSION_UUID_UNSET)) {
id->session_uuid = atomic_add_and_fetch_uint32(&global_session_uuid, 1);
}
- printf("\tassigned uuid %u to %s\n", id->session_uuid, id->name);
}
}
More information about the Bf-blender-cvs
mailing list