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:
parent
44071d4730
commit
20677f4ae5
Binary file not shown.
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue