Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'blenderkit/search.py')
-rw-r--r--blenderkit/search.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/blenderkit/search.py b/blenderkit/search.py
index cee0b14b..6c8d16e2 100644
--- a/blenderkit/search.py
+++ b/blenderkit/search.py
@@ -280,7 +280,7 @@ def timer_update():
# TODO here it should check if there are some results, and only open assetbar if this is the case, not search.
# if bpy.context.scene.get('search results') is None:
search()
- preferences.first_run = False
+ # preferences.first_run = False
if preferences.tips_on_start:
utils.get_largest_area()
ui.update_ui_size(ui.active_area, ui.active_region)
@@ -1161,14 +1161,6 @@ def search(category='', get_next=False, author_id=''):
scene = bpy.context.scene
ui_props = scene.blenderkitUI
- ### updating of search categories was moved here, due to the reason that BlenderKit created the blenderkit_data
- # folder upon registration of BlenderKit, which wasn't a favourite option for some users (devs running tests).
- # user_preferences = bpy.context.preferences.addons['blenderkit'].preferences
- # if not user_preferences.first_run:
- # api_key = user_preferences.api_key
- # if bpy.context.window_manager.get('bkit_categories') is None:
- # categories.fetch_categories_thread(api_key)
-
if ui_props.asset_type == 'MODEL':
if not hasattr(scene, 'blenderkit'):
return;