void StoreSelectedState()
        {
            if (m_LocalSelectedItemMarkerIdPath == null)
            {
                m_LocalSelectedItemMarkerIdPath = new List <int>();
            }

            if (m_LocalSelectedItemMarkerIdPath.Count == 0 || m_Selected == null)
            {
                return;
            }

            if (m_FrameDataView == null || !m_FrameDataView.valid)
            {
                return;
            }
            var oldSelection = GetSelection();

            if (oldSelection.Count == 0)
            {
                return;
            }

            proxySelectionInfo = default;
            m_FrameDataView.GetItemMarkerIDPath(oldSelection[0], m_LocalSelectedItemMarkerIdPath);
        }
        void StoreSelectedState()
        {
            if (m_SelectedItemMarkerIdPath != null || m_LegacySelectedItemMarkerNamePath != null)
            {
                return;
            }

            if (m_FrameDataView == null || !m_FrameDataView.valid)
            {
                return;
            }
            var oldSelection = GetSelection();

            if (oldSelection.Count == 0)
            {
                return;
            }

            m_FrameDataView.GetItemMarkerIDPath(oldSelection[0], m_SelectedItemMarkerIdPath);
        }