Blender Git Commit Log
Git Commits -> Revision a1c9d42
Revision a1c9d42 by Sybren A. Stüvel (master) May 26, 2020, 14:42 (GMT) |
Fix T77021: Alembic export of animated mesh with multiple UV maps fails This was caused by a side-effect of our exporting code's memory management (Alembic considers data "written" and "final" when its C++ objects go out of scope) in combination with my change in rB65574463fa2d. I removed an "only export UVs on the first frame" clause because it was unclear why this restriction was there. As it turns out, it breaks the export of the 2nd and subsequent UV maps on an animated mesh. Effectively, on every frame the Alembic library thought we want to create a new UV map, instead of continuing to write a new frame of data to the existing one. This is resolved by keeping a reference to the C++ objects for the UV maps in memory while the exporter is running. |
Commit Details:
Full Hash: a1c9d425844c5c2299daf9a89438d164f605407c
Parent Commit: f3cf29a
Lines Changed: +73, -5