Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoffrey Bantle <hairbat@yahoo.com>2008-04-08 23:35:53 +0400
committerGeoffrey Bantle <hairbat@yahoo.com>2008-04-08 23:35:53 +0400
commitb96b7ab83d51574c07c2f4d8fbd21595abb4f5aa (patch)
treef3f4aaabaa55be5885b0ee378c664f8a0bbeb0bb
parentdba13f922a1ebd0d2743571e62ddbcea4aabe9f9 (diff)
-> Fix for last commit on FLT exporter
Forgot to change some dictionary keys in source which would break export. Fixed
-rw-r--r--release/scripts/flt_export.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/flt_export.py b/release/scripts/flt_export.py
index 8756b1c654b..80d68d10b62 100644
--- a/release/scripts/flt_export.py
+++ b/release/scripts/flt_export.py
@@ -859,7 +859,7 @@ class FLTNode(Node):
flipped = self.object.getMatrix('worldspace').determinant()
- if not options.state['export_transform']:
+ if not options.state['transform']:
self.exportmesh.calcNormals()
@@ -891,7 +891,7 @@ class FLTNode(Node):
self.buildNormFaces()
self.buildTexData()
- if not options.state['export_transform']:
+ if not options.state['transform']:
if flipped < 0:
for vdesc in self.header.GRR.vertex_lst:
vdesc.accum = 0
@@ -1077,7 +1077,7 @@ class FLTNode(Node):
self.write_longid(self.name) #fix this!
- if options.state['export_transform'] or self.opcode == 63:
+ if options.state['transform'] or self.opcode == 63:
#writing transform matrix....
self.write_matrix()
@@ -1388,7 +1388,7 @@ def dbexport():
Blender.Window.WaitCursor(False)
#optional: Copy textures
- if options.state['copy_textures']:
+ if options.state['copytex']:
for imgname in tex_files:
#Check to see if texture exists in target directory
if not os.path.exists(tex_files[imgname]):