Skip to content
Snippets Groups Projects
Commit 10793a4e authored by Sebastian Pape's avatar Sebastian Pape
Browse files

Some changes to hopefully debug it

parent 1aa65d14
No related branches found
No related tags found
2 merge requests!9Update current master to develop,!54.26
...@@ -80,7 +80,11 @@ bool FNDisplayLaunchButtonModule::ChangePluginStateAndStoreConfig(const FString ...@@ -80,7 +80,11 @@ bool FNDisplayLaunchButtonModule::ChangePluginStateAndStoreConfig(const FString
*/ */
FString FNDisplayLaunchButtonModule::GetEditorExecutableName() FString FNDisplayLaunchButtonModule::GetEditorExecutableName()
{ {
#ifdef PLATFORM_WINDOWS
return "UE4Editor.exe"; return "UE4Editor.exe";
#elif PLATFORM_LINUX
return "UE4Editor";
#endif
} }
/** /**
...@@ -116,7 +120,7 @@ void FNDisplayLaunchButtonModule::PluginButtonClicked() ...@@ -116,7 +120,7 @@ void FNDisplayLaunchButtonModule::PluginButtonClicked()
/* Disable Plugins temporarily */ /* Disable Plugins temporarily */
if(!ChangePluginStateAndStoreConfig("SteamVR", false, SteamVRState)) return; if(!ChangePluginStateAndStoreConfig("SteamVR", false, SteamVRState)) return;
if(!ChangePluginStateAndStoreConfig("OculusHMD", false, OculusVRState)) return; if(!ChangePluginStateAndStoreConfig("OculusVR", false, OculusVRState)) return;
/* Trigger Editor save. Needed, else old version will be launched every time */ /* Trigger Editor save. Needed, else old version will be launched every time */
if (!UEditorLoadingAndSavingUtils::SaveDirtyPackagesWithDialog(true, true)) return; if (!UEditorLoadingAndSavingUtils::SaveDirtyPackagesWithDialog(true, true)) return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment