Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAras Pranckevicius <aras@nesnausk.org>2022-06-17 22:28:22 +0300
committerAras Pranckevicius <aras@nesnausk.org>2022-06-17 22:28:22 +0300
commit5b5811c97b59fd187a7aafd874535c749054d5db (patch)
tree0302a5af3f62cd1d449a75377f0a3c8d17f0c55c /source/blender/blenfont
parent230f72347a9931b0f2e39ffeff63db43db3787a1 (diff)
USD: speed up large USD imports by not rebuilding material name map for each object
Previous code was rebuilding "name to material" map for each object being imported. Which means O(N*M) complexity (N=object count, M=material count). There was already a TODO comment suggesting that a single map that's maintained for the whole import would be enough. This commit does exactly that. While importing Moana USD scene (260k objects, 18k materials) this saves about 6 minutes of import time. Reviewed By: Bastien Montagne Differential Revision: https://developer.blender.org/D15222
Diffstat (limited to 'source/blender/blenfont')
0 files changed, 0 insertions, 0 deletions