src/gui_actions.cpp

changeset 335
30c11cff511d
parent 322
5e701c3c3d8e
child 344
55fcf67230fd
--- a/src/gui_actions.cpp	Thu Jul 04 20:12:03 2013 +0300
+++ b/src/gui_actions.cpp	Thu Jul 04 21:01:52 2013 +0300
@@ -419,7 +419,6 @@
 	g_win->fullRefresh ();
 }
 
-// =========================================================================================================================================
 MAKE_ACTION (wireframe, "Wireframe", "wireframe", "Toggle wireframe view", (0)) {
 	gl_wireframe = !gl_wireframe;
 	g_win->R ()->refresh ();
@@ -433,7 +432,7 @@
 		return;
 	
 	g_win->R ()->setupOverlay( (GL::Camera) dlg.camera(), dlg.fpath(), dlg.ofsx(),
-		dlg.ofsy(), dlg.width(), dlg.height() );
+		dlg.ofsy(), dlg.lwidth(), dlg.lheight() );
 }
 
 MAKE_ACTION (clearOverlay, "Clear Overlay Image", "overlay-clear", "Clear the overlay image.", (0)) {

mercurial