mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-09 13:12:58 -06:00
Make use of the function to guard mark_interesting_nodes against a nonexisting scenegraph node
8 lines
195 B
Lua
8 lines
195 B
Lua
mark_interesting_nodes = function(nodes)
|
|
for _, n in pairs(nodes) do
|
|
if openspace.hasSceneGraphNode(n) then
|
|
openspace.addTag(n, "GUI.Interesting")
|
|
end
|
|
end
|
|
end
|