Remove l tags before parse
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user