diff options
Diffstat (limited to 'source/blender/quicktime')
-rw-r--r-- | source/blender/quicktime/apple/qtkit_export.m | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/source/blender/quicktime/apple/qtkit_export.m b/source/blender/quicktime/apple/qtkit_export.m index 8cf91e44c77..0c193df3861 100644 --- a/source/blender/quicktime/apple/qtkit_export.m +++ b/source/blender/quicktime/apple/qtkit_export.m @@ -242,14 +242,17 @@ void filepath_qt(char *string, RenderData *rd) BLI_path_abs(string, G.main->name); BLI_make_existing_file(string); - - if (!BLI_testextensie(string, ".mov")) { - /* if we don't have any #'s to insert numbers into, use 4 numbers by default */ - if (strchr(string, '#')==NULL) - strcat(string, "####"); /* 4 numbers */ - BLI_path_frame_range(string, rd->sfra, rd->efra, 4); - strcat(string, ".mov"); + if (rd->scemode & R_EXTENSION) { + if (!BLI_testextensie(string, ".mov")) { + BLI_path_frame_range(string, rd->sfra, rd->efra, 4); + strcat(string, ".mov"); + } + } + else { + if (BLI_path_frame_check_chars(string)) { + BLI_path_frame_range(string, rd->sfra, rd->efra, 4); + } } } |