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
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
Plugins
RWTH VR Toolkit
Commits
5aff6022
Commit
5aff6022
authored
1 year ago
by
David Gilbert
Browse files
Options
Downloads
Patches
Plain Diff
fix(cave): Tries AddComponentByClass in the hopes of preventing further nullptr exceptions
parent
3c7b2005
No related branches found
No related tags found
2 merge requests
!85
UE5.3-2023.1-rc3
,
!79
Plugin Separation: Move the RWTHVRCluster Module into its own Plugin with respective content. Removes Toolkit dependency to nDisplay
Pipeline
#355671
passed
1 year ago
Stage: analyze
Stage: generate
Stage: build
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Source/RWTHVRToolkit/Private/Pawn/RWTHVRPawn.cpp
+3
-4
3 additions, 4 deletions
Source/RWTHVRToolkit/Private/Pawn/RWTHVRPawn.cpp
with
3 additions
and
4 deletions
Source/RWTHVRToolkit/Private/Pawn/RWTHVRPawn.cpp
+
3
−
4
View file @
5aff6022
...
@@ -50,11 +50,10 @@ void ARWTHVRPawn::BeginPlay()
...
@@ -50,11 +50,10 @@ void ARWTHVRPawn::BeginPlay()
// This is required because for collision based movement, it can happen that the physics engine
// This is required because for collision based movement, it can happen that the physics engine
// for some reason acts different on the nodes, therefore leading to a potential desync when
// for some reason acts different on the nodes, therefore leading to a potential desync when
// e.g. colliding with an object while moving.
// e.g. colliding with an object while moving.
SyncComponent
=
NewObject
<
UDisplayClusterSceneComponentSyncParent
>
(
this
);
// SyncComponent->SetupAttachment(RootComponent);
SyncComponent
->
RegisterComponent
();
SyncComponent
->
AttachToComponent
(
RootComponent
,
FAttachmentTransformRules
::
SnapToTargetNotIncludingScale
);
SyncComponent
=
Cast
<
USceneComponent
>
(
AddComponentByClass
(
UDisplayClusterSceneComponentSyncParent
::
StaticClass
(),
false
,
FTransform
::
Identity
,
false
));
AddInstanceComponent
(
SyncComponent
);
#endif
#endif
}
}
...
...
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