diff -r e1ced2523cad -r b6cbba6e29a1 src/gl/partrenderer.cpp --- a/src/gl/partrenderer.cpp Tue Nov 02 15:43:57 2021 +0200 +++ b/src/gl/partrenderer.cpp Thu Mar 03 11:42:52 2022 +0200 @@ -38,7 +38,7 @@ model{model}, documents{documents}, colorTable{colorTable}, - compiler{new gl::Compiler{this->colorTable, this}} + compiler{new gl::Compiler{model, this->colorTable, this}} { this->setMouseTracking(true); connect(model, &Model::rowsInserted, [&]{ @@ -117,7 +117,7 @@ { if (this->needBuild) { - this->compiler->build(this->model, this->documents, this->renderPreferences); + this->compiler->build(this->documents, this->renderPreferences); this->needBuild = false; } this->checkForGLErrors();