diff -r 40e2940605a3 -r 4bec0525ef1b src/gl/partrenderer.h --- a/src/gl/partrenderer.h Wed Mar 18 17:11:23 2020 +0200 +++ b/src/gl/partrenderer.h Thu Mar 19 21:06:06 2020 +0200 @@ -57,10 +57,12 @@ void updateViewMatrix(); void updateModelMatrix(); void setupBackgroundColor(); + Q_SLOT void build(); static constexpr double MIN_ZOOM = 0.0; static constexpr double MAX_ZOOM = 3.0; double zoom = 1.0; bool initialized = false; + bool needBuild = true; void renderVao(const gl::ArrayClass arrayClass); void checkForGLErrors(); };