diff -r 3a91828475fd -r a9ba8ffd9534 src/glRenderer.cc --- a/src/glRenderer.cc Sat Aug 22 19:37:01 2015 +0300 +++ b/src/glRenderer.cc Sun Aug 23 00:25:21 2015 +0300 @@ -107,6 +107,7 @@ m_editmode = AbstractEditMode::createByType (this, EditModeType::Select); m_panning = false; m_compiler = new GLCompiler (this); + m_objectAtCursor = nullptr; setDrawOnly (false); setMessageLog (null); m_width = m_height = -1;