mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-04 18:51:17 -06:00
16 lines
421 B
Lua
16 lines
421 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
|
|
|
|
set_default_gui_sorting = function()
|
|
openspace.setPropertyValueSingle(
|
|
'Global Properties.ImGUI.Main.Properties.Ordering',
|
|
{
|
|
"Solar System", "Milky Way", "Universe", "Other"
|
|
}
|
|
)
|
|
end |