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

This commit is contained in:
Vilem Duha 2019-07-23 09:11:55 +02:00 committed by Vilém Duha
parent c39405c2e9
commit f4db75e60f
1 changed files with 2 additions and 0 deletions

View File

@ -1565,6 +1565,8 @@ class AssetBarOperator(bpy.types.Operator):
asset_data = sr[ui_props.active_index]
a = asset_data['author_id']
if a is not None:
sprops = utils.get_search_props()
sprops.search_keywords = ''
utils.p('author:', a)
search.search(author_id=a)
return {'RUNNING_MODAL'}