Added new command-line arguments --debug-ffmpeg and --debug-libmv to
[blender.git] / source / blender / blenkernel / intern / blender.c
index b8df30c5de971420bdb287e64065db82916e9631..bb52af86e005823e40a037e0e42fb093c57911a0 100644 (file)
@@ -281,7 +281,7 @@ static void setup_app_data(bContext *C, BlendFileData *bfd, const char *filepath
 
        /* special cases, override loaded flags: */
        if (G.f != bfd->globalf) {
-               const int flags_keep= (G_DEBUG | G_SWAP_EXCHANGE | G_SCRIPT_AUTOEXEC | G_SCRIPT_OVERRIDE_PREF);
+               const int flags_keep= (G_DEBUG | G_DEBUG_FFMPEG | G_SWAP_EXCHANGE | G_SCRIPT_AUTOEXEC | G_SCRIPT_OVERRIDE_PREF);
                bfd->globalf= (bfd->globalf & ~flags_keep) | (G.f & flags_keep);
        }