src/glcompiler.cpp

changeset 1428
ece049033adc
parent 1427
b7ba2af33c13
child 1434
4c06435bd87f
equal deleted inserted replaced
1427:b7ba2af33c13 1428:ece049033adc
569 emit sceneChanged(); 569 emit sceneChanged();
570 } 570 }
571 571
572 void GLCompiler::handleRowRemoval(const QModelIndex&, int first, int last) 572 void GLCompiler::handleRowRemoval(const QModelIndex&, int first, int last)
573 { 573 {
574 for (int row = last; row >= first; row -= 1) 574 for (int row = last; row >= first; row -= 1) {
575 forgetObject(m_renderer->model()->index(row)); 575 auto index = m_renderer->model()->index(row);
576 forgetObject(index);
577 }
576 578
577 this->needBoundingBoxRebuild = true; 579 this->needBoundingBoxRebuild = true;
578 emit sceneChanged(); 580 emit sceneChanged();
579 } 581 }
580 582

mercurial