Prechádzať zdrojové kódy

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

badlogic 9 rokov pred
rodič
commit
763cc18816
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  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->height = 0;
 			}
+			spAttachmentLoader_configureAttachment(self->attachmentLoader, attachment);
 			return attachment;
 		}
 		case SP_ATTACHMENT_LINKED_MESH: {