[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [15275] trunk/blender/release/scripts/ vrml97_export.py: == VRML97 exporter ==

Chris Want cwant at ualberta.ca
Wed Jun 18 23:17:15 CEST 2008


Revision: 15275
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=15275
Author:   hos
Date:     2008-06-18 23:16:29 +0200 (Wed, 18 Jun 2008)

Log Message:
-----------
== VRML97 exporter ==

Faulty indentation of a line sometimes caused a bunch of empty lines to
be printed into the TextureCoordinate and texCoodIndex fields
(benign error, just ugly).

Modified Paths:
--------------
    trunk/blender/release/scripts/vrml97_export.py

Modified: trunk/blender/release/scripts/vrml97_export.py
===================================================================
--- trunk/blender/release/scripts/vrml97_export.py	2008-06-18 20:18:37 UTC (rev 15274)
+++ trunk/blender/release/scripts/vrml97_export.py	2008-06-18 21:16:29 UTC (rev 15275)
@@ -731,8 +731,8 @@
 									 round(uv[1], self.tp))
 						j=j+1
 					indexStr += "-1"
-			texIndexList.append(indexStr)
-			texCoordList.append(coordStr)
+					texIndexList.append(indexStr)
+					texCoordList.append(coordStr)
 
 		self.writeIndented("texCoord TextureCoordinate {\n", 1)
 		self.writeIndented("point [\n", 1)





More information about the Bf-blender-cvs mailing list