We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07cc0ab commit 0afb685Copy full SHA for 0afb685
src/scene/materials/standard-material.js
@@ -709,7 +709,7 @@ const defineProp = (prop) => {
709
},
710
set: function (value) {
711
const oldValue = this[internalName];
712
- if (!funcs.equals(value, oldValue)) {
+ if (!funcs.equals(oldValue, value)) {
713
if (!this._dirtyShader) {
714
this._dirtyShader = dirtyShaderFunc ? dirtyShaderFunc(oldValue, value) : true;
715
}
0 commit comments