Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
RWTH VR Toolkit
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
Container 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
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
Plugins
RWTH VR Toolkit
Commits
fcd7a4f8
Commit
fcd7a4f8
authored
1 year ago
by
Timon Römer
Browse files
Options
Downloads
Patches
Plain Diff
Removes closing in case of missing InputComponent
parent
2f151103
No related branches found
No related tags found
1 merge request
!87
Merge IntenSelect into dev5.3
Pipeline
#399547
failed
1 year ago
Stage: analyze
Stage: generate
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Source/RWTHVRToolkit/Private/Pawn/IntenSelectComponent.cpp
+6
-7
6 additions, 7 deletions
Source/RWTHVRToolkit/Private/Pawn/IntenSelectComponent.cpp
with
6 additions
and
7 deletions
Source/RWTHVRToolkit/Private/Pawn/IntenSelectComponent.cpp
+
6
−
7
View file @
fcd7a4f8
...
...
@@ -59,14 +59,13 @@ void UIntenSelectComponent::InitInputBindings()
// Check if the enhanced input component is valid
if
(
!
PEI
)
{
// Display an error message and
quit the gam
e if the enhanced input component is not found
// Display an error message and
deactivat
e if the enhanced input component is not found
const
FString
Message
=
"Could not get PlayerInputComponent for IntenSelect Input Assignment!"
;
#if WITH_EDITOR
const
FText
Title
=
FText
::
FromString
(
FString
(
"ERROR"
));
FMessageDialog
::
Open
(
EAppMsgType
::
Ok
,
FText
::
FromString
(
Message
),
Title
);
#endif
UE_LOG
(
LogTemp
,
Error
,
TEXT
(
"%s"
),
*
Message
)
UKismetSystemLibrary
::
QuitGame
(
this
,
nullptr
,
EQuitPreference
::
Quit
,
false
);
UE_LOG
(
LogTemp
,
Error
,
TEXT
(
"%s"
),
*
Message
);
//Deactivate
Super
::
SetActive
(
false
,
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