QTfrontend/ui/widget/drawmapwidget.cpp
changeset 10235 bafca1686867
parent 10108 c68cf030eded
child 11046 47a8c19ecb60
--- a/QTfrontend/ui/widget/drawmapwidget.cpp	Wed Apr 30 14:17:06 2014 +0400
+++ b/QTfrontend/ui/widget/drawmapwidget.cpp	Wed Apr 30 15:26:50 2014 +0400
@@ -118,6 +118,11 @@
     if(m_scene) m_scene->clearMap();
 }
 
+void DrawMapWidget::optimize()
+{
+    if(m_scene) m_scene->optimize();
+}
+
 void DrawMapWidget::setErasing(bool erasing)
 {
     if(m_scene) m_scene->setErasing(erasing);