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:
Diffstat (limited to 'source/creator/creator.c')
-rw-r--r--source/creator/creator.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index c9b8b82054a..7e9e433598b 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -122,6 +122,10 @@
#include "binreloc.h"
#endif
+#ifdef WITH_LIBMV
+#include "libmv-capi.h"
+#endif
+
static int no_handler = 0;
// from buildinfo.c
@@ -382,6 +386,10 @@ static int debug_mode(int UNUSED(argc), const char **UNUSED(argv), void *data)
printf("Build: %s %s %s %s\n", build_date, build_time, build_platform, build_type);
#endif // WITH_BUILDINFO
+#ifdef WITH_LIBMV
+ libmv_startDebugLogging();
+#endif
+
BLI_argsPrint(data);
return 0;
}
@@ -1162,6 +1170,10 @@ int main(int argc, const char **argv)
br_init( NULL );
#endif
+#ifdef WITH_LIBMV
+ libmv_initLogging(argv[0]);
+#endif
+
setCallbacks();
#ifdef __APPLE__
/* patch to ignore argument finder gives us (pid?) */