Post #739: I have a pie menu for creating frequent shader node in the node editor.

📋 Metadata

  • Author: TeaCrab
  • Date: 2017-06-19 05:11:03
  • Type: bug_report
  • Quality Score: 6/10
  • Replies (1): post_00740

🏷️ Tags

pie-menu hotkeys intermediate unsolved

  • Pie Menu Editor
  • Python Scripting
  • Poll conditions

💬 Content

I have a pie menu for creating frequent shader node in the node editor.

I set the poll to:

_return C.space_data.tree_type == ‘ShaderNodeTree’
_
Which is exactly how it should work.

Shot_567.png928×242 83.4 KB

But this happens.

Funny thing is,

I then go into the PME preferences, and without doing anything, I go back to the node editor, things will just work again… Have no clue what fixed it. But it keeps happening.

Does the single quote/double quote affect Python’s interpretation of a string?


🔗 View on Blender Artists