Browse Source

Remove unused attributes in json

nagadomi 9 năm trước cách đây
mục cha
commit
29dc96eadf
1 tập tin đã thay đổi với 0 bổ sung5 xóa
  1. 0 5
      tools/export_model.lua

+ 0 - 5
tools/export_model.lua

@@ -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)