From 63492d3d0334e1827f611f8fe5a931f3ccbddfc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vil=C3=A9m=20Duha?= Date: Fri, 26 Mar 2021 14:52:10 +0100 Subject: BlenderKit: fix poll functions for rating and fast metadata edit HDR - use wide image format Switch to use of asset thumbnails for asset instead of file thumbnails. --- blenderkit/upload.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'blenderkit/upload.py') diff --git a/blenderkit/upload.py b/blenderkit/upload.py index 4f9ee1ab..b0812efb 100644 --- a/blenderkit/upload.py +++ b/blenderkit/upload.py @@ -569,7 +569,8 @@ def update_free_full(self, context): def can_edit_asset(active_index=-1, asset_data=None): - if active_index == -1 and not asset_data: + print(active_index, asset_data) + if active_index < 0 and not asset_data: return False profile = bpy.context.window_manager.get('bkit profile') if profile is None: -- cgit v1.2.3