Skip to content

Commit

Permalink
Merge pull request #60 from galacean/fix/model-animationClips
Browse files Browse the repository at this point in the history
fix: model animation clips
  • Loading branch information
yiiqii authored May 22, 2024
2 parents cd1da6c + 751fd32 commit 7c19767
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/item/model/tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import type { ModelAnimationTrackDataPointer } from './binary';
import type { BaseItem, BaseItemTransform } from '../base-item';
import type { SizeOverLifetime, RotationOverLifetime, PositionOverLifetime, ItemType } from '../../type';
import type { ComponentData, DataPath } from '../../components';
import type { AnimationClipData } from '../../animation-clip-data';

export interface TreeNodeOptions {
name?: string,
Expand Down Expand Up @@ -105,6 +104,6 @@ export interface AnimationComponentData extends ComponentData {
/**
* glTF中所有的动画数据
*/
animationClips: AnimationClipData[],
animationClips: DataPath[],
}

0 comments on commit 7c19767

Please sign in to comment.