From 3c6bf8f0e956805bcb425218740e90088bae6210 Mon Sep 17 00:00:00 2001 From: Alexander Bock Date: Sun, 24 Jan 2021 11:59:19 +0100 Subject: [PATCH] Update newhorizons.profile Fix error that the shadow of Charon is not toggled with Shift+T (closes #1463) Fix syntax error in A key (closes #1464) --- data/profiles/newhorizons.profile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/profiles/newhorizons.profile b/data/profiles/newhorizons.profile index abe410ecc9..7f30857769 100644 --- a/data/profiles/newhorizons.profile +++ b/data/profiles/newhorizons.profile @@ -42,7 +42,7 @@ "is_local": false, "key": "A", "name": "Focus on New Horizons", - "script": "\"openspace.setPropertyValue('NavigationHandler.OrbitalNavigator.Anchor', 'NewHorizons');openspace.setPropertyValue('NavigationHandler.OrbitalNavigator.Aim', '');openspace.setPropertyValue('NavigationHandler.OrbitalNavigator.RetargetAnchor', nil);" + "script": "openspace.setPropertyValue('NavigationHandler.OrbitalNavigator.Anchor', 'NewHorizons');openspace.setPropertyValue('NavigationHandler.OrbitalNavigator.Aim', '');openspace.setPropertyValue('NavigationHandler.OrbitalNavigator.RetargetAnchor', nil);" }, { "documentation": "Anchor at New Horizons, Aim at Pluto", @@ -194,7 +194,7 @@ "is_local": false, "key": "SHIFT+T", "name": "Toggle Shadows", - "script": "openspace.setPropertyValueSingle('Scene.PlutoShadow.Renderable.Enabled', not openspace.getPropertyValue('Scene.PlutoShadow.Renderable.Enabled'));" + "script": "openspace.setPropertyValueSingle('Scene.PlutoShadow.Renderable.Enabled', not openspace.getPropertyValue('Scene.PlutoShadow.Renderable.Enabled'));openspace.setPropertyValueSingle('Scene.CharonShadow.Renderable.Enabled', not openspace.getPropertyValue('Scene.CharonShadow.Renderable.Enabled'));" }, { "documentation": "Toggles the trail of New Horizons", @@ -243,4 +243,4 @@ "major": 1, "minor": 0 } -} \ No newline at end of file +}