This commit is contained in:
Weiliang Wang
2019-07-17 09:43:22 +08:00
committed by GitHub
parent 9b65c2d75a
commit 23ee89cfd1
+1 -1
View File
@@ -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;