Fixes issue with ACE displaying only banks (#1427)

Updates to some AzCore functions a while ago made some path functions
strip off a trailing slash, which caused bad paths to be used when
loading middleware data.  Updated the code to use better path APIs.
This commit is contained in:
Eric Phister
2021-06-21 11:18:03 -05:00
committed by GitHub
parent 530573abf3
commit 22ff37ecda
5 changed files with 14 additions and 13 deletions
@@ -14,6 +14,7 @@
#pragma once
#include <AzCore/EBus/EBus.h>
#include <AzCore/IO/Path/Path.h>
#include <AzCore/std/string/string_view.h>
#include <ACETypes.h>
@@ -151,7 +152,7 @@ namespace AudioControls
//! Gets the folder where the implementation specific controls data are stored.
//! This is used by the ACE to update if controls are changed while the editor is open.
//! @return String with the path to the folder where the implementation specific controls are stored.
virtual AZStd::string GetDataPath() const = 0;
virtual AZ::IO::FixedMaxPath GetDataPath() const = 0;
//! Informs the plugin that the ACE has saved the data in case it needs to do any clean up.
virtual void DataSaved() = 0;