Blender Git Loki

Git Commits -> Revision c5197cd

Revision c5197cd by Sybren A. Stüvel (sybren-usd)
July 16, 2019, 10:44 (GMT)
USD: Fixed issue with mesh particle export

When mesh particles were exported, the object name was still used for each
instance of that object. As such, only one instance was written to USD.
This is now fixed by suffixing the object name with the particle's
persistent ID, giving each particle XForm a unique name.

Particles are still only written when they are alive, which means that they
are always visible (there is currently no code that deals with marking them
as invisible outside their lifespan).

Commit Details:

Full Hash: c5197cdf4bcc1ca34a9b0e745732a42fee1b4442
Parent Commit: 275d237
Lines Changed: +58, -21

5 Modified Paths:

/source/blender/usd/intern/abstract_hierarchy_iterator.cc (+46, -12) (Diff)
/source/blender/usd/intern/abstract_hierarchy_iterator.h (+4, -5) (Diff)
/source/blender/usd/intern/usd_hierarchy_iterator.cc (+1, -3) (Diff)
/source/blender/usd/intern/usd_hierarchy_iterator.h (+1, -1) (Diff)
/source/blender/usd/intern/usd_writer_transform.cc (+6, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021