diff -r 37d3c819cafa -r 2837b549e616 src/gl/common.h --- a/src/gl/common.h Wed Jun 22 16:13:15 2022 +0300 +++ b/src/gl/common.h Wed Jun 22 16:53:35 2022 +0300 @@ -41,9 +41,9 @@ virtual void mvpMatrixChanged(const glm::mat4& mvpMatrix) = 0; virtual void mouseMoved(const QMouseEvent*){} virtual void mouseClick(const QMouseEvent*){} - void setRendererPointer(class PartRenderer* renderer) + void setRendererPointer(class PartRenderer* newRenderer) { - this->renderer = renderer; + this->renderer = newRenderer; } };