Fix T93334: Amaranth fails to preview Image nodes
commitb87642c5dcbfe5d2779e070984ce0914b8f64f78
authorPablo Vazquez <pablo@blender.org>
Fri, 6 May 2022 15:53:47 +0000 (6 17:53 +0200)
committerPablo Vazquez <pablo@blender.org>
Fri, 6 May 2022 15:53:47 +0000 (6 17:53 +0200)
tree3819dae8a465113d7c9304f60ddc7eb48950fece
parent4efc7da9da28ea8c1c1c1c62e9d1f20336f5ec08
Fix T93334: Amaranth fails to preview Image nodes

The operator assumed an active node. Simply add a poll to check for it.

Also increase the Blender version, 2.81 didn't even have Geometry Nodes.
amaranth/__init__.py
amaranth/node_editor/display_image.py