From 37db201e51c55dda4d302c9ce0a51105f59435bb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Vil=C3=A9m=20Duha?= <vilda.novak@gmail.com>
Date: Sun, 18 Aug 2019 00:03:40 +0200
Subject: [PATCH] BlenderKit: fix path to check own assets online

---
 blenderkit/paths.py     | 2 +-
 blenderkit/ui_panels.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/blenderkit/paths.py b/blenderkit/paths.py
index c3f924844..3aa7aaa96 100644
--- a/blenderkit/paths.py
+++ b/blenderkit/paths.py
@@ -24,7 +24,7 @@ BLENDERKIT_MAIN = "https://www.blenderkit.com"
 BLENDERKIT_DEVEL = "https://devel.blenderkit.com"
 BLENDERKIT_API = "/api/v1/"
 BLENDERKIT_REPORT_URL = "usage_report/"
-BLENDERKIT_USER_ASSETS = "https://www.blenderkit.com/my-assets"
+BLENDERKIT_USER_ASSETS = "/my-assets"
 BLENDERKIT_PLANS = "https://www.blenderkit.com/plans/pricing/"
 BLENDERKIT_MANUAL = "https://youtu.be/1hVgcQhIAo8"
 BLENDERKIT_MODEL_UPLOAD_INSTRUCTIONS_URL = "https://www.blenderkit.com/docs/upload/"
diff --git a/blenderkit/ui_panels.py b/blenderkit/ui_panels.py
index d17fe040c..b516f37e6 100644
--- a/blenderkit/ui_panels.py
+++ b/blenderkit/ui_panels.py
@@ -430,7 +430,7 @@ class VIEW3D_PT_blenderkit_profile(Panel):
                     layout.label(text='Remaining private storage: %i MiB' % (me['remainingPrivateQuota']))
 
             layout.operator("wm.url_open", text="See my uploads",
-                            icon='URL').url = paths.BLENDERKIT_USER_ASSETS
+                            icon='URL').url = paths.get_bkit_url() + paths.BLENDERKIT_USER_ASSETS
 
 
 def draw_panel_model_rating(self, context):
-- 
GitLab