David Catuhe 11 years ago
parent
commit
ed6acad136
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Exporters/Blender/io_export_babylon.py

+ 2 - 2
Exporters/Blender/io_export_babylon.py

@@ -550,11 +550,11 @@ class Export_babylon(bpy.types.Operator, ExportHelper):
             uvs+="]\n"
 
         if hasUV2:
-            uvs2=uvs.rstrip(',')
+            uvs2=uvs2.rstrip(',')
             uvs2+="]\n"
 
         if hasVertexColor:
-            colors=uvs.rstrip(',')
+            colors=colors.rstrip(',')
             colors+="]\n"
 
         if hasSkeleton: