[cpp] fix bound computation ignores clipping (#2800)

This commit is contained in:
Byeong Gwan 2025-04-08 18:46:35 +09:00 committed by GitHub
parent f93466522b
commit 294399886a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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) {