Blender Git Loki

Git Commits -> Revision a82c9e1

Revision a82c9e1 by Campbell Barton (master)
October 11, 2021, 10:35 (GMT)
Fix T91169: bpy_extras.io_utils.create_derived_objects -> duplis error

This function now takes a depsgraph and a list of objects to avoid
inefficient O(n^2) iteration when extracting instances from all objects
in the scene. Returning an object -> instance map.

Note that keeping compatibility with the existing API wasn't practical
in this case since instances can no longer be generated from the scene
and it's objects.

Commit Details:

Full Hash: a82c9e1e405c84b9ab8b5c1f31d7e135ab41c101
Parent Commit: 0ceded7
Lines Changed: +34, -16

1 Modified Path:

/release/scripts/modules/bpy_extras/io_utils.py (+34, -16) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021