From d2632fce9fe2a66f8b40208b00c9974f92858815 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vil=C3=A9m=20Duha?= <vilda.novak@gmail.com> Date: Tue, 28 Jan 2020 13:45:34 +0100 Subject: [PATCH] BlenderKit: enable sorting by -last_upload and increase addon version to 1.0.30 --- blenderkit/__init__.py | 2 +- blenderkit/search.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/blenderkit/__init__.py b/blenderkit/__init__.py index 3482c4f13..87358d9b7 100644 --- a/blenderkit/__init__.py +++ b/blenderkit/__init__.py @@ -19,7 +19,7 @@ bl_info = { "name": "BlenderKit Asset Library", "author": "Vilem Duha, Petr Dlouhy", - "version": (1, 0, 29), + "version": (1, 0, 30), "blender": (2, 82, 0), "location": "View3D > Properties > BlenderKit", "description": "Online BlenderKit library (materials, models, brushes and more)", diff --git a/blenderkit/search.py b/blenderkit/search.py index c10a708c7..56c22dbba 100644 --- a/blenderkit/search.py +++ b/blenderkit/search.py @@ -143,7 +143,7 @@ def timer_update(): # TODO might get moved to handle all blenderkit stuff. if preferences.tips_on_start: ui.get_largest_3dview() ui.update_ui_size(ui.active_area, ui.active_region) - ui.add_report(text='BlenderKit Tip:' + random.choice(rtips), timeout=12, color=colors.GREEN) + ui.add_report(text='BlenderKit Tip: ' + random.choice(rtips), timeout=12, color=colors.GREEN) # clipboard monitoring to search assets from web global last_clipboard @@ -748,7 +748,6 @@ class Searcher(threading.Thread): # assumes no keywords and no category, thus an empty search that is triggered on start. # orders by last core file upload requeststring += '+order:-last_upload' - # requeststring += '+order:-created' elif query.get('author_id') is not None and utils.profile_is_validator(): requeststring += '+order:-created' -- GitLab