Blender Git Commit Log

Git Commits -> Revision 8d3e57f

Revision 8d3e57f by Bastien Montagne (master)
December 22, 2021, 16:34 (GMT)
Fix T93799: Outliner: Remaping objects could result in duplicates in a collection.

Fix is similar to how CollectionObject with NULL object pointers are handled.

Using one of the 'free' pad bytes in Object_Runtime struct instead of a
gset (or other external way to detect object duplicates), as this is
several times faster.

NOTE: This makes remapping slightly slower again (adds 10 extra seconds
to file case in T94059).

General improvements of remapping time complexity, especially when
remapping a lot of IDs at once, is a separate topic currently
investigated in D13615.

Commit Details:

Full Hash: 8d3e57f338234995c30ae702fff62ed6229f762e
Parent Commit: 902318f
Lines Changed: +70, -1

4 Modified Paths:

/source/blender/blenkernel/BKE_collection.h (+14, -0) (Diff)
/source/blender/blenkernel/intern/collection.c (+44, -0) (Diff)
/source/blender/blenkernel/intern/lib_remap.c (+6, -0) (Diff)
/source/blender/makesdna/DNA_object_types.h (+6, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021