--- a/src/glRenderer.h Sun Apr 27 03:53:57 2014 +0300 +++ b/src/glRenderer.h Sun Apr 27 04:06:46 2014 +0300 @@ -77,8 +77,14 @@ double depthValues[6]; LDGLOverlay overlays[6]; bool init; + bool needZoomToFit; - LDGLData() + LDGLData() : + rotX (0.0), + rotY (0.0), + rotZ (0.0), + init (false), + needZoomToFit (true) { for (int i = 0; i < 7; ++i) { @@ -93,11 +99,6 @@ panX[i] = 0.0; panY[i] = 0.0; } - - rotX = 0; - rotY = 0; - rotZ = 0; - init = false; } };