Gems/LyShine

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-08-20 17:59:06 -07:00
parent 794d656c66
commit 3c56faceb4
20 changed files with 14 additions and 47 deletions
@@ -149,8 +149,6 @@ void CUiAnimViewAnimNode::UiElementPropertyChanged()
bool valueChanged = false;
const float time = GetSequence()->GetTime();
if (m_nodeEntityId.IsValid() && !m_azEntityDataCache.empty())
{
AZ::Entity* pNodeEntity = nullptr;
@@ -537,9 +535,6 @@ void CUiAnimViewAnimNode::BindToEditorObjects()
CUiAnimViewSequenceNotificationContext context(GetSequence());
CUiAnimViewAnimNode* pDirector = GetDirector();
const bool bBelongsToActiveDirector = pDirector ? pDirector->IsActiveDirector() : true;
// if this node represents an AZ entity then register for updates
if (m_nodeEntityId.IsValid())
{
@@ -1632,7 +1627,7 @@ void CUiAnimViewAnimNode::OnSelectionChanged(const bool bSelected)
{
if (m_pAnimNode)
{
const EUiAnimNodeType animNodeType = GetType();
[[maybe_unused]] const EUiAnimNodeType animNodeType = GetType();
assert(animNodeType == eUiAnimNodeType_Camera || animNodeType == eUiAnimNodeType_Entity || animNodeType == eUiAnimNodeType_GeomCache);
const EUiAnimNodeFlags flags = (EUiAnimNodeFlags)m_pAnimNode->GetFlags();