--- a/src/document.cpp Sun Jul 25 13:49:37 2021 +0300 +++ b/src/document.cpp Sun Jul 25 16:26:38 2021 +0300 @@ -95,6 +95,11 @@ this->renderer->setRenderPreferences(newPreferences); } +void Document::setCanvasOverpaintCallback(Canvas::OverpaintCallback fn) +{ + this->renderer->setOverpaintCallback(fn); +} + void Document::selectionChanged(const QSet<ldraw::id_t>& newSelection) { if (newSelection.size() == 1)