diff options
author | Vilém Duha <vilda.novak@gmail.com> | 2020-01-04 21:42:10 +0300 |
---|---|---|
committer | Vilém Duha <vilda.novak@gmail.com> | 2020-01-07 13:43:44 +0300 |
commit | 46fb3ac3a1990c6eaea0274c4987bf14de674a2b (patch) | |
tree | 2ea69404b372e12741cd2f4432787eed3d0a58bd /blenderkit/paths.py | |
parent | 1a1fd78cd18a4e80bb53c1c580c98c8fa73522f1 (diff) |
BlenderKit: replace bpy.context.active_object with bpy.context.view_layer.objects.active everywhere. This gives much less issues with context in queue.
Diffstat (limited to 'blenderkit/paths.py')
-rw-r--r-- | blenderkit/paths.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/blenderkit/paths.py b/blenderkit/paths.py index 3fc6db5e..3b0f22f9 100644 --- a/blenderkit/paths.py +++ b/blenderkit/paths.py @@ -33,7 +33,6 @@ BLENDERKIT_BRUSH_UPLOAD_INSTRUCTIONS_URL = "https://www.blenderkit.com/docs/uplo BLENDERKIT_LOGIN_URL = "https://www.blenderkit.com/accounts/login" BLENDERKIT_OAUTH_LANDING_URL = "/oauth-landing/" BLENDERKIT_SIGNUP_URL = "https://www.blenderkit.com/accounts/register" -BLENDERKIT_ADDON_URL = "https://www.blenderkit.com/api/v1/assets/6923b215-7df0-46f3-95ae-a2b5ff44ddd5/" BLENDERKIT_ADDON_FILE_URL = "https://www.blenderkit.com/get-blenderkit/" BLENDERKIT_SETTINGS_FILENAME = os.path.join(_presets, "bkit.json") |