瀏覽代碼

Merge pull request #3 from antoni4040/antoni4040

Fixed small issue that created errors.
Rémi Verschelde 7 年之前
父節點
當前提交
a12c20eb4b
共有 1 個文件被更改,包括 1 次插入1 次删除
  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: