Browse Source

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

Christine Morten 5 years ago
parent
commit
33ec7f7745
1 changed files with 1 additions and 1 deletions
  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;