show model-based preview
This commit is contained in:
parent
11617d422d
commit
4cc0de610d
@ -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]",
|
||||
|
Loading…
Reference in New Issue
Block a user