mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
Merge branch '3.8-beta' into skin-bones
This commit is contained in:
commit
d14b5dc22a
@ -120,7 +120,7 @@ namespace spine {
|
||||
if (slot->getAttachment()->getRTTI().isExactly(RegionAttachment::rtti)) {
|
||||
RegionAttachment* attachment = (RegionAttachment*)slot->getAttachment();
|
||||
texture = static_cast<AttachmentVertices*>(attachment->getRendererObject())->_texture;
|
||||
} else if (slot->getAttachment()->getRTTI().isExactly(RegionAttachment::rtti)) {
|
||||
} else if (slot->getAttachment()->getRTTI().isExactly(MeshAttachment::rtti)) {
|
||||
MeshAttachment* attachment = (MeshAttachment*)slot->getAttachment();
|
||||
texture = static_cast<AttachmentVertices*>(attachment->getRendererObject())->_texture;
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user