chris want corrected some of the last commits changes
authorCampbell Barton <ideasman42@gmail.com>
Fri, 9 May 2008 06:02:39 +0000 (06:02 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 9 May 2008 06:02:39 +0000 (06:02 +0000)
release/scripts/vrml97_export.py

index 94fca68461e704e3b30b4648b3c3178be97f4165..82f95e976e12c55ef7170893c9c035c3b9d1071e 100644 (file)
@@ -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"