Skip to content

Commit

Permalink
refine
Browse files Browse the repository at this point in the history
  • Loading branch information
bofeng-song committed Dec 9, 2024
1 parent 94eb041 commit 5fe035d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cocos/spine/skeleton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,6 @@ ccenum(SpineAnimationCacheMode);
// Use AnimationCacheMode instead.
export const AnimationCacheMode = SpineAnimationCacheMode;

export enum SkeletonEvent {
RENDER_UPDATED = 'spine_render_updated',
}

interface AnimationItem {
animationName: string;
loop: boolean;
Expand Down Expand Up @@ -1131,7 +1127,6 @@ export class Skeleton extends UIRenderer {
* @engineInternal
*/
public updateRenderData (): any {
this.node.emit(SkeletonEvent.RENDER_UPDATED);
if (this.isAnimationCached()) {
if (!this._curFrame) return null;
const model = this._curFrame.model;
Expand Down

0 comments on commit 5fe035d

Please sign in to comment.