src/gldraw.cpp

changeset 318
de051d2bd80b
parent 317
e41ab239ed28
child 319
d0f41342ef51
--- a/src/gldraw.cpp	Tue Jul 02 22:53:20 2013 +0300
+++ b/src/gldraw.cpp	Tue Jul 02 23:02:53 2013 +0300
@@ -1195,6 +1195,19 @@
 	update ();
 }
 
+READ_ACCESSOR( LDOpenFile*, GLRenderer::file )
+{
+	return m_file;
+}
+
+SET_ACCESSOR( LDOpenFile*, GLRenderer::setFile )
+{
+	m_file = val;
+	
+	if( val != null )
+		overlaysFromObjects();
+}
+
 // =============================================================================
 void GLRenderer::endDraw (bool accept) {
 	(void) accept;

mercurial