Fixes
This commit is contained in:
parent
0327e468d4
commit
20bd0f06d5
@ -21,6 +21,7 @@ function MeshBuilder:initialize(link)
|
||||
net.receive("holograms", function()
|
||||
local hasNext = net.readBit()
|
||||
|
||||
local test = {}
|
||||
while hasNext == 1 do
|
||||
local name = net.readString()
|
||||
|
||||
@ -28,14 +29,17 @@ function MeshBuilder:initialize(link)
|
||||
local holo = ent:toHologram()
|
||||
|
||||
table.insert(self._objects, {name = name, holo = holo})
|
||||
table.insert(test, {name = name, holo = holo})
|
||||
end)
|
||||
|
||||
hasNext = net.readBit()
|
||||
end
|
||||
|
||||
timer.simple(0, function()
|
||||
self:onHologramsReceived(self._objects)
|
||||
self:_applyMeshes()
|
||||
end)
|
||||
end)
|
||||
end
|
||||
|
||||
function MeshBuilder:_applyMeshes()
|
||||
|
||||
@ -7,7 +7,7 @@ local function setStatus(status)
|
||||
end
|
||||
|
||||
function ObjParser:initialize(link, maxQuota)
|
||||
self.maxQuota = maxQuota or 0.75
|
||||
self.maxQuota = maxQuota or 0.5
|
||||
|
||||
local triangles = mesh.trianglesLeft()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user