Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nDisplay Launch Button Plugin
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LuFG VR VIS
VR-Group
Unreal-Development
Tools
nDisplay Launch Button Plugin
Commits
10793a4e
Commit
10793a4e
authored
4 years ago
by
Sebastian Pape
Browse files
Options
Downloads
Patches
Plain Diff
Some changes to hopefully debug it
parent
1aa65d14
No related branches found
No related tags found
2 merge requests
!9
Update current master to develop
,
!5
4.26
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Source/NDisplayLaunchButton/Private/NDisplayLaunchButton.cpp
+5
-1
5 additions, 1 deletion
Source/NDisplayLaunchButton/Private/NDisplayLaunchButton.cpp
with
5 additions
and
1 deletion
Source/NDisplayLaunchButton/Private/NDisplayLaunchButton.cpp
+
5
−
1
View file @
10793a4e
...
@@ -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
(
"Oculus
HMD
"
,
false
,
OculusVRState
))
return
;
if
(
!
ChangePluginStateAndStoreConfig
(
"Oculus
VR
"
,
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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment