[commit] r1545 - trunk/GME/Gme

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Fri Sep 16 12:48:47 CDT 2011


Author: ksmyth
Date: Fri Sep 16 12:48:47 2011
New Revision: 1545

Log:
Note FIXME. Panning windows bitmap is too big for very large models

Modified:
   trunk/GME/Gme/GMEView.cpp

Modified: trunk/GME/Gme/GMEView.cpp
==============================================================================
--- trunk/GME/Gme/GMEView.cpp	Fri Sep 16 12:48:37 2011	(r1544)
+++ trunk/GME/Gme/GMEView.cpp	Fri Sep 16 12:48:47 2011	(r1545)
@@ -697,6 +697,8 @@
 	extent.bottom = (int)(extent.bottom * EXTENT_ERROR_CORR); // ??
 
 	CRect target = CRect(0, 0, extent.Width() / PANNING_RATIO_MIN, extent.Height() / PANNING_RATIO_MIN);
+	// FIXME: if we detected Panning Window size change, we could do this and waste less:
+	// target = main->m_panningWindow.GetWindowRect(&rectt);
 
 	// make a bitmap DC
 	HDC tmpDC = ::GetWindowDC(this->m_hWnd);


More information about the gme-commit mailing list