src/toolsets/filetoolset.cpp

changeset 1231
ce0c9f2e6b9c
parent 1224
5a31b6d4bf81
--- a/src/toolsets/filetoolset.cpp	Thu Jan 11 11:41:40 2018 +0200
+++ b/src/toolsets/filetoolset.cpp	Thu Jan 11 15:09:44 2018 +0200
@@ -134,7 +134,7 @@
 	{
 		currentDocument()->insertObj(idx, obj);
 		obj->select();
-		m_window->renderer()->compileObject(obj);
+		m_window->currentRenderer()->compileObject(obj);
 
 		idx++;
 	}
@@ -193,7 +193,7 @@
 	{
 		m_window->changeDocument(dialog->primaryFile());
 		m_window->doFullRefresh();
-		m_window->renderer()->resetAngles();
+		m_window->currentRenderer()->resetAngles();
 	});
 	dialog->exec();
 }
@@ -234,4 +234,4 @@
 void FileToolset::aboutQt()
 {
 	QMessageBox::aboutQt(m_window);
-}
\ No newline at end of file
+}

mercurial