Skip to content

Commit bf2e547

Browse files
authored
Merge pull request #16899 from Mugen87/dev34
Quaternion: Add missing call of _onChangeCallback in slerp().
2 parents 1a6ed6b + 6241186 commit bf2e547

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/math/Quaternion.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,10 @@ Object.assign( Quaternion.prototype, {
562562
this._y = s * y + t * this._y;
563563
this._z = s * z + t * this._z;
564564

565-
return this.normalize();
565+
this.normalize();
566+
this._onChangeCallback();
567+
568+
return this;
566569

567570
}
568571

0 commit comments

Comments
 (0)