Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'amaranth/node_editor/display_image.py')
-rw-r--r--amaranth/node_editor/display_image.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/amaranth/node_editor/display_image.py b/amaranth/node_editor/display_image.py
index b15be590..75480a90 100644
--- a/amaranth/node_editor/display_image.py
+++ b/amaranth/node_editor/display_image.py
@@ -32,7 +32,7 @@ class AMTH_NODE_OT_show_active_node_image(bpy.types.Operator):
@classmethod
def poll(cls, context):
- return context.active_node is not None
+ return context.space_data == 'NODE_EDITOR' and context.active_node is not None
def execute(self, context):
return {'FINISHED'}