mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-10 17:18:44 +08:00
[ts] Ported active bone check in SkeletonBounds. See #1378.
This commit is contained in:
parent
ad6ed0911c
commit
c1b4b7ea7d
@ -4850,6 +4850,8 @@ var spine;
|
||||
polygons.length = 0;
|
||||
for (var i = 0; i < slotCount; i++) {
|
||||
var slot = slots[i];
|
||||
if (!slot.bone.active)
|
||||
continue;
|
||||
var attachment = slot.getAttachment();
|
||||
if (attachment instanceof spine.BoundingBoxAttachment) {
|
||||
var boundingBox = attachment;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -4850,6 +4850,8 @@ var spine;
|
||||
polygons.length = 0;
|
||||
for (var i = 0; i < slotCount; i++) {
|
||||
var slot = slots[i];
|
||||
if (!slot.bone.active)
|
||||
continue;
|
||||
var attachment = slot.getAttachment();
|
||||
if (attachment instanceof spine.BoundingBoxAttachment) {
|
||||
var boundingBox = attachment;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -4850,6 +4850,8 @@ var spine;
|
||||
polygons.length = 0;
|
||||
for (var i = 0; i < slotCount; i++) {
|
||||
var slot = slots[i];
|
||||
if (!slot.bone.active)
|
||||
continue;
|
||||
var attachment = slot.getAttachment();
|
||||
if (attachment instanceof spine.BoundingBoxAttachment) {
|
||||
var boundingBox = attachment;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -4850,6 +4850,8 @@ var spine;
|
||||
polygons.length = 0;
|
||||
for (var i = 0; i < slotCount; i++) {
|
||||
var slot = slots[i];
|
||||
if (!slot.bone.active)
|
||||
continue;
|
||||
var attachment = slot.getAttachment();
|
||||
if (attachment instanceof spine.BoundingBoxAttachment) {
|
||||
var boundingBox = attachment;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -4850,6 +4850,8 @@ var spine;
|
||||
polygons.length = 0;
|
||||
for (var i = 0; i < slotCount; i++) {
|
||||
var slot = slots[i];
|
||||
if (!slot.bone.active)
|
||||
continue;
|
||||
var attachment = slot.getAttachment();
|
||||
if (attachment instanceof spine.BoundingBoxAttachment) {
|
||||
var boundingBox = attachment;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -4850,6 +4850,8 @@ var spine;
|
||||
polygons.length = 0;
|
||||
for (var i = 0; i < slotCount; i++) {
|
||||
var slot = slots[i];
|
||||
if (!slot.bone.active)
|
||||
continue;
|
||||
var attachment = slot.getAttachment();
|
||||
if (attachment instanceof spine.BoundingBoxAttachment) {
|
||||
var boundingBox = attachment;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -50,6 +50,7 @@ module spine {
|
||||
|
||||
for (let i = 0; i < slotCount; i++) {
|
||||
let slot = slots[i];
|
||||
if (!slot.bone.active) continue;
|
||||
let attachment = slot.getAttachment();
|
||||
if (attachment instanceof BoundingBoxAttachment) {
|
||||
let boundingBox = attachment as BoundingBoxAttachment;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user