BlenerKit: Enable search by author.

This commit is contained in:
Vilem Duha 2019-05-29 13:22:20 +02:00
parent 654c538f87
commit 88d0e75f1f
2 changed files with 1 additions and 2 deletions

View File

@ -1238,7 +1238,6 @@ class BlenderKitAddonPreferences(AddonPreferences):
default_global_dict = paths.default_global_dict()
enable_oauth = False
enable_author_search = False
api_key: StringProperty(
name="BlenderKit API Key",

View File

@ -1010,7 +1010,7 @@ def search(category='', get_next=False, author_id=''):
if category != '':
query['category_subtree'] = category
if author_id != '' and user_preferences.enable_author_search:
if author_id != '':
query['author_id'] = author_id
# utils.p('searching')