Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Virtual Acoustics 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
Plugins
Virtual Acoustics Plugin
Commits
03bd5d0e
Commit
03bd5d0e
authored
1 year ago
by
Jonathan Ehret
Browse files
Options
Downloads
Patches
Plain Diff
minor improvement regarding cluster events
parent
db40186e
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Source/VAPlugin/Private/VAPlugin.cpp
+3
-12
3 additions, 12 deletions
Source/VAPlugin/Private/VAPlugin.cpp
with
3 additions
and
12 deletions
Source/VAPlugin/Private/VAPlugin.cpp
+
3
−
12
View file @
03bd5d0e
...
...
@@ -209,7 +209,7 @@ void FVAPlugin::AskForSettings(const FString Host, const int Port, const bool bA
else
{
SetUseVA
(
false
);
SetDebugMode
(
false
);
ReceiverActor
->
SetDebugMode
(
false
);
bPluginInitialized
=
true
;
return
;
}
...
...
@@ -1268,11 +1268,11 @@ void FVAPlugin::SetUseVA(const bool bUseVAN)
bUseVA
=
bUseVAN
;
if
(
bUseVAN
)
{
ReceiverActor
->
RunOnAllNodes
(
"useVA = true"
);
ReceiverActor
->
RunOnAllNodes
Event
.
Send
(
"useVA = true"
);
}
else
{
ReceiverActor
->
RunOnAllNodes
(
"useVA = false"
);
ReceiverActor
->
RunOnAllNodes
Event
.
Send
(
"useVA = false"
);
DisconnectServer
();
}
...
...
@@ -1286,15 +1286,6 @@ void FVAPlugin::SetDebugMode(const bool bDebugModeN)
}
bDebugMode
=
bDebugModeN
;
if
(
bDebugMode
)
{
ReceiverActor
->
RunOnAllNodes
(
"debugMode = true"
);
}
else
{
ReceiverActor
->
RunOnAllNodes
(
"debugMode = false"
);
}
TArray
<
AActor
*>
ActorArray
;
if
(
ReceiverActor
&&
ReceiverActor
->
GetWorld
())
{
...
...
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