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
76dcf7f6
Commit
76dcf7f6
authored
4 years ago
by
Ehret
Browse files
Options
Downloads
Patches
Plain Diff
fix bug that prevented using preloaded buffers
parent
fa6a7949
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/VASignalBufferManager.cpp
+5
-10
5 additions, 10 deletions
Source/VAPlugin/Private/VASignalBufferManager.cpp
with
5 additions
and
10 deletions
Source/VAPlugin/Private/VASignalBufferManager.cpp
+
5
−
10
View file @
76dcf7f6
...
@@ -22,20 +22,15 @@ FVASignalBufferManager::~FVASignalBufferManager()
...
@@ -22,20 +22,15 @@ FVASignalBufferManager::~FVASignalBufferManager()
FVASignalBuffer
*
FVASignalBufferManager
::
GetBufferByFileName
(
const
FString
FileName
)
FVASignalBuffer
*
FVASignalBufferManager
::
GetBufferByFileName
(
const
FString
FileName
)
{
{
// Find already existing Buffer
// Find already existing Buffer
if
(
!
Buffers
.
Num
())
{
for
(
auto
EntryBuffer
:
Buffers
)
for
(
auto
EntryBuffer
:
Buffers
)
{
{
if
(
EntryBuffer
.
Get
()
->
GetFileName
()
==
FileName
)
if
(
EntryBuffer
.
Get
()
->
GetFileName
()
==
FileName
)
{
{
FVAUtils
::
LogStuff
(
"[FVASignalBufferManager::getBufferByFileName()]: Buffer from file "
+
FVAUtils
::
LogStuff
(
"[FVASignalBufferManager::getBufferByFileName()]: Buffer from file "
+
FileName
+
" was found!"
,
false
);
FileName
+
" was found!"
,
false
);
return
EntryBuffer
.
Get
();
return
EntryBuffer
.
Get
();
}
}
}
}
}
FVAUtils
::
LogStuff
(
"[FVASignalBufferManager::getBufferByFileName()]: Buffer from file "
+
FVAUtils
::
LogStuff
(
"[FVASignalBufferManager::getBufferByFileName()]: Buffer from file "
+
FileName
+
" cannot be found! Creating one now..."
,
false
);
FileName
+
" cannot be found! Creating one now..."
,
false
);
...
...
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