diff --git a/spine-cpp/spine-cpp/include/spine/DeformTimeline.h b/spine-cpp/spine-cpp/include/spine/DeformTimeline.h index aad9f5f03..0f4cd2385 100644 --- a/spine-cpp/spine-cpp/include/spine/DeformTimeline.h +++ b/spine-cpp/spine-cpp/include/spine/DeformTimeline.h @@ -35,6 +35,7 @@ namespace spine { class VertexAttachment; + /// Changes a slot's SlotPose::getDeform() to deform a VertexAttachment. class SP_API DeformTimeline : public SlotCurveTimeline { friend class SkeletonBinary; @@ -45,10 +46,6 @@ namespace spine { public: explicit DeformTimeline(size_t frameCount, size_t bezierCount, int slotIndex, VertexAttachment *attachment); - virtual void - apply(Skeleton &skeleton, float lastTime, float time, Vector *pEvents, float alpha, MixBlend blend, - MixDirection direction, bool appliedPose) override; - /// Sets the time and vertices for the specified frame. void setFrame(int frameIndex, float time, Vector &vertices); diff --git a/spine-cpp/spine-cpp/src/spine/DeformTimeline.cpp b/spine-cpp/spine-cpp/src/spine/DeformTimeline.cpp index 9c068b5b3..55d78201a 100644 --- a/spine-cpp/spine-cpp/src/spine/DeformTimeline.cpp +++ b/spine-cpp/spine-cpp/src/spine/DeformTimeline.cpp @@ -55,19 +55,6 @@ DeformTimeline::DeformTimeline(size_t frameCount, size_t bezierCount, int slotIn } } -void DeformTimeline::apply(Skeleton &skeleton, float lastTime, float time, Vector *pEvents, float alpha, - MixBlend blend, MixDirection direction, bool appliedPose) { - SP_UNUSED(lastTime); - SP_UNUSED(pEvents); - SP_UNUSED(direction); - - Slot *slotP = skeleton._slots[_slotIndex]; - Slot &slot = *slotP; - if (!slot._bone.isActive()) return; - SlotPose &pose = appliedPose ? *slot._applied : slot._pose; - - apply(slot, pose, time, alpha, blend); -} void DeformTimeline::apply(Slot &slot, SlotPose &pose, float time, float alpha, MixBlend blend) { Attachment *slotAttachment = pose._attachment;