📋 Metadata

💬 Content

Sorry I’m late. Please use this script by sticking it in the command tab.To modify the colorspace of an image texture node that is located within a node group, you need to access the node group itself and its node_tree property.

m=C.active_object.active_material;[setattr(n.image.colorspace_settings,'name','Linear')for n in m.node_tree.nodes if n.type=="TEX_IMAGE"and n.select or(n.type=="GROUP"and[setattr(g.image.colorspace_settings,'name','Linear')for g in D.node_groups[n.node_tree.name].nodes if g.type=="TEX_IMAGE"and g.select])];O.ed.undo_push(message="Set Linear")

❤️ 1 likes


🔗 View on Blender Artists