src/main.cpp

changeset 359
73b6c478378e
parent 356
65b4741b302d
child 361
c5e8b68e34f8
equal deleted inserted replaced
358:ef90ed0a5720 359:73b6c478378e
744 { 744 {
745 if (data->gridLayer != nullptr and data->tools != nullptr and data->canvas != nullptr) 745 if (data->gridLayer != nullptr and data->tools != nullptr and data->canvas != nullptr)
746 { 746 {
747 data->gridLayer->setGridMatrix(newGridMatrix); 747 data->gridLayer->setGridMatrix(newGridMatrix);
748 data->tools->setGridMatrix(newGridMatrix); 748 data->tools->setGridMatrix(newGridMatrix);
749 data->canvas->setModelViewOrigin(newGridMatrix[3]);
749 data->canvas->update(); 750 data->canvas->update();
750 } 751 }
751 }); 752 });
752 } 753 }
753 ); 754 );

mercurial