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:
@@ -932,6 +932,7 @@ endif()
|
||||
bf_intern_opencolorio
|
||||
extern_rangetree
|
||||
extern_wcwidth
|
||||
extern_libmv
|
||||
)
|
||||
|
||||
if(WITH_COMPOSITOR)
|
||||
@@ -941,7 +942,6 @@ endif()
|
||||
endif()
|
||||
|
||||
if(WITH_LIBMV)
|
||||
list(APPEND BLENDER_SORTED_LIBS extern_libmv)
|
||||
list(APPEND BLENDER_SORTED_LIBS extern_ceres)
|
||||
endif()
|
||||
|
||||
|
Reference in New Issue
Block a user