Browse Source

[ios] Fix SkeletonDrawableWrapper.update() to call directly into the drawable.

Mario Zechner 2 weeks ago
parent
commit
81c9f5630a
1 changed files with 1 additions and 5 deletions
  1. 1 5
      spine-ios/Sources/SpineiOS/SkeletonDrawableWrapper.swift

+ 1 - 5
spine-ios/Sources/SpineiOS/SkeletonDrawableWrapper.swift

@@ -135,11 +135,7 @@ public final class SkeletonDrawableWrapper: NSObject {
     public func update(delta: Float) {
         if disposed { return }
 
-        animationState.update(delta)
-        _ = animationState.apply(skeleton)
-
-        skeleton.update(delta)
-        skeleton.updateWorldTransform(Physics.update)
+        skeletonDrawable.update(delta);
     }
 
     public func dispose() {