Index: ps/trunk/source/simulation2/components/CCmpSelectable.cpp =================================================================== --- ps/trunk/source/simulation2/components/CCmpSelectable.cpp +++ ps/trunk/source/simulation2/components/CCmpSelectable.cpp @@ -381,12 +381,14 @@ } case MT_PositionChanged: { - if (m_AlwaysVisible) - { - const CMessagePositionChanged& msgData = static_cast (msg); - m_AlphaMin = msgData.inWorld ? MIN_ALPHA_ALWAYS_VISIBLE : MIN_ALPHA_UNSELECTED; - m_Color.a = m_AlphaMin; - } + if (!m_AlwaysVisible) + break; + + const CMessagePositionChanged& msgData = static_cast (msg); + if (msgData.inWorld && !m_Selected) + m_Color.a = m_AlphaMin = MIN_ALPHA_ALWAYS_VISIBLE; + else if (!msgData.inWorld) + m_Color.a = m_AlphaMin = MIN_ALPHA_UNSELECTED; InvalidateStaticOverlay(); break;