Commit: a608df8e27b8231ab959d0143e4cc9bc0986139b Author: Bastien Montagne Date: Fri Feb 14 14:55:03 2020 +0100 Branches: readfile-rework-refcount-handling https://developer.blender.org/rBa608df8e27b8231ab959d0143e4cc9bc0986139b
Cleanup: remove timing debug calls. We now know that extra time spent here is neglectable. =================================================================== M source/blender/blenloader/intern/readfile.c =================================================================== diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index d3e1eaa3801..10a85274b64 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -9384,7 +9384,7 @@ static void do_versions_after_linking(Main *main, ReportList *reports) /* -------------------------------------------------------------------- */ /** \name Read Library Data Block (all) * \{ */ -#include "PIL_time_utildefines.h" + static void lib_link_all(FileData *fd, Main *bmain) { ID *id; @@ -9526,13 +9526,11 @@ static void lib_link_all(FileData *fd, Main *bmain) } FOREACH_MAIN_ID_END; - TIMEIT_START(readfile_refcount_recomp); /* We cannot do that here in undo case, we play too much with IDs from different memory realms, * and Main database is in pretty bad state currently. */ if (fd->memfile == NULL) { BKE_main_id_refcount_recompute(bmain, false); } - TIMEIT_END(readfile_refcount_recomp); /* Check for possible cycles in scenes' 'set' background property. */ lib_link_scenes_check_set(bmain); _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs