src/editmodes/abstractEditMode.cpp

changeset 1099
14276e435640
parent 1098
0b837bed121d
child 1104
edddb9b0db9e
equal deleted inserted replaced
1098:0b837bed121d 1099:14276e435640
195 { 195 {
196 int position = m_window->suggestInsertPoint(); 196 int position = m_window->suggestInsertPoint();
197 197
198 if (countof(model) > 0) 198 if (countof(model) > 0)
199 { 199 {
200 renderer()->model()->merge(model, position); 200 currentDocument()->merge(model, position);
201 m_window->refresh(); 201 m_window->refresh();
202 m_window->endAction(); 202 m_window->endAction();
203 } 203 }
204 204
205 m_drawedVerts.clear(); 205 m_drawedVerts.clear();

mercurial