| 1746 | } |
| 1747 | |
| 1748 | static void MoveDown(Collection* collection, Instance* instance) |
| 1749 | { |
| 1750 | /* |
| 1751 | * Move instance down in hierarchy |
| 1752 | */ |
| 1753 | |
| 1754 | assert(instance->m_Depth < MAX_HIERARCHICAL_DEPTH - 1); |
| 1755 | EraseSwapLevelIndex(collection, instance); |
| 1756 | instance->m_Depth++; |
| 1757 | InsertInstanceInLevelIndex(collection, instance); |
| 1758 | } |
| 1759 | |
| 1760 | static void MoveAllDown(Collection* collection, Instance* instance) |
| 1761 | { |
no test coverage detected