Blender Git Loki

Git Commits -> Revision c0cb036

Revision c0cb036 by Kévin Dietrich (alembic_basic_io)
June 6, 2016, 08:30 (GMT)
Use a hash map to store object reader / object path pair to be able to
reconstruct the object hierarchy more easily.

The previous approach was brute forcing by iterating over all the
objects in the scene for each object creating to find the object
(parent) that has the same name as its parent in the abc archive.

This was both inefficient and prone to errors since multiple objects in
the abc archive can have the same name, as long as their path are
different, but Blender only allows for unique object name, so the wrong
object could have been choosen as the parent of a given object.

Now all of the tests file import correctly.

Commit Details:

Full Hash: c0cb036a5aa8909f7f2df10e786d53c950d53830
Parent Commit: ef6fde1
Lines Changed: +41, -44

1 Modified Path:

/source/blender/alembic/intern/alembic_capi.cc (+41, -44) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021