diff options
author | Vilém Duha <vilda.novak@gmail.com> | 2021-03-26 16:52:10 +0300 |
---|---|---|
committer | Vilém Duha <vilda.novak@gmail.com> | 2021-03-26 17:50:14 +0300 |
commit | 63492d3d0334e1827f611f8fe5a931f3ccbddfc0 (patch) | |
tree | b9c2ae6c2c8165ed958b1bab7f98912ea3a6307e /blenderkit/upload.py | |
parent | ebe76f3a7ba96b3881567def29b7e2527e018e9a (diff) |
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.
Diffstat (limited to 'blenderkit/upload.py')
-rw-r--r-- | blenderkit/upload.py | 3 |
1 files changed, 2 insertions, 1 deletions
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: |