diff options
author | Vilem Duha <vilem.duha@gmail.com> | 2019-04-29 22:30:11 +0300 |
---|---|---|
committer | Vilem Duha <vilem.duha@gmail.com> | 2019-05-19 16:45:48 +0300 |
commit | 5412d45d9e682d0b8fe8437b735ee06979e34f02 (patch) | |
tree | 21deadffbf446aad4c7dd314ce1581a3d445d040 /blenderkit/utils.py | |
parent | e16c55a110a5cde3bf5c83a156195b5d71481488 (diff) |
BlenderKit:
-fix arrows not showing on the right side when the search results can be increased still.
-improve tasks_queue. It's now hanging on another blender object(panel definition) to have persistent task queue.
-get separate Author info (should also get Gravatar in future)
-get Profile info in fetch server data
-new Profile panel shows user information
-improve tooltip - random tips, author info(will be further improved)
-improve login UI
- fix swapping of search results
Diffstat (limited to 'blenderkit/utils.py')
-rw-r--r-- | blenderkit/utils.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/blenderkit/utils.py b/blenderkit/utils.py index cebc2eaf..1a1d4ed7 100644 --- a/blenderkit/utils.py +++ b/blenderkit/utils.py @@ -173,7 +173,6 @@ def load_prefs(): prefs = json.load(s) user_preferences.api_key = prefs.get('API_key','') user_preferences.global_dir = prefs.get('global_dir', paths.default_global_dict()) - user_preferences.api_key_refresh = prefs.get('API_key_refresh','') def save_prefs(self, context): @@ -268,6 +267,9 @@ def get_brush_props(context): return brush.blenderkit return None +def p(text): + if bpy.app.debug != 0: + print(p) def pprint(data): print(json.dumps(data, indent=4, sort_keys=True)) |