Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVilém Duha <vilda.novak@gmail.com>2019-08-18 01:03:40 +0300
committerVilém Duha <vilda.novak@gmail.com>2019-08-20 11:24:07 +0300
commit37db201e51c55dda4d302c9ce0a51105f59435bb (patch)
treee99b8c7e181adf0800533f08858ca496613332a4 /blenderkit
parentdf82d1be636d4c434dcef41452b74bf41c05ca00 (diff)
BlenderKit: fix path to check own assets online
Diffstat (limited to 'blenderkit')
-rw-r--r--blenderkit/paths.py2
-rw-r--r--blenderkit/ui_panels.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/blenderkit/paths.py b/blenderkit/paths.py
index c3f92484..3aa7aaa9 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 d17fe040..b516f37e 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):