Fix dumpTable
This commit is contained in:
parent
c2c1bc372d
commit
d796caab04
@ -1,3 +1,4 @@
|
|||||||
|
-- TODO: accept model part for built-in UV management, automatic texture size
|
||||||
local mt={}
|
local mt={}
|
||||||
--- @class UVManager
|
--- @class UVManager
|
||||||
UVManager = {
|
UVManager = {
|
||||||
|
2
util.lua
2
util.lua
@ -12,7 +12,7 @@ function util.dumpTable(o)
|
|||||||
end
|
end
|
||||||
first_loop=false
|
first_loop=false
|
||||||
if type(k) ~= 'number' then k = '"'..k..'"' end
|
if type(k) ~= 'number' then k = '"'..k..'"' end
|
||||||
s = s .. '['..k..'] = ' .. dumpTable(v)
|
s = s .. '['..k..'] = ' .. util.dumpTable(v)
|
||||||
end
|
end
|
||||||
return s .. '} '
|
return s .. '} '
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user