src/toolsets/movetoolset.cpp

changeset 1113
5f3139c802bf
parent 1103
ac7db4c076c3
child 1145
02264bf0108d
equal deleted inserted replaced
1112:d1d8be74275b 1113:5f3139c802bf
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 {

mercurial