Remove explicit specification of read-only profiles and read-only configuration files and use a filesystem lookup instead

This commit is contained in:
Alexander Bock
2023-05-11 16:03:13 +02:00
parent 2268802978
commit 006aefdff0
9 changed files with 12 additions and 82 deletions

View File

@@ -59,27 +59,6 @@ SGCTConfig = sgct.config.single{vsync=false}
-- spout_output_fisheye.json: a window where the rendering is sent to spout (fisheye
-- output) instead of the display
-- These are window configurations that are set to "read-only"
ReadOnlyWindowConfigs = {
"equirectangular_gui.json",
"fullscreen1080.json",
"gui_projector.json",
"single_fisheye_gui.json",
"single_fisheye.json",
"single_gui.json",
"single_gui_spout.json",
"single.json",
"single_sbs_stereo.json",
"single_two_win.json",
"spherical_mirror_gui.json",
"spherical_mirror.json",
"spout_output_cubemap.json",
"spout_output_equirectangular.json",
"spout_output_fisheye.json",
"spout_output_flat.json",
"two_nodes.json"
}
-- Variable: Profile
-- Sets the profile that should be loaded by OpenSpace.
Profile = "default"
@@ -96,29 +75,6 @@ Profile = "default"
-- Profile = "touch"
-- Profile = "voyager"
-- These are profiles that are set to "read-only"
ReadOnlyProfiles = {
"apollo",
"asteroids",
"artemis",
"bastilleday2000",
"dawn",
"default",
"default_full",
"gaia",
"insight",
"juice",
"juno",
"jwst",
"mars",
"messenger",
"newhorizons",
"osirisrex",
"rosetta",
"solarstorm2012",
"touch",
"voyager"
}
-- These scripts are executed after the initialization of each scene, thus making
-- it possible to have global overrides to default values or execute other scripts