Fix: nodewrangler error accessing space.node_tree when not available
commit0e3978e17a45b95ad746b8090ac11fafc9ba6886
authorPhilipp Oeser <info@graphics-engineer.com>
Wed, 24 Aug 2022 09:14:17 +0000 (24 11:14 +0200)
committerPhilipp Oeser <info@graphics-engineer.com>
Thu, 25 Aug 2022 07:27:11 +0000 (25 09:27 +0200)
tree73ba72b2a726db54e607651cf56fa99e1e1e4058
parente0d33461ceafa3734eabbc216fdc1914536ea725
Fix: nodewrangler error accessing space.node_tree when not available

Revert part of rBAad1966474ed2 in nw_check() which was giving no benefit
afaict (and instead tried to access space.node_tree for Spaces other
than the Node Editor, spamming the console with errors).

Differential Revision: https://developer.blender.org/D15770
node_wrangler.py