Post #4268: @motiomancer

📋 Metadata

  • Author: MickHanks
  • Date: 2022-03-30 16:39:22
  • Type: question
  • Quality Score: 6/10
  • Replies (1): post_04271

🏷️ Tags

v1-20-x pie-menu configuration intermediate unsolved

  • Pie Menu Editor
  • Node Generic trigger
  • Python Scripting

💬 Content

@motiomancer

You helped me with fixing a Node Generic not working to trigger a RMB in the Geo Nodes editor.
return C.area.ui_type == “GeometryNodeTree”

I broke it when updating to 3.1.1 from 3.1.
When I switch a pain to Geometry nodes the Info shows
bpy.context.area.ui_type = ‘GeometryNodeTree’
So it seems the editor is still called ‘GeometryNodeTree’
I tried single quotes with no luck. Any idea what’s 3.1.1 wants?

Thanks


🔗 View on Blender Artists