|
@@ -336,7 +336,7 @@ namespace Spine {
|
|
override public void Apply (Skeleton skeleton, float lastTime, float time, ExposedList<Event> firedEvents, float alpha, MixBlend blend,
|
|
override public void Apply (Skeleton skeleton, float lastTime, float time, ExposedList<Event> firedEvents, float alpha, MixBlend blend,
|
|
MixDirection direction) {
|
|
MixDirection direction) {
|
|
Bone bone = skeleton.bones.Items[boneIndex];
|
|
Bone bone = skeleton.bones.Items[boneIndex];
|
|
-
|
|
|
|
|
|
+ if (!bone.active) return;
|
|
float[] frames = this.frames;
|
|
float[] frames = this.frames;
|
|
if (time < frames[0]) { // Time is before first frame.
|
|
if (time < frames[0]) { // Time is before first frame.
|
|
switch (blend) {
|
|
switch (blend) {
|
|
@@ -438,7 +438,7 @@ namespace Spine {
|
|
override public void Apply (Skeleton skeleton, float lastTime, float time, ExposedList<Event> firedEvents, float alpha, MixBlend blend,
|
|
override public void Apply (Skeleton skeleton, float lastTime, float time, ExposedList<Event> firedEvents, float alpha, MixBlend blend,
|
|
MixDirection direction) {
|
|
MixDirection direction) {
|
|
Bone bone = skeleton.bones.Items[boneIndex];
|
|
Bone bone = skeleton.bones.Items[boneIndex];
|
|
-
|
|
|
|
|
|
+ if (!bone.active) return;
|
|
float[] frames = this.frames;
|
|
float[] frames = this.frames;
|
|
if (time < frames[0]) { // Time is before first frame.
|
|
if (time < frames[0]) { // Time is before first frame.
|
|
switch (blend) {
|
|
switch (blend) {
|
|
@@ -501,7 +501,7 @@ namespace Spine {
|
|
override public void Apply (Skeleton skeleton, float lastTime, float time, ExposedList<Event> firedEvents, float alpha, MixBlend blend,
|
|
override public void Apply (Skeleton skeleton, float lastTime, float time, ExposedList<Event> firedEvents, float alpha, MixBlend blend,
|
|
MixDirection direction) {
|
|
MixDirection direction) {
|
|
Bone bone = skeleton.bones.Items[boneIndex];
|
|
Bone bone = skeleton.bones.Items[boneIndex];
|
|
-
|
|
|
|
|
|
+ if (!bone.active) return;
|
|
float[] frames = this.frames;
|
|
float[] frames = this.frames;
|
|
if (time < frames[0]) { // Time is before first frame.
|
|
if (time < frames[0]) { // Time is before first frame.
|
|
switch (blend) {
|
|
switch (blend) {
|
|
@@ -606,6 +606,7 @@ namespace Spine {
|
|
override public void Apply (Skeleton skeleton, float lastTime, float time, ExposedList<Event> firedEvents, float alpha, MixBlend blend,
|
|
override public void Apply (Skeleton skeleton, float lastTime, float time, ExposedList<Event> firedEvents, float alpha, MixBlend blend,
|
|
MixDirection direction) {
|
|
MixDirection direction) {
|
|
Bone bone = skeleton.bones.Items[boneIndex];
|
|
Bone bone = skeleton.bones.Items[boneIndex];
|
|
|
|
+ if (!bone.active) return;
|
|
float[] frames = this.frames;
|
|
float[] frames = this.frames;
|
|
if (time < frames[0]) { // Time is before first frame.
|
|
if (time < frames[0]) { // Time is before first frame.
|
|
switch (blend) {
|
|
switch (blend) {
|
|
@@ -699,6 +700,7 @@ namespace Spine {
|
|
override public void Apply (Skeleton skeleton, float lastTime, float time, ExposedList<Event> firedEvents, float alpha, MixBlend blend,
|
|
override public void Apply (Skeleton skeleton, float lastTime, float time, ExposedList<Event> firedEvents, float alpha, MixBlend blend,
|
|
MixDirection direction) {
|
|
MixDirection direction) {
|
|
Slot slot = skeleton.slots.Items[slotIndex];
|
|
Slot slot = skeleton.slots.Items[slotIndex];
|
|
|
|
+ if (!slot.bone.active) return;
|
|
float[] frames = this.frames;
|
|
float[] frames = this.frames;
|
|
if (time < frames[0]) { // Time is before first frame.
|
|
if (time < frames[0]) { // Time is before first frame.
|
|
var slotData = slot.data;
|
|
var slotData = slot.data;
|
|
@@ -816,6 +818,7 @@ namespace Spine {
|
|
override public void Apply (Skeleton skeleton, float lastTime, float time, ExposedList<Event> firedEvents, float alpha, MixBlend blend,
|
|
override public void Apply (Skeleton skeleton, float lastTime, float time, ExposedList<Event> firedEvents, float alpha, MixBlend blend,
|
|
MixDirection direction) {
|
|
MixDirection direction) {
|
|
Slot slot = skeleton.slots.Items[slotIndex];
|
|
Slot slot = skeleton.slots.Items[slotIndex];
|
|
|
|
+ if (!slot.bone.active) return;
|
|
float[] frames = this.frames;
|
|
float[] frames = this.frames;
|
|
if (time < frames[0]) { // Time is before first frame.
|
|
if (time < frames[0]) { // Time is before first frame.
|
|
var slotData = slot.data;
|
|
var slotData = slot.data;
|
|
@@ -960,6 +963,7 @@ namespace Spine {
|
|
MixDirection direction) {
|
|
MixDirection direction) {
|
|
string attachmentName;
|
|
string attachmentName;
|
|
Slot slot = skeleton.slots.Items[slotIndex];
|
|
Slot slot = skeleton.slots.Items[slotIndex];
|
|
|
|
+ if (!slot.bone.active) return;
|
|
if (direction == MixDirection.Out && blend == MixBlend.Setup) {
|
|
if (direction == MixDirection.Out && blend == MixBlend.Setup) {
|
|
attachmentName = slot.data.attachmentName;
|
|
attachmentName = slot.data.attachmentName;
|
|
slot.Attachment = attachmentName == null ? null : skeleton.GetAttachment(slotIndex, attachmentName);
|
|
slot.Attachment = attachmentName == null ? null : skeleton.GetAttachment(slotIndex, attachmentName);
|
|
@@ -1033,6 +1037,7 @@ namespace Spine {
|
|
override public void Apply (Skeleton skeleton, float lastTime, float time, ExposedList<Event> firedEvents, float alpha, MixBlend blend,
|
|
override public void Apply (Skeleton skeleton, float lastTime, float time, ExposedList<Event> firedEvents, float alpha, MixBlend blend,
|
|
MixDirection direction) {
|
|
MixDirection direction) {
|
|
Slot slot = skeleton.slots.Items[slotIndex];
|
|
Slot slot = skeleton.slots.Items[slotIndex];
|
|
|
|
+ if (!slot.bone.active) return;
|
|
VertexAttachment vertexAttachment = slot.attachment as VertexAttachment;
|
|
VertexAttachment vertexAttachment = slot.attachment as VertexAttachment;
|
|
if (vertexAttachment == null || vertexAttachment.DeformAttachment != attachment) return;
|
|
if (vertexAttachment == null || vertexAttachment.DeformAttachment != attachment) return;
|
|
|
|
|
|
@@ -1393,6 +1398,7 @@ namespace Spine {
|
|
override public void Apply (Skeleton skeleton, float lastTime, float time, ExposedList<Event> firedEvents, float alpha, MixBlend blend,
|
|
override public void Apply (Skeleton skeleton, float lastTime, float time, ExposedList<Event> firedEvents, float alpha, MixBlend blend,
|
|
MixDirection direction) {
|
|
MixDirection direction) {
|
|
IkConstraint constraint = skeleton.ikConstraints.Items[ikConstraintIndex];
|
|
IkConstraint constraint = skeleton.ikConstraints.Items[ikConstraintIndex];
|
|
|
|
+ if (!constraint.active) return;
|
|
float[] frames = this.frames;
|
|
float[] frames = this.frames;
|
|
if (time < frames[0]) { // Time is before first frame.
|
|
if (time < frames[0]) { // Time is before first frame.
|
|
switch (blend) {
|
|
switch (blend) {
|
|
@@ -1508,6 +1514,7 @@ namespace Spine {
|
|
override public void Apply (Skeleton skeleton, float lastTime, float time, ExposedList<Event> firedEvents, float alpha, MixBlend blend,
|
|
override public void Apply (Skeleton skeleton, float lastTime, float time, ExposedList<Event> firedEvents, float alpha, MixBlend blend,
|
|
MixDirection direction) {
|
|
MixDirection direction) {
|
|
TransformConstraint constraint = skeleton.transformConstraints.Items[transformConstraintIndex];
|
|
TransformConstraint constraint = skeleton.transformConstraints.Items[transformConstraintIndex];
|
|
|
|
+ if (!constraint.active) return;
|
|
float[] frames = this.frames;
|
|
float[] frames = this.frames;
|
|
if (time < frames[0]) { // Time is before first frame.
|
|
if (time < frames[0]) { // Time is before first frame.
|
|
TransformConstraintData data = constraint.data;
|
|
TransformConstraintData data = constraint.data;
|
|
@@ -1608,6 +1615,7 @@ namespace Spine {
|
|
override public void Apply (Skeleton skeleton, float lastTime, float time, ExposedList<Event> firedEvents, float alpha, MixBlend blend,
|
|
override public void Apply (Skeleton skeleton, float lastTime, float time, ExposedList<Event> firedEvents, float alpha, MixBlend blend,
|
|
MixDirection direction) {
|
|
MixDirection direction) {
|
|
PathConstraint constraint = skeleton.pathConstraints.Items[pathConstraintIndex];
|
|
PathConstraint constraint = skeleton.pathConstraints.Items[pathConstraintIndex];
|
|
|
|
+ if (!constraint.active) return;
|
|
float[] frames = this.frames;
|
|
float[] frames = this.frames;
|
|
if (time < frames[0]) { // Time is before first frame.
|
|
if (time < frames[0]) { // Time is before first frame.
|
|
switch (blend) {
|
|
switch (blend) {
|
|
@@ -1654,6 +1662,7 @@ namespace Spine {
|
|
override public void Apply (Skeleton skeleton, float lastTime, float time, ExposedList<Event> events, float alpha, MixBlend blend,
|
|
override public void Apply (Skeleton skeleton, float lastTime, float time, ExposedList<Event> events, float alpha, MixBlend blend,
|
|
MixDirection direction) {
|
|
MixDirection direction) {
|
|
PathConstraint constraint = skeleton.pathConstraints.Items[pathConstraintIndex];
|
|
PathConstraint constraint = skeleton.pathConstraints.Items[pathConstraintIndex];
|
|
|
|
+ if (!constraint.active) return;
|
|
float[] frames = this.frames;
|
|
float[] frames = this.frames;
|
|
if (time < frames[0]) { // Time is before first frame.
|
|
if (time < frames[0]) { // Time is before first frame.
|
|
switch (blend) {
|
|
switch (blend) {
|
|
@@ -1731,6 +1740,7 @@ namespace Spine {
|
|
override public void Apply (Skeleton skeleton, float lastTime, float time, ExposedList<Event> firedEvents, float alpha, MixBlend blend,
|
|
override public void Apply (Skeleton skeleton, float lastTime, float time, ExposedList<Event> firedEvents, float alpha, MixBlend blend,
|
|
MixDirection direction) {
|
|
MixDirection direction) {
|
|
PathConstraint constraint = skeleton.pathConstraints.Items[pathConstraintIndex];
|
|
PathConstraint constraint = skeleton.pathConstraints.Items[pathConstraintIndex];
|
|
|
|
+ if (!constraint.active) return;
|
|
float[] frames = this.frames;
|
|
float[] frames = this.frames;
|
|
if (time < frames[0]) { // Time is before first frame.
|
|
if (time < frames[0]) { // Time is before first frame.
|
|
switch (blend) {
|
|
switch (blend) {
|