Fix/custom drawings (#18)
Publish Release / build (push) Successful in 13s

Reviewed-on: #18
Co-authored-by: dutchie031 <timrorije@gmail.com>
This commit was merged in pull request #18.
This commit is contained in:
2026-08-17 09:32:01 +00:00
committed by dutchie031
parent 52f97f7c92
commit 8c75ba5027
11 changed files with 205 additions and 65 deletions
+1 -1
View File
@@ -231,7 +231,7 @@ function Database.New(Logger)
for key, layer_object in pairs(layer.objects) do
if Util.startswith(layer_object.name, "drawing_", true) then
local object = layer_object --[[@as DrawingObject]]
local customDrawing = CustomDrawing.New(object)
local customDrawing = CustomDrawing.New(object, nil, self._logger.LogLevel)
table.insert(self._tables.CustomDrawings, customDrawing)
end
end