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
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
cea867bf
Commit
cea867bf
authored
2 years ago
by
Philipp Schäfer
Browse files
Options
Downloads
Patches
Plain Diff
VA::AddSearchPath: Added safety check in case being called before connected
parent
6fc4703d
Branches
Branches containing commit
No related tags found
1 merge request
!9
VAServerLauncher Improvement (now also sending reproduction type and ini)
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Source/VAPlugin/Private/VAPlugin.cpp
+3
-0
3 additions, 0 deletions
Source/VAPlugin/Private/VAPlugin.cpp
with
3 additions
and
0 deletions
Source/VAPlugin/Private/VAPlugin.cpp
+
3
−
0
View file @
cea867bf
...
@@ -409,6 +409,9 @@ bool FVAPlugin::DisconnectServer()
...
@@ -409,6 +409,9 @@ bool FVAPlugin::DisconnectServer()
void
FVAPlugin
::
AddVAServerSearchPath
(
const
std
::
string
&
SearchPath
)
void
FVAPlugin
::
AddVAServerSearchPath
(
const
std
::
string
&
SearchPath
)
{
{
if
(
!
ShouldInteractWithServer
())
return
;
// This checking whether it already exists, led to undeterministic runtime error, due to std::string dtor.
// This checking whether it already exists, led to undeterministic runtime error, due to std::string dtor.
// So keep track whether it was added before yourself ;-)
// So keep track whether it was added before yourself ;-)
/*CVAStruct Searchpaths = VAServer->GetSearchPaths();
/*CVAStruct Searchpaths = VAServer->GetSearchPaths();
...
...
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