a47310748953623702f71aab7dea0db43400b499
This changes the type of `new_id_to_item` from `GHash` to `Map<ID *, BlendfileLinkAppendContextItem *>` which simplifies code. For this to work nicely, `BlendfileLinkAppendContext` had to become a non-trivial type. Since it was allocated with `calloc` before, I gave all members zero-default-initializers. This also changes `BKE_blendfile_link_append_context_new` so that it uses `MEM_new` instead of allocating the `BlendfileLinkAppendContext` as part of the memory arena, because that's the more common way to do it, and it does not seem like saving this one allocation here makes a difference considering how this is used. Pull Request: https://projects.blender.org/blender/blender/pulls/124516
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
