Bläddra i källkod

TSL: Ensure `nodeProxyIntent` always sets intent: true (fix spread order) (#32092)

Co-authored-by: sunag <sunagbrasil@gmail.com>
Kirill Osipov 6 månader sedan
förälder
incheckning
7dec10bb10
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/nodes/tsl/TSLCore.js

+ 1 - 1
src/nodes/tsl/TSLCore.js

@@ -928,7 +928,7 @@ export const nodeObjects = ( val, altType = null ) => new ShaderNodeObjects( val
 export const nodeArray = ( val, altType = null ) => new ShaderNodeArray( val, altType );
 export const nodeProxy = ( NodeClass, scope = null, factor = null, settings = null ) => new ShaderNodeProxy( NodeClass, scope, factor, settings );
 export const nodeImmutable = ( NodeClass, ...params ) => new ShaderNodeImmutable( NodeClass, ...params );
-export const nodeProxyIntent = ( NodeClass, scope = null, factor = null, settings = {} ) => new ShaderNodeProxy( NodeClass, scope, factor, { intent: true, ...settings } );
+export const nodeProxyIntent = ( NodeClass, scope = null, factor = null, settings = {} ) => new ShaderNodeProxy( NodeClass, scope, factor, { ...settings, intent: true } );
 
 let fnId = 0;
 

粤ICP备19079148号