diff options
author | Vilém Duha <vilda.novak@gmail.com> | 2019-08-20 11:22:16 +0300 |
---|---|---|
committer | Vilém Duha <vilda.novak@gmail.com> | 2019-08-20 11:24:07 +0300 |
commit | 05ed8f54271de2c6e4a91fdda14c9ac3f95431ab (patch) | |
tree | 158d4e0d9f7309fd3b252314913b0559ac815d77 /blenderkit/download.py | |
parent | 37db201e51c55dda4d302c9ce0a51105f59435bb (diff) |
BlenderKit:
thumbnailer had accidentally set resolution to 50%
Try to avoid a rare bug where categories file isn't present (not sure yet as why that happens, but this enables the use of the addon until categories are loaded)
Internal Transfer BlendrKit data operator
Switch some operators to internal and remove undo from those where it doesn't make sense.
Diffstat (limited to 'blenderkit/download.py')
-rw-r--r-- | blenderkit/download.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/blenderkit/download.py b/blenderkit/download.py index 37b2c8e6..366081ca 100644 --- a/blenderkit/download.py +++ b/blenderkit/download.py @@ -815,7 +815,7 @@ class BlenderkitKillDownloadOperator(bpy.types.Operator): """Kill a download.""" bl_idname = "scene.blenderkit_download_kill" bl_label = "BlenderKit Kill Asset Download" - bl_options = {'REGISTER', 'UNDO'} + bl_options = {'REGISTER', 'INTERNAL'} thread_index: IntProperty(name="Thread index", description='index of the thread to kill', default=-1) @@ -831,7 +831,8 @@ class BlenderkitDownloadOperator(bpy.types.Operator): """Download and link asset to scene. Only link if asset already available locally.""" bl_idname = "scene.blenderkit_download" bl_label = "BlenderKit Asset Download" - bl_options = {'REGISTER', 'UNDO'} + bl_options = {'REGISTER', 'UNDO', 'INTERNAL'} + asset_type: EnumProperty( name="Type", |