Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2013-02-20 15:29:43 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2013-02-20 15:29:43 +0400
commit1f88ee6213ed5e8b60597034d52188256448b104 (patch)
treebbaa669638801fa6a4760de77f7e522665ed9bf9 /source/creator
parent5d04d06d76f0f48c0bc42c223b204b062938df04 (diff)
Fix #34299: Motion Tracking 20x slower under Windows
Root of the issue goes to SSBA library which didn't work properly when using optimization in MSVC. It was worked around by disabling optimization for libmv, which is in fact shame and shouldn't have been done. It seems after some changes optimization does not affect on SSBA code, but enabling optimization could be risky so close to release. For now solved by splitting SSBA to separate CMake/SCons library, disabling optimization only for this particular library and enabling optimization for rest of libmv. Tested on all files which used to fail with optimization enabled in SSBA and all of them works the same as before. Tracking speed is significantly higher now. After release we'll enable optimization for SSBA as well, so there'll be no crappy build setup. Later we'll replace old SSBA library with new BA code based on Ceres. Bundle script would be broken for until then, so better not to use it.
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index bb5f34167bc..a5d7763487f 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -924,6 +924,7 @@ endif()
if(WITH_LIBMV)
list(APPEND BLENDER_SORTED_LIBS extern_libmv)
list(APPEND BLENDER_SORTED_LIBS extern_ceres)
+ list(APPEND BLENDER_SORTED_LIBS extern_ssba)
endif()
if(WITH_MOD_CLOTH_ELTOPO)