Add developer lua script that sets property visibility to "Developer" if an environment variable called "OPENSPACE_DEVELOPER" is set

This commit is contained in:
Ylva Selling
2022-05-11 14:31:41 -04:00
parent 7837e716cb
commit 785084c318
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
if(os.getenv("OPENSPACE_DEVELOPER"))
then
openspace.setPropertyValueSingle('Modules.CefWebGui.Visibility', 4)
end