浏览代码

[c] Call configure attachment on mesh attachments in binary loader. Thanks @boruis

badlogic 9 年之前
父节点
当前提交
763cc18816
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      spine-c/src/spine/SkeletonBinary.c

+ 1 - 0
spine-c/src/spine/SkeletonBinary.c

@@ -716,6 +716,7 @@ spAttachment* spSkeletonBinary_readAttachment(spSkeletonBinary* self, _dataInput
 				mesh->width = 0;
 				mesh->width = 0;
 				mesh->height = 0;
 				mesh->height = 0;
 			}
 			}
+			spAttachmentLoader_configureAttachment(self->attachmentLoader, attachment);
 			return attachment;
 			return attachment;
 		}
 		}
 		case SP_ATTACHMENT_LINKED_MESH: {
 		case SP_ATTACHMENT_LINKED_MESH: {