📋 Metadata

💬 Content

Maybe some one can help me out. I have command for setting all selected image nodes to linear. Works fine in the pie menu.
However, if the image node is in a group it doesn’t work anymore. Any idea?

Here is the command:
[setattr(x.image.colorspace_settings, "name", 'Linear') for x in C.active_object.active_material.node_tree.nodes if x.select and x.type == "TEX_IMAGE"]


🔗 View on Blender Artists