Skip to content
Snippets Groups Projects
Commit f4db75e6 authored by Vilém Duha's avatar Vilém Duha Committed by Vilém Duha
Browse files

BlenderKit: fix search by author to clean up search keywords.

parent c39405c2
Branches
Tags
No related merge requests found
...@@ -1565,6 +1565,8 @@ class AssetBarOperator(bpy.types.Operator): ...@@ -1565,6 +1565,8 @@ class AssetBarOperator(bpy.types.Operator):
asset_data = sr[ui_props.active_index] asset_data = sr[ui_props.active_index]
a = asset_data['author_id'] a = asset_data['author_id']
if a is not None: if a is not None:
sprops = utils.get_search_props()
sprops.search_keywords = ''
utils.p('author:', a) utils.p('author:', a)
search.search(author_id=a) search.search(author_id=a)
return {'RUNNING_MODAL'} return {'RUNNING_MODAL'}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment