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:
authorDamien Plisson <damien.plisson@yahoo.fr>2010-01-08 17:42:52 +0300
committerDamien Plisson <damien.plisson@yahoo.fr>2010-01-08 17:42:52 +0300
commitf9be960690a8a0c1311023a065bee6c9d6b6d556 (patch)
tree1d64b0de5a5aad84f2f7047bb0f40ee77039b10b /source/blender/quicktime/apple/qtkit_export.m
parent8f7c106e6488054b2572bf71935d67703b7c4c5e (diff)
Fix quicktime QtKit compile issue
Diffstat (limited to 'source/blender/quicktime/apple/qtkit_export.m')
-rw-r--r--source/blender/quicktime/apple/qtkit_export.m17
1 files changed, 17 insertions, 0 deletions
diff --git a/source/blender/quicktime/apple/qtkit_export.m b/source/blender/quicktime/apple/qtkit_export.m
index 1466d3a3a09..8a537617348 100644
--- a/source/blender/quicktime/apple/qtkit_export.m
+++ b/source/blender/quicktime/apple/qtkit_export.m
@@ -153,6 +153,23 @@ void makeqtstring (RenderData *rd, char *string) {
}
}
+void filepath_qt(char *string, RenderData *rd) {
+ char txt[64];
+
+ if (string==0) return;
+
+ strcpy(string, rd->pic);
+ BLI_convertstringcode(string, G.sce);
+
+ BLI_make_existing_file(string);
+
+ if (BLI_strcasecmp(string + strlen(string) - 4, ".mov")) {
+ sprintf(txt, "%04d_%04d.mov", (rd->sfra) , (rd->efra) );
+ strcat(string, txt);
+ }
+}
+
+
#pragma mark export functions
int start_qt(struct Scene *scene, struct RenderData *rd, int rectx, int recty, ReportList *reports)