Skip to content

Commit

Permalink
animation pose EditorExtendable
Browse files Browse the repository at this point in the history
  • Loading branch information
arsen2010 committed Sep 24, 2021
1 parent eb12811 commit d5dd5f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cocos/core/animation/newgen-anim/animated-pose.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { ccclass, type } from '../../data/class-decorator';
import { EditorExtendable } from '../../data/editor-extendable';
import { AnimationClip } from '../animation-clip';
import { AnimationState } from '../animation-state';
import { createEval } from './create-eval';
Expand All @@ -7,7 +8,7 @@ import { PoseStatus } from './graph-eval';
import { PoseEvalContext, Pose, PoseEval } from './pose';

@ccclass('cc.animation.AnimatedPose')
export class AnimatedPose implements Pose {
export class AnimatedPose extends EditorExtendable implements Pose {
@type(AnimationClip)
public clip: AnimationClip | null = null;

Expand Down

0 comments on commit d5dd5f3

Please sign in to comment.