src/glRenderer.cc

changeset 720
c96e427b9ad1
parent 718
a2cbef633673
child 722
61e2d0ca0018
--- a/src/glRenderer.cc	Fri Apr 18 23:17:01 2014 +0300
+++ b/src/glRenderer.cc	Fri Apr 18 23:33:18 2014 +0300
@@ -1789,14 +1789,10 @@
 //
 void GLRenderer::zoomToFit()
 {
-	print ("zooming %1 to fit..\n", camera());
 	zoom() = 30.0f;
 
 	if (document() == null || m_width == -1 || m_height == -1)
-	{
-		print ("document is invalid!\n");
 		return;
-	}
 
 	bool lastfilled = false;
 	bool firstrun = true;
@@ -1886,7 +1882,6 @@
 
 	setBackground();
 	setPicking (false);
-	print ("zoom to fit done.\n");
 }
 
 // =============================================================================

mercurial