BlenderKit: fix thumbnailer generated coordinates

The object's coordinates were still off thanks to an unfixed cycles bug(T64739), so I avoided bevel modifier in the box thumbnail object for the cost of a few loops on the mesh.
This commit is contained in:
Vilém Duha 2019-07-14 20:52:51 +02:00
parent 44071d4730
commit 20677f4ae5
2 changed files with 2 additions and 1 deletions

View File

@ -426,7 +426,8 @@ def automap(target_object=None, target_slot=None, tex_size=1, bg_exception=False
if tob.data.use_auto_texspace:
tob.data.use_auto_texspace = False
tob.data.texspace_size = (1, 1, 1)
if not just_scale:
tob.data.texspace_size = (1, 1, 1)
if 'automap' not in tob.data.uv_layers:
bpy.ops.mesh.uv_texture_add()