📋 Metadata

💬 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