src/dialogs.cpp

changeset 1231
ce0c9f2e6b9c
parent 1222
34def2630300
--- a/src/dialogs.cpp	Thu Jan 11 11:41:40 2018 +0200
+++ b/src/dialogs.cpp	Thu Jan 11 15:09:44 2018 +0200
@@ -60,7 +60,7 @@
 		{ ui->right,  ERightCamera }
 	};
 
-	ECamera cam = g_win->renderer()->camera();
+	ECamera cam = g_win->currentRenderer()->camera();
 
 	if (cam == EFreeCamera)
 		cam = ETopCamera;
@@ -85,7 +85,7 @@
 // =============================================================================
 void OverlayDialog::fillDefaults(int newcam)
 {
-	LDGLOverlay& info = g_win->renderer()->getOverlay(newcam);
+	LDGLOverlay& info = g_win->currentRenderer()->getOverlay(newcam);
 	RadioDefault<int>(newcam, m_cameraArgs);
 
 	if (info.img)

mercurial