| 44 | } |
| 45 | |
| 46 | void SelectionShape::Show(ESelectedObject obj, m2::PointD const & position, double positionZ, bool isAnimate) |
| 47 | { |
| 48 | m_animation.Hide(); |
| 49 | m_position = position; |
| 50 | m_positionZ = positionZ; |
| 51 | m_selectedObject = obj; |
| 52 | if (isAnimate) |
| 53 | m_animation.ShowAnimated(); |
| 54 | else |
| 55 | m_animation.Show(); |
| 56 | m_recacheId++; |
| 57 | m_selectionGeometry.clear(); |
| 58 | } |
| 59 | |
| 60 | void SelectionShape::Hide() |
| 61 | { |
no test coverage detected