src/glrenderer.cpp

changeset 1428
ece049033adc
parent 1405
d2bf2e59a3ef
child 1436
241d3e452b32
--- a/src/glrenderer.cpp	Fri Jul 13 20:48:55 2018 +0300
+++ b/src/glrenderer.cpp	Sat Aug 04 21:46:58 2018 +0300
@@ -64,6 +64,7 @@
         {"Free camera", GLCamera::FreeCamera}, // free
     }
 {
+	Q_ASSERT(model != nullptr);
 	m_camera = (Camera) config::camera();
 	m_compiler = new GLCompiler (this);
 	m_toolTipTimer = new QTimer (this);

mercurial