From 9fb7381d2e19a4bd3c61ad4a6bae074d5b1b53a4 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 9 May 2008 06:02:39 +0000 Subject: [PATCH] chris want corrected some of the last commits changes --- release/scripts/vrml97_export.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/release/scripts/vrml97_export.py b/release/scripts/vrml97_export.py index 94fca68461e..82f95e976e1 100644 --- a/release/scripts/vrml97_export.py +++ b/release/scripts/vrml97_export.py @@ -634,7 +634,7 @@ class VRML2Export: vrmlvert = vertex.co if export_rotate_z_to_y.val: vrmlvert = M_blen2vrml * vrmlvert - self.writeUnindented("%.6f %.6f %.6f\n " % (vrmlvert[0], vrmlvert[1], vrmlvert[2])) + self.writeUnindented("%s %s %s\n " % (vrmlvert[0], vrmlvert[1], vrmlvert[2])) self.writeIndented("]\n", -1) self.writeIndented("}\n", -1) self.writeIndented("\n") @@ -1217,7 +1217,7 @@ def select_file(filename): ######################################################### export_selection_only = Draw.Create(0) -export_rotate_z_to_y = Draw.Create(1) +export_rotate_z_to_y = Draw.Create(0) export_compressed = Draw.Create(0) def save_to_registry(): @@ -1261,7 +1261,7 @@ if show_popup(): extension=".wrz" from gzip import * except: - print "could not import gzip" + print "could not import gzip, file will be exported uncompressed" pass else: extension=".wrl"