瀏覽代碼

Fix for https://github.com/mrdoob/three.js/issues/19239

Christine Morten 5 年之前
父節點
當前提交
33ec7f7745
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/animation/PropertyMixer.js

+ 1 - 1
src/animation/PropertyMixer.js

@@ -42,7 +42,7 @@ function PropertyMixer( binding, typeName, valueSize ) {
 			mixFunctionAdditive = this._slerpAdditive;
 			mixFunctionAdditive = this._slerpAdditive;
 			setIdentity = this._setAdditiveIdentityQuaternion;
 			setIdentity = this._setAdditiveIdentityQuaternion;
 
 
-			this.buffer = new Float64Array( 24 );
+			this.buffer = new Float64Array( valueSize * 6 );
 			this._workIndex = 5;
 			this._workIndex = 5;
 			break;
 			break;