Fix T71100: Node Wrangler creates nodes on linked node trees
commitdc90910e8d8f6fedb8b23a74ad6fc808b02c809b
authorDamien Picard <dam.pic@free.fr>
Fri, 15 Jul 2022 22:57:41 +0000 (16 00:57 +0200)
committerDamien Picard <dam.pic@free.fr>
Thu, 20 Oct 2022 11:14:07 +0000 (20 13:14 +0200)
treeb62a5d2e5b97f8268e84ea119aba37a1415ab8c3
parent76ec1eb13abe74aeeeb14deb0e6e18b1fbab85ae
Fix T71100: Node Wrangler creates nodes on linked node trees

Change the global poll function to check that the node tree is not
from a library, disabling most Node Wrangler operators.

This fixes the issue, not only for material nodes as in the original
report, but also on compositing node trees from linked scenes and
geometry nodes.
node_wrangler.py