Skip to content

Commit

Permalink
Animation: fix ExoticVectorLikeTrackValues field serialization (cocos…
Browse files Browse the repository at this point in the history
  • Loading branch information
shrinktofit authored Jul 10, 2023
1 parent f608d98 commit 47694d5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cocos/animation/exotic-animation/exotic-animation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@ type MayBeQuantized = FloatArray | QuantizedFloatArray;
class ExoticVectorLikeTrackValues {
constructor (values: FloatArray) {
this._values = values;
this._isQuantized = false;
}

get precision (): FloatPrecision {
Expand Down Expand Up @@ -240,7 +239,7 @@ class ExoticVectorLikeTrackValues {
protected _values: MayBeQuantized;

@serializable
protected _isQuantized: boolean;
protected _isQuantized = false;
}

@ccclass(`${CLASS_NAME_PREFIX_ANIM}ExoticVec3TrackValues`)
Expand Down

0 comments on commit 47694d5

Please sign in to comment.