Browse Source

Added missing require

Corona SDK was throwing the following error:
File: spine-lua/AttachmentLoader.lua
Line: 46
Attempt to index global 'MeshAttachment' (a nil value)
davidroulin 10 năm trước cách đây
mục cha
commit
ab79c06443
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      spine-lua/AttachmentLoader.lua

+ 1 - 0
spine-lua/AttachmentLoader.lua

@@ -30,6 +30,7 @@
 
 local AttachmentType = require "spine-lua.AttachmentType"
 local RegionAttachment = require "spine-lua.RegionAttachment"
+local MeshAttachment = require "spine-lua.MeshAttachment"
 local BoundingBoxAttachment = require "spine-lua.BoundingBoxAttachment"
 
 local AttachmentLoader = {}