Fix crash related to model preview
This commit is contained in:
parent
b53959f177
commit
8a5a14747e
2
init.lua
2
init.lua
|
@ -1550,7 +1550,7 @@ local function get_model_fs(fs, data, def, model_alias)
|
||||||
_name = fmt("%s^[multiply:%s", v.name, v.color)
|
_name = fmt("%s^[multiply:%s", v.name, v.color)
|
||||||
end
|
end
|
||||||
elseif v.animation then
|
elseif v.animation then
|
||||||
_name = fmt("%s^[verticalframe:%u:0", v.name, v.animation.aspect_h)
|
_name = fmt("%s^[verticalframe:%u:0", v.name, v.animation.frames_h or v.animation.aspect_h)
|
||||||
end
|
end
|
||||||
|
|
||||||
t[#t + 1] = _name or v.name or v
|
t[#t + 1] = _name or v.name or v
|
||||||
|
|
Ŝarĝante…
Reference in New Issue