소스 검색

TSL: Fix `texture()` matrix sync (#30893)

sunag 9 달 전
부모
커밋
7cbe312421
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/nodes/accessors/TextureNode.js

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

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

粤ICP备19079148号