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/ratings.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/ratings.py')
-rw-r--r-- | blenderkit/ratings.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/blenderkit/ratings.py b/blenderkit/ratings.py index c3621df3..ddf01e6c 100644 --- a/blenderkit/ratings.py +++ b/blenderkit/ratings.py @@ -123,6 +123,7 @@ class StarRatingOperator(bpy.types.Operator): """Tooltip""" bl_idname = "object.blenderkit_rating" bl_label = "Rate the Asset" + bl_options = {'REGISTER', 'UNDO', 'INTERNAL'} property_name: StringProperty( name="Rating Property", @@ -153,6 +154,7 @@ class UploadRatingOperator(bpy.types.Operator): """Upload rating to the web db""" bl_idname = "object.blenderkit_rating_upload" bl_label = "Upload the Rating" + bl_options = {'REGISTER', 'UNDO', 'INTERNAL'} # type of upload - model, material, textures, e.t.c. asset_type: EnumProperty( |