Skip to content

Commit 7dec10b

Browse files
querielosunag
andauthored
TSL: Ensure nodeProxyIntent always sets intent: true (fix spread order) (#32092)
Co-authored-by: sunag <[email protected]>
1 parent 8409754 commit 7dec10b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nodes/tsl/TSLCore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -928,7 +928,7 @@ export const nodeObjects = ( val, altType = null ) => new ShaderNodeObjects( val
928928
export const nodeArray = ( val, altType = null ) => new ShaderNodeArray( val, altType );
929929
export const nodeProxy = ( NodeClass, scope = null, factor = null, settings = null ) => new ShaderNodeProxy( NodeClass, scope, factor, settings );
930930
export const nodeImmutable = ( NodeClass, ...params ) => new ShaderNodeImmutable( NodeClass, ...params );
931-
export const nodeProxyIntent = ( NodeClass, scope = null, factor = null, settings = {} ) => new ShaderNodeProxy( NodeClass, scope, factor, { intent: true, ...settings } );
931+
export const nodeProxyIntent = ( NodeClass, scope = null, factor = null, settings = {} ) => new ShaderNodeProxy( NodeClass, scope, factor, { ...settings, intent: true } );
932932

933933
let fnId = 0;
934934

0 commit comments

Comments
 (0)