[Bf-extensions-cvs] [37db201e] master: BlenderKit: fix path to check own assets online

Vilém Duha noreply at git.blender.org
Tue Aug 20 10:51:18 CEST 2019


Commit: 37db201e51c55dda4d302c9ce0a51105f59435bb
Author: Vilém Duha
Date:   Sun Aug 18 00:03:40 2019 +0200
Branches: master
https://developer.blender.org/rBA37db201e51c55dda4d302c9ce0a51105f59435bb

BlenderKit: fix path to check own assets online

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

M	blenderkit/paths.py
M	blenderkit/ui_panels.py

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

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):



More information about the Bf-extensions-cvs mailing list