[MeshBuilder] Added layout options for URL textures; Hack for texture link

This commit is contained in:
Nikita Kruglickiy
2021-11-08 21:11:51 +03:00
parent b3a7283489
commit f94e856301
3 changed files with 16 additions and 6 deletions

View File

@@ -69,5 +69,7 @@ function byteTable(str, start, length)
end
function isURL(str)
return string.match(str, "^https?://") ~= nil
local _1, _2, prefix = tx:find("^(%w-):")
return prefix == "http" or prefix == "https" or prefix == "data
end

View File

@@ -1,7 +1,7 @@
-- @name koptilnya/libs/workers
WORKERS = {}
WORKERS_QUOTA = 0.4
WORKERS_QUOTA = 0.5
local function execWorker(worker)
local status