SI GUI appears by updating WebGUI after new SGN is added

This commit is contained in:
JACOB MOLIN
2022-04-21 13:41:17 -04:00
parent 188481245b
commit 3e5dd25da6

View File

@@ -129,7 +129,8 @@ void PointDataMessageHandler::handlePointDataMessage(const std::vector<char>& me
openspace::global::scriptEngine->queueScript(
"openspace.setPropertyValueSingle('NavigationHandler.OrbitalNavigator.RetargetAnchor', nil)"
"openspace.setPropertyValueSingle('NavigationHandler.OrbitalNavigator.Anchor', '" + identifier + "')"
"openspace.setPropertyValueSingle('NavigationHandler.OrbitalNavigator.Aim', '')",
"openspace.setPropertyValueSingle('NavigationHandler.OrbitalNavigator.Aim', '')"
"openspace.setPropertyValueSingle('Modules.CefWebGui.Reload', nil)", // Reload WebGUI so that SoftwareIntegration GUI appears
scripting::ScriptEngine::RemoteScripting::Yes
);