mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-23 18:21:23 +08:00
[cpp] fix bound computation ignores clipping (#2800)
This commit is contained in:
parent
f93466522b
commit
294399886a
@ -507,6 +507,7 @@ void Skeleton::getBounds(float &outX, float &outY, float &outWidth,
|
||||
} else if (attachment != NULL &&
|
||||
attachment->getRTTI().instanceOf(ClippingAttachment::rtti) && clipper != NULL) {
|
||||
clipper->clipStart(*slot, static_cast<ClippingAttachment *>(attachment));
|
||||
continue;
|
||||
}
|
||||
|
||||
if (verticesLength > 0) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user