Skip to content

Commit bea15b3

Browse files
authored
Merge pull request #21268 from jure/patch-1
UniformUtils.cloneUniforms(): Also clone quaternions
2 parents 33f1784 + 364ee8f commit bea15b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderers/shaders/UniformsUtils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export function cloneUniforms( src ) {
1717
if ( property && ( property.isColor ||
1818
property.isMatrix3 || property.isMatrix4 ||
1919
property.isVector2 || property.isVector3 || property.isVector4 ||
20-
property.isTexture ) ) {
20+
property.isTexture || property.isQuaternion ) ) {
2121

2222
dst[ u ][ p ] = property.clone();
2323

0 commit comments

Comments
 (0)