diff options
author | Pablo Vazquez <pablo@blender.org> | 2022-09-20 00:36:28 +0300 |
---|---|---|
committer | Pablo Vazquez <pablo@blender.org> | 2022-09-20 00:36:28 +0300 |
commit | 6b9007c0247d4c9b74d641519d67d5b7fa42ff8d (patch) | |
tree | d5896a040bc826f06e9b46a3f35e759e44925f12 | |
parent | 4cb6ebd8747e15b417e565afb5b1c4623a66d381 (diff) | |
parent | 0dd7b96286df721e197fdab32dc224fdc41c681b (diff) |
Merge branch 'blender-v3.3-release'
-rw-r--r-- | amaranth/__init__.py | 2 | ||||
-rw-r--r-- | amaranth/node_editor/display_image.py | 2 | ||||
-rw-r--r-- | amaranth/render/border_camera.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/amaranth/__init__.py b/amaranth/__init__.py index 55871cc1..4cefaf0f 100644 --- a/amaranth/__init__.py +++ b/amaranth/__init__.py @@ -74,7 +74,7 @@ from amaranth.misc import ( bl_info = { "name": "Amaranth Toolset", "author": "Pablo Vazquez, Bassam Kurdali, Sergey Sharybin, Lukas Tönne, Cesar Saez, CansecoGPC", - "version": (1, 0, 14), + "version": (1, 0, 15), "blender": (3, 2, 0), "location": "Everywhere!", "description": "A collection of tools and settings to improve productivity", 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'} diff --git a/amaranth/render/border_camera.py b/amaranth/render/border_camera.py index 03d93e7b..0ae12ed7 100644 --- a/amaranth/render/border_camera.py +++ b/amaranth/render/border_camera.py @@ -18,7 +18,7 @@ class AMTH_VIEW3D_OT_render_border_camera(bpy.types.Operator): @classmethod def poll(cls, context): - return context.space_data.region_3d.view_perspective == "CAMERA" + return context.space_data == 'VIEW_3D' and context.space_data.region_3d.view_perspective == "CAMERA" def execute(self, context): render = context.scene.render |