Remplace bunch of annoying ifdefs in tracking.c with a libmv-capi_stub.cc

Makes code in tracking.cc much easier to understand and modify,
without worring to breck compulation with Libmv disabled.

It is still possible compilation will break due to libmv-capi
changes, but that's not happening so much often.
This commit is contained in:
Sergey Sharybin
2013-05-12 22:17:37 +00:00
parent 5c2355d364
commit 32faec1a53
12 changed files with 608 additions and 431 deletions

View File

@@ -151,6 +151,7 @@ endif()
bf_intern_opennl
extern_rangetree
extern_wcwidth
extern_libmv
)
if(WITH_MOD_CLOTH_ELTOPO)
@@ -166,7 +167,6 @@ endif()
endif()
if(WITH_LIBMV)
list(APPEND BLENDER_SORTED_LIBS extern_libmv)
list(APPEND BLENDER_SORTED_LIBS extern_ceres)
endif()