diff options
author | Vilém Duha <vilda.novak@gmail.com> | 2021-03-18 20:14:08 +0300 |
---|---|---|
committer | Vilém Duha <vilda.novak@gmail.com> | 2021-03-18 20:14:21 +0300 |
commit | 8823548db714f869be82ab8c78d33aef24c0d981 (patch) | |
tree | c4c2566731858d0c9592da46c500a7d3a662c395 /blenderkit/ui_panels.py | |
parent | ba9a1dbe2730be0534d42091a721d9c74f7b0c6f (diff) |
BlenderKit: fix upload
changes on is_free were not reflected in upload properly.
Fix too long requests from search similar
Adding more special characters to exclude when creating a file path.
Diffstat (limited to 'blenderkit/ui_panels.py')
-rw-r--r-- | blenderkit/ui_panels.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/blenderkit/ui_panels.py b/blenderkit/ui_panels.py index 2e08982e..69957365 100644 --- a/blenderkit/ui_panels.py +++ b/blenderkit/ui_panels.py @@ -1160,9 +1160,10 @@ def draw_asset_context_menu(layout, context, asset_data, from_panel=False): # build search string from description and tags: op.keywords = asset_data['name'] if asset_data.get('description'): - op.keywords += ' ' + asset_data.get('description') + op.keywords += ' ' + asset_data.get('description')+' ' op.keywords += ' '.join(asset_data.get('tags')) + if asset_data.get('canDownload') != 0: if len(bpy.context.selected_objects) > 0 and ui_props.asset_type == 'MODEL': aob = bpy.context.active_object |