initialize GLRenderer::m_hoverpos to (0, 0, 0)

Sat, 19 Oct 2013 01:22:11 +0300

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Sat, 19 Oct 2013 01:22:11 +0300
changeset 520
37d5da2f188e
parent 519
63135a8abd41
child 521
b85554206155

initialize GLRenderer::m_hoverpos to (0, 0, 0)

src/gldraw.cpp file | annotate | diff | comparison | revisions
--- a/src/gldraw.cpp	Sat Oct 19 01:15:57 2013 +0300
+++ b/src/gldraw.cpp	Sat Oct 19 01:22:11 2013 +0300
@@ -111,6 +111,7 @@
 	setDrawOnly (false);
 	setMessageLog (null);
 	m_width = m_height = -1;
+	m_hoverpos = g_origin;
 
 	m_toolTipTimer = new QTimer (this);
 	m_toolTipTimer->setSingleShot (true);

mercurial