Remove unused attributes in json
This commit is contained in:
parent
ed9c8b7ea8
commit
29dc96eadf
|
@ -24,11 +24,6 @@ function export(model, output)
|
|||
}
|
||||
table.insert(jmodules, jmod)
|
||||
end
|
||||
jmodules[1].color = "RGB"
|
||||
jmodules[1].gamma = 0
|
||||
jmodules[#jmodules].color = "RGB"
|
||||
jmodules[#jmodules].gamma = 0
|
||||
|
||||
local fp = io.open(output, "w")
|
||||
if not fp then
|
||||
error("IO Error: " .. output)
|
||||
|
|
Loading…
Reference in a new issue