diff --git a/fs_fashion.lua b/fs_fashion.lua index 910a51e..bcdcd78 100644 --- a/fs_fashion.lua +++ b/fs_fashion.lua @@ -591,7 +591,12 @@ yl_speak_up.get_fs_fashion = function(pname) skin_index = "" end - local preview = yl_speak_up.mesh_data[mesh].skin_preview(skin) + local tmp_textures = textures + if(texture_index ~= 1) then + textures = textures2skin(textures) + end + local preview = yl_speak_up.skin_preview_3d(mesh, textures) +-- local preview = yl_speak_up.mesh_data[mesh].skin_preview(skin) local formspec = { "container[0.5,4.0]",