Blender Git Loki

Git Commits -> Revision 70852c8

Revision 70852c8 by Sybren A. Stüvel
February 24, 2017, 15:35 (GMT)
Alembic: fixed importer

The importer was guessing whether an Alembic IXform object was part of a
child object, or should be represented as an Empty in Blender. By reversing
the order in which objects are visited, the children can now claim their
parent as part of the same object (so IPolyMesh claims its parent IXform
as part of the same Blender object). This results in much less guesswork.

I've also removed similar guesswork from the code that sets parent pointers,
by simply searching for the parent in a hierarchical way, instead of trying
to predict (again) which IXforms were turned into empties.

Also, visit_object() now actually visits the object -- previously it only
visited its children, and assumed the object it was called on was already
handled by a previous call.

Commit Details:

Full Hash: 70852c88ad275cdaac4818b3b90c7a8b97225f8b
Parent Commit: e3bf024
Lines Changed: +152, -104

1 Modified Path:

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