소스 검색

AnimationMixer: Fix wrong reference count in `_bindAction()`. (#23102)

* fix: miss binding.referenceCount++ error when AnimationMixer._bindAction #23096

* Update AnimationMixer.js

Co-authored-by: wangren.wr <[email protected]>
Co-authored-by: Michael Herzog <[email protected]>
walton.wang 3 년 전
부모
커밋
d088fd24fc
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/animation/AnimationMixer.js

+ 1 - 0
src/animation/AnimationMixer.js

@@ -48,6 +48,7 @@ class AnimationMixer extends EventDispatcher {
 
 			if ( binding !== undefined ) {
 
+				++ binding.referenceCount;
 				bindings[ i ] = binding;
 
 			} else {