Explorar o código

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

Christine Morten %!s(int64=5) %!d(string=hai) anos
pai
achega
33ec7f7745
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
 			setIdentity = this._setAdditiveIdentityQuaternion;
 
-			this.buffer = new Float64Array( 24 );
+			this.buffer = new Float64Array( valueSize * 6 );
 			this._workIndex = 5;
 			break;