[Bf-extensions-cvs] [d2632fce] blender-v2.82-release: BlenderKit: enable sorting by -last_upload

Vilém Duha noreply at git.blender.org
Tue Jan 28 13:49:37 CET 2020


Commit: d2632fce9fe2a66f8b40208b00c9974f92858815
Author: Vilém Duha
Date:   Tue Jan 28 13:45:34 2020 +0100
Branches: blender-v2.82-release
https://developer.blender.org/rBAd2632fce9fe2a66f8b40208b00c9974f92858815

BlenderKit: enable sorting by -last_upload

and increase addon version to 1.0.30

===================================================================

M	blenderkit/__init__.py
M	blenderkit/search.py

===================================================================

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'



More information about the Bf-extensions-cvs mailing list