chris want corrected some of the last commits changes

This commit is contained in:
Campbell Barton 2008-05-09 06:02:39 +00:00
parent cfcdf36cd8
commit 9fb7381d2e

@ -634,7 +634,7 @@ class VRML2Export:
vrmlvert = vertex.co vrmlvert = vertex.co
if export_rotate_z_to_y.val: if export_rotate_z_to_y.val:
vrmlvert = M_blen2vrml * vrmlvert 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", -1) self.writeIndented("}\n", -1)
self.writeIndented("\n") self.writeIndented("\n")
@ -1217,7 +1217,7 @@ def select_file(filename):
######################################################### #########################################################
export_selection_only = Draw.Create(0) 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) export_compressed = Draw.Create(0)
def save_to_registry(): def save_to_registry():
@ -1261,7 +1261,7 @@ if show_popup():
extension=".wrz" extension=".wrz"
from gzip import * from gzip import *
except: except:
print "could not import gzip" print "could not import gzip, file will be exported uncompressed"
pass pass
else: else:
extension=".wrl" extension=".wrl"