Remove l tags before parse
This commit is contained in:
parent
492cd3027c
commit
0327e468d4
@ -13,6 +13,8 @@ function ObjParser:initialize(link, maxQuota)
|
|||||||
|
|
||||||
setStatus("Getting file...")
|
setStatus("Getting file...")
|
||||||
http.get(link, function(objData)
|
http.get(link, function(objData)
|
||||||
|
objData = string.gsub(objData, "\nl%s%d+%s%d+", "")
|
||||||
|
|
||||||
local loadMesh = coroutine.wrap(function()
|
local loadMesh = coroutine.wrap(function()
|
||||||
self.meshData = mesh.createFromObj(objData, true, true)
|
self.meshData = mesh.createFromObj(objData, true, true)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user