Post #5148: I tried something that seems to work but no idea why it fixes it, If you add the
📋 Metadata
- Author: Motiomancy
- Date: 2024-07-04 16:44:12
- Type:
answer - Quality Score: 7/10
- Reply to: post_05147
- Replies (1): post_05149
🏷️ Tags
pie-menu hotkeys advanced solved
⚙️ Related PME Features
- Pie Menu Editor
- Python Scripting
💬 Content
I tried something that seems to work but no idea why it fixes it, If you add the execution context manually it seems to call the correct node on the pie menu:
bpy.ops.node.add_node(‘INVOKE_DEFAULT’, True, use_transform=True, settings=[{“name”:“data_type”, “value”:“‘RGBA’”}], type=“ShaderNodeMix”)
❤️ 2 likes