124 |
124 |
125 for (LDObject* object : model.objects()) |
125 for (LDObject* object : model.objects()) |
126 { |
126 { |
127 currentDocument()->insertObject (position, object); |
127 currentDocument()->insertObject (position, object); |
128 currentDocument()->addToSelection(object); |
128 currentDocument()->addToSelection(object); |
129 m_window->renderer()->compileObject (object); |
|
130 position++; |
129 position++; |
131 } |
130 } |
132 |
131 |
133 m_window->refresh(); |
132 m_window->refresh(); |
134 m_window->scrollToSelection(); |
133 m_window->scrollToSelection(); |