[Bf-extensions-cvs] [f09c520] master: Fix T40084: psk/psa export contains issue with source code.

Bastien Montagne noreply at git.blender.org
Thu May 8 08:45:06 CEST 2014


Commit: f09c520a58b24365f25c9b7840a5676538b10d6b
Author: Bastien Montagne
Date:   Thu May 8 08:24:36 2014 +0200
https://developer.blender.org/rBAf09c520a58b24365f25c9b7840a5676538b10d6b

Fix T40084: psk/psa export contains issue with source code.

===================================================================

M	io_export_unreal_psk_psa.py

===================================================================

diff --git a/io_export_unreal_psk_psa.py b/io_export_unreal_psk_psa.py
index d2982b3..00ed35e 100644
--- a/io_export_unreal_psk_psa.py
+++ b/io_export_unreal_psk_psa.py
@@ -1206,7 +1206,9 @@ def parse_mesh( mesh, psk ):
                 mesh.data.vertices[dindex1].select = True
                 mesh.data.vertices[dindex2].select = True
 
-                raise Error("Normal coplanar with face! points:", mesh.data.vertices[dindex0].co, mesh.data.vertices[dindex1].co, mesh.data.vertices[dindex2].co)
+                raise Error("Normal coplanar with face! points: %s, %s, %s" % (str(mesh.data.vertices[dindex0].co),
+                                                                               str(mesh.data.vertices[dindex1].co),
+                                                                               str(mesh.data.vertices[dindex2].co)))
 
             face.select = True
             if face.use_smooth == True:



More information about the Bf-extensions-cvs mailing list