Browse Source

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

Michael Herzog 1 year ago
parent
commit
64148ccd1a
1 changed files with 2 additions and 0 deletions
  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._z = attribute.getZ( index );
 		this._w = attribute.getW( index );
 		this._w = attribute.getW( index );
 
 
+		this._onChangeCallback();
+
 		return this;
 		return this;
 
 
 	}
 	}