Blender Git Loki

Git Commits -> Revision 2b36cf3

Revision 2b36cf3 by Sergey Sharybin (master)
May 15, 2020, 12:59 (GMT)
Libmv: Fix crash solving when having negative frames

Don't use linear array with frame as an index since it has the
following disadvantages:

- Requires every application to take care of frame remapping, which
could be way more annoying than it sounds.

- Inefficient from memory point of view when solving part of a footage
which is closer to the end of frame range.

Using map technically is slower from performance point of view, but
could not feel any difference as the actual computation is way more
complex than access of camera on individual frames.

Solves crash aspect of T72009

Commit Details:

Full Hash: 2b36cf311811e728701a62b08da898a7d1c3fbc9
Parent Commit: 86580c4
Lines Changed: +66, -72

4 Modified Paths:

/intern/libmv/libmv/autotrack/reconstruction.h (+2, -1) (Diff)
/intern/libmv/libmv/simple_pipeline/bundle.cc (+24, -33) (Diff)
/intern/libmv/libmv/simple_pipeline/reconstruction.cc (+29, -36) (Diff)
/intern/libmv/libmv/simple_pipeline/reconstruction.h (+11, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021