Blender Git Commit Log

Git Commits -> Revision a7c5f4f

Revision a7c5f4f by Sybren A. Stüvel (master)
December 28, 2018, 17:05 (GMT)
Fix T57078: Alembic curve import: better check for topology similarity

The old code assumed that if the number of curves was the same, the
entire set of curves would have the same topology (in other words, it
assumed 'same number of curves => same number of vertices for each
curve').

I've added a more thorough check that also considers the number of
vertices in each curve. This still keeps certain assumptions in place
(for example that if the topology is the same, the weights won't change,
which is not necessarily true). However, when the assumption doesn't
hold, at least now Blender doesn't crash any more.

Commit Details:

Full Hash: a7c5f4f20657e12b43337e32bc62a876cbbe6292
Parent Commit: 196a511
Lines Changed: +17, -3

1 Modified Path:

/source/blender/alembic/intern/abc_curves.cc (+17, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021