src/document.cpp

changeset 109
40a1cf2f38f5
parent 108
94c92c923713
child 111
1f42c03fafca
--- 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)

mercurial