[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [32565] trunk/blender/source/blender/ quicktime/apple/qtkit_export.m: quick commit for forgotten file in the G. sce -> G.main->name refactoring.

Andrea Weikert elubie at gmx.net
Mon Oct 18 19:55:11 CEST 2010


Revision: 32565
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=32565
Author:   elubie
Date:     2010-10-18 19:55:11 +0200 (Mon, 18 Oct 2010)

Log Message:
-----------
quick commit for forgotten file in the G.sce -> G.main->name refactoring.

Patch by Jens Verwiebe, many thanks.

Modified Paths:
--------------
    trunk/blender/source/blender/quicktime/apple/qtkit_export.m

Modified: trunk/blender/source/blender/quicktime/apple/qtkit_export.m
===================================================================
--- trunk/blender/source/blender/quicktime/apple/qtkit_export.m	2010-10-18 13:22:34 UTC (rev 32564)
+++ trunk/blender/source/blender/quicktime/apple/qtkit_export.m	2010-10-18 17:55:11 UTC (rev 32565)
@@ -41,6 +41,7 @@
 #include "AUD_C-API.h"
 
 #include "BKE_global.h"
+#include "BKE_main.h"
 #include "BKE_scene.h"
 #include "BKE_report.h"
 
@@ -208,7 +209,7 @@
 	char txt[64];
 
 	strcpy(string, rd->pic);
-	BLI_path_abs(string, G.sce);
+	BLI_path_abs(string, G.main->name);
 
 	BLI_make_existing_file(string);
 
@@ -222,7 +223,7 @@
 	if (string==NULL) return;
 	
 	strcpy(string, rd->pic);
-	BLI_path_abs(string, G.sce);
+	BLI_path_abs(string, G.main->name);
 	
 	BLI_make_existing_file(string);
 	





More information about the Bf-blender-cvs mailing list