Przeglądaj źródła

TextureNode: Fix matrix update (#30200)

sunag 1 rok temu
rodzic
commit
c9e5e53a06
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/nodes/accessors/TextureNode.js

+ 1 - 1
src/nodes/accessors/TextureNode.js

@@ -268,7 +268,7 @@ class TextureNode extends UniformNode {
 	setUpdateMatrix( value ) {
 
 		this.updateMatrix = value;
-		this.updateType = value ? NodeUpdateType.FRAME : NodeUpdateType.NONE;
+		this.updateType = value ? NodeUpdateType.RENDER : NodeUpdateType.NONE;
 
 		return this;
 

粤ICP备19079148号