From 23ee89cfd1c73558b670cd714622d11f1ba807c6 Mon Sep 17 00:00:00 2001 From: Weiliang Wang Date: Wed, 17 Jul 2019 09:43:22 +0800 Subject: [PATCH] typo code (#4889) --- cocos/animation/animation-blend-state.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/animation/animation-blend-state.ts b/cocos/animation/animation-blend-state.ts index fc31eac084..7e6690b58e 100644 --- a/cocos/animation/animation-blend-state.ts +++ b/cocos/animation/animation-blend-state.ts @@ -32,7 +32,7 @@ export class AnimationBlendState { let propertyState = propertyStates.find((p) => p.name === property); if (!propertyState) { - propertyState = { name, weight: 0, value: undefined, refCount: 0 }; + propertyState = { name: property, weight: 0, value: undefined, refCount: 0 }; propertyStates.push(propertyState); } ++propertyState.refCount;