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:
@@ -218,7 +218,7 @@ namespace AudioControls
|
||||
IAudioSystemEditor* pAudioSystemImpl = CAudioControlsEditorPlugin::GetAudioSystemEditorImpl();
|
||||
if (pAudioSystemImpl)
|
||||
{
|
||||
StartWatchingFolder(pAudioSystemImpl->GetDataPath());
|
||||
StartWatchingFolder(pAudioSystemImpl->GetDataPath().LexicallyNormal().Native());
|
||||
m_pMiddlewareDockWidget->setWindowTitle(QString(pAudioSystemImpl->GetName().c_str()) + " Controls");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user