diff options
author | Vilém Duha <vilda.novak@gmail.com> | 2020-01-28 15:45:34 +0300 |
---|---|---|
committer | Vilém Duha <vilda.novak@gmail.com> | 2020-01-28 15:45:44 +0300 |
commit | d2632fce9fe2a66f8b40208b00c9974f92858815 (patch) | |
tree | f6db371e3fc1ca601834cf9a1a138419fd65a38c /blenderkit | |
parent | f78b7f9618085f35edab46c5a599bdb1c5f843e0 (diff) |
BlenderKit: enable sorting by -last_upload
and increase addon version to 1.0.30
Diffstat (limited to 'blenderkit')
-rw-r--r-- | blenderkit/__init__.py | 2 | ||||
-rw-r--r-- | blenderkit/search.py | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/blenderkit/__init__.py b/blenderkit/__init__.py index 3482c4f1..87358d9b 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 c10a708c..56c22dbb 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' |