3fc97a3ed43804c39f6788676dec6bd35d597074
This fixes an issue where a CacheFile was always created for the USD file, causing USD_create_handle() to be called unnecessarily even if the USD does not have animating meshes or transforms. This bug would sometimes result in the stage remaining open in a CacheArchiveHandle after import (because the CacheFile is never freed), preventing the USD from being reloaded from disk. The cache file is now accessible to readers through an ImportSettings::get_cache_file function wrapper which creates a CacheFile as needed, the first time the function is called. The allocated CacheFile pointer is now stored in a new ImportJobData::cache_file member. Pull Request: https://projects.blender.org/blender/blender/pulls/116242
…
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%
