61 objsToCompile << obj; |
61 objsToCompile << obj; |
62 objsToCompile << model->getObject(target); |
62 objsToCompile << model->getObject(target); |
63 obj->swap(model->getObject(target)); |
63 obj->swap(model->getObject(target)); |
64 } |
64 } |
65 |
65 |
66 // The objects need to be recompiled, otherwise their pick lists are left with |
|
67 // the wrong index colors which messes up selection. |
|
68 for (LDObject* obj : objsToCompile) |
|
69 m_window->renderer()->compileObject(obj); |
|
70 |
|
71 m_window->buildObjectList(); |
66 m_window->buildObjectList(); |
72 } |
67 } |
73 |
68 |
74 void MoveToolset::moveUp() |
69 void MoveToolset::moveUp() |
75 { |
70 { |