Gems/EMotionFX/Code/EMotionFX/Tools/EMotionStudio/EMStudioSDK/Source/MotionSetHierarchyWidget.cpp
void MotionSetHierarchyWidget::Update(EMotionFX::MotionSet* motionSet, CommandSystem::SelectionList* selectionList)
    {
        m_motionSet = motionSet;
        m_currentSelectionList = selectionList;

        if (selectionList == nullptr)
        {
            m_currentSelectionList = &(GetCommandManager()->GetCurrentSelection());
        }

        Update();
    }
// update from a motion set and selection list
update from a motion set and selection list
update from a motion set and selection list
void MotionSetHierarchyWidget::Update(EMotionFX::MotionSet* motionSet, CommandSystem::SelectionList* selectionList)
    {
        m_motionSet = motionSet;
        m_currentSelectionList = selectionList;
        if (selectionList == nullptr)
        {
            m_currentSelectionList = &(GetCommandManager()->GetCurrentSelection());
        }
        Update();
    }
void MotionSetHierarchyWidget :: Update ( EMotionFX :: MotionSet * motionSet , CommandSystem :: SelectionList * selectionList ) { m_motionSet = motionSet ; m_currentSelectionList = selectionList ; if ( selectionList == nullptr ) { m_currentSelectionList = & ( GetCommandManager ( ) -> GetCurrentSelection ( ) ) ; } Update ( ) ; }
update from a motion set and selection list
update from a motion set and selection list