[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [2446] trunk/py/scripts/addons: fix for error exporting game runtime to non utf8 path.

Campbell Barton ideasman42 at gmail.com
Sat Oct 15 07:53:27 CEST 2011


Revision: 2446
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=2446
Author:   campbellbarton
Date:     2011-10-15 05:53:23 +0000 (Sat, 15 Oct 2011)
Log Message:
-----------
fix for error exporting game runtime to non utf8 path.

Modified Paths:
--------------
    trunk/py/scripts/addons/game_engine_save_as_runtime.py
    trunk/py/scripts/addons/render_povray/render.py

Modified: trunk/py/scripts/addons/game_engine_save_as_runtime.py
===================================================================
--- trunk/py/scripts/addons/game_engine_save_as_runtime.py	2011-10-14 17:39:57 UTC (rev 2445)
+++ trunk/py/scripts/addons/game_engine_save_as_runtime.py	2011-10-15 05:53:23 UTC (rev 2446)
@@ -221,14 +221,14 @@
     def execute(self, context):
         import time
         start_time = time.clock()
-        print("Saving runtime to", self.properties.filepath)
-        WriteRuntime(self.properties.player_path,
-                    self.properties.filepath,
-                    self.properties.copy_python,
-                    self.properties.overwrite_lib,
-                    self.copy_dlls,
-                    self.report,
-                    )
+        print("Saving runtime to %r" % self.filepath)
+        WriteRuntime(self.player_path,
+                     self.filepath,
+                     self.copy_python,
+                     self.overwrite_lib,
+                     self.copy_dlls,
+                     self.report,
+                     )
         print("Finished in %.4fs" % (time.clock()-start_time))
         return {'FINISHED'}
 

Modified: trunk/py/scripts/addons/render_povray/render.py
===================================================================
--- trunk/py/scripts/addons/render_povray/render.py	2011-10-14 17:39:57 UTC (rev 2445)
+++ trunk/py/scripts/addons/render_povray/render.py	2011-10-15 05:53:23 UTC (rev 2446)
@@ -1,4 +1,4 @@
-#  ##### BEGIN GPL LICENSE BLOCK #####
+#  ##### BEGIN GPL LICENSE BLOCK #####
 #
 #  This program is free software; you can redistribute it and/or
 #  modify it under the terms of the GNU General Public License



More information about the Bf-extensions-cvs mailing list