Get font info.

This commit is contained in:
jussi
2022-06-26 15:03:08 +03:00
parent 36baf4c122
commit 314d0412a5
24 changed files with 130 additions and 6 deletions

View File

@@ -13,7 +13,7 @@ function utillib.deepCopy( orig )
copy = {}
for origKey, origValue in next, orig, nil do
-- If object has clone method use that. Mainly for vector libraries.
-- If object has clone method, use that.
if type( origValue ) == "table" and type( origValue.clone ) == "function" then
copy[ utillib.deepCopy( origKey ) ] = orig_value:clone()
else