소스 검색

Quaternion: Add missing call of `_onChangeCallback()` to `fromBufferAttribute()`. (#27363)

Michael Herzog 1 년 전
부모
커밋
64148ccd1a
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/math/Quaternion.js

+ 2 - 0
src/math/Quaternion.js

@@ -650,6 +650,8 @@ class Quaternion {
 		this._z = attribute.getZ( index );
 		this._w = attribute.getW( index );
 
+		this._onChangeCallback();
+
 		return this;
 
 	}