Browse Source

Fixed small issue that created errors.

Antonis Karvelas 7 years ago
parent
commit
e37814aded
1 changed files with 1 additions and 1 deletions
  1. 1 1
      io_scene_godot/export_godot.py

+ 1 - 1
io_scene_godot/export_godot.py

@@ -436,7 +436,7 @@ class GodotExporter:
                     continue
                     continue
                 float_values = "Vector2Array("
                 float_values = "Vector2Array("
                 first=","                
                 first=","                
-                for v in vertices:
+                for v in s.vertices:
                     try:
                     try:
                         float_values += " {}, {}".format(v.uv[i].x, v.uv[i].y)+first
                         float_values += " {}, {}".format(v.uv[i].x, v.uv[i].y)+first
                     except:
                     except: