Bug - association update (#5932)
* Fixed crash when typing asset name and clicking browse (#5495) Signed-off-by: T.J. McGrath-Daly <tj.mcgrath.daly@huawei.com> * Fixed issue where associated control disappears after clicking Save Signed-off-by: T.J. McGrath-Daly <tj.mcgrath.daly@huawei.com> Co-authored-by: AMZN-AlexOteiza <82234181+AMZN-AlexOteiza@users.noreply.github.com> Co-authored-by: Tobias Alexander Franke <tobias.alexander.franke@huawei.com>
This commit is contained in:
@@ -322,6 +322,10 @@ namespace AudioControls
|
||||
connection->m_value = value;
|
||||
return connection;
|
||||
}
|
||||
case EACEControlType::eACET_ENVIRONMENT:
|
||||
{
|
||||
return AZStd::make_shared<IAudioConnection>(control->GetId());
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -575,7 +579,7 @@ namespace AudioControls
|
||||
case eACET_SWITCH_STATE:
|
||||
return (eWCT_WWISE_SWITCH | eWCT_WWISE_GAME_STATE | eWCT_WWISE_RTPC);
|
||||
case eACET_ENVIRONMENT:
|
||||
return (eWCT_WWISE_AUX_BUS | eWCT_WWISE_SWITCH | eWCT_WWISE_GAME_STATE | eWCT_WWISE_RTPC);
|
||||
return (eWCT_WWISE_AUX_BUS | eWCT_WWISE_RTPC);
|
||||
case eACET_PRELOAD:
|
||||
return eWCT_WWISE_SOUND_BANK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user