Skip to content
This repository has been archived by the owner on May 27, 2023. It is now read-only.

Commit

Permalink
Remove parent from light element since it causes unloading order issues
Browse files Browse the repository at this point in the history
  • Loading branch information
patrikjuvonen committed Aug 17, 2021
1 parent 8b515ff commit 91803ee
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions c_editor_addon.lua
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,6 @@ local function createLight(element)
call(getResourceFromName("dl_lightmanager"), "setLightInterior", lightMatrix[element], interior)
end

setElementParent(lightMatrix[element], element)

setElementAlpha(getRepresentation(element, "marker"), 0)
end

Expand Down

0 comments on commit 91803ee

Please sign in to comment.