mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +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;
|
polygons.length = 0;
|
||||||
for (var i = 0; i < slotCount; i++) {
|
for (var i = 0; i < slotCount; i++) {
|
||||||
var slot = slots[i];
|
var slot = slots[i];
|
||||||
|
if (!slot.bone.active)
|
||||||
|
continue;
|
||||||
var attachment = slot.getAttachment();
|
var attachment = slot.getAttachment();
|
||||||
if (attachment instanceof spine.BoundingBoxAttachment) {
|
if (attachment instanceof spine.BoundingBoxAttachment) {
|
||||||
var boundingBox = attachment;
|
var boundingBox = attachment;
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -4850,6 +4850,8 @@ var spine;
|
|||||||
polygons.length = 0;
|
polygons.length = 0;
|
||||||
for (var i = 0; i < slotCount; i++) {
|
for (var i = 0; i < slotCount; i++) {
|
||||||
var slot = slots[i];
|
var slot = slots[i];
|
||||||
|
if (!slot.bone.active)
|
||||||
|
continue;
|
||||||
var attachment = slot.getAttachment();
|
var attachment = slot.getAttachment();
|
||||||
if (attachment instanceof spine.BoundingBoxAttachment) {
|
if (attachment instanceof spine.BoundingBoxAttachment) {
|
||||||
var boundingBox = attachment;
|
var boundingBox = attachment;
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -4850,6 +4850,8 @@ var spine;
|
|||||||
polygons.length = 0;
|
polygons.length = 0;
|
||||||
for (var i = 0; i < slotCount; i++) {
|
for (var i = 0; i < slotCount; i++) {
|
||||||
var slot = slots[i];
|
var slot = slots[i];
|
||||||
|
if (!slot.bone.active)
|
||||||
|
continue;
|
||||||
var attachment = slot.getAttachment();
|
var attachment = slot.getAttachment();
|
||||||
if (attachment instanceof spine.BoundingBoxAttachment) {
|
if (attachment instanceof spine.BoundingBoxAttachment) {
|
||||||
var boundingBox = attachment;
|
var boundingBox = attachment;
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -4850,6 +4850,8 @@ var spine;
|
|||||||
polygons.length = 0;
|
polygons.length = 0;
|
||||||
for (var i = 0; i < slotCount; i++) {
|
for (var i = 0; i < slotCount; i++) {
|
||||||
var slot = slots[i];
|
var slot = slots[i];
|
||||||
|
if (!slot.bone.active)
|
||||||
|
continue;
|
||||||
var attachment = slot.getAttachment();
|
var attachment = slot.getAttachment();
|
||||||
if (attachment instanceof spine.BoundingBoxAttachment) {
|
if (attachment instanceof spine.BoundingBoxAttachment) {
|
||||||
var boundingBox = attachment;
|
var boundingBox = attachment;
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -4850,6 +4850,8 @@ var spine;
|
|||||||
polygons.length = 0;
|
polygons.length = 0;
|
||||||
for (var i = 0; i < slotCount; i++) {
|
for (var i = 0; i < slotCount; i++) {
|
||||||
var slot = slots[i];
|
var slot = slots[i];
|
||||||
|
if (!slot.bone.active)
|
||||||
|
continue;
|
||||||
var attachment = slot.getAttachment();
|
var attachment = slot.getAttachment();
|
||||||
if (attachment instanceof spine.BoundingBoxAttachment) {
|
if (attachment instanceof spine.BoundingBoxAttachment) {
|
||||||
var boundingBox = attachment;
|
var boundingBox = attachment;
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -4850,6 +4850,8 @@ var spine;
|
|||||||
polygons.length = 0;
|
polygons.length = 0;
|
||||||
for (var i = 0; i < slotCount; i++) {
|
for (var i = 0; i < slotCount; i++) {
|
||||||
var slot = slots[i];
|
var slot = slots[i];
|
||||||
|
if (!slot.bone.active)
|
||||||
|
continue;
|
||||||
var attachment = slot.getAttachment();
|
var attachment = slot.getAttachment();
|
||||||
if (attachment instanceof spine.BoundingBoxAttachment) {
|
if (attachment instanceof spine.BoundingBoxAttachment) {
|
||||||
var boundingBox = attachment;
|
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++) {
|
for (let i = 0; i < slotCount; i++) {
|
||||||
let slot = slots[i];
|
let slot = slots[i];
|
||||||
|
if (!slot.bone.active) continue;
|
||||||
let attachment = slot.getAttachment();
|
let attachment = slot.getAttachment();
|
||||||
if (attachment instanceof BoundingBoxAttachment) {
|
if (attachment instanceof BoundingBoxAttachment) {
|
||||||
let boundingBox = attachment as BoundingBoxAttachment;
|
let boundingBox = attachment as BoundingBoxAttachment;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user