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>2020-08-06 13:11:50 +0300
committerVilém Duha <vilda.novak@gmail.com>2020-08-12 10:04:48 +0300
commit97be901f0772a0e57e2c8c99b9b6336b6be8aec5 (patch)
tree8fea500c536c230d07866a6db7e101e345588d7a /blenderkit/upload.py
parent497e97cfc4fa02d33d829e1e079e25c805057cf0 (diff)
BlenderKit: fix fast rating operator
also fix one small bug when uploading
Diffstat (limited to 'blenderkit/upload.py')
-rw-r--r--blenderkit/upload.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/blenderkit/upload.py b/blenderkit/upload.py
index 14fbe6db..8e547cbc 100644
--- a/blenderkit/upload.py
+++ b/blenderkit/upload.py
@@ -816,6 +816,8 @@ class AssetVerificationStatusChange(Operator):
def execute(self, context):
preferences = bpy.context.preferences.addons['blenderkit'].preferences
+ if not bpy.context.scene['search results']:
+ return;
# update status in search results for validator's clarity
sr = bpy.context.scene['search results']
sro = bpy.context.scene['search results orig']['results']