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:
authorVilem Duha <vilem.duha@gmail.com>2021-07-07 20:21:20 +0300
committerVilem Duha <vilem.duha@gmail.com>2021-07-07 20:21:20 +0300
commit396c5b465776fefe32de53a57399d5adbb8db2c5 (patch)
treed808951bce5517548678677dd7fa0674d6dc10c4 /blenderkit/autothumb.py
parent81b348c4525abdbbd0f176c7486cdc19c0024776 (diff)
BlenderKit: fix an error when trying to assign material to unsupported object type
-do same warning for drag-drop although that can be now further improved since it seems ray cast to other object types works already) -remove some old prints
Diffstat (limited to 'blenderkit/autothumb.py')
-rw-r--r--blenderkit/autothumb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/blenderkit/autothumb.py b/blenderkit/autothumb.py
index b7f2a8d0..8eb891b0 100644
--- a/blenderkit/autothumb.py
+++ b/blenderkit/autothumb.py
@@ -68,7 +68,7 @@ def get_texture_ui(tpath, iname):
def check_thumbnail(props, imgpath):
img = utils.get_hidden_image(imgpath, 'upload_preview', force_reload=True)
- print(' check thumbnail ', img)
+ # print(' check thumbnail ', img)
if img is not None: # and img.size[0] == img.size[1] and img.size[0] >= 512 and (
# img.file_format == 'JPEG' or img.file_format == 'PNG'):
props.has_thumbnail = True