src/glRenderer.cc

changeset 718
a2cbef633673
parent 717
fdc285e5952f
child 720
c96e427b9ad1
--- a/src/glRenderer.cc	Fri Apr 18 18:46:25 2014 +0300
+++ b/src/glRenderer.cc	Fri Apr 18 18:58:13 2014 +0300
@@ -1245,7 +1245,6 @@
 		selfloats << ((float) pixelptr[1]) / 255.0f;
 		selfloats << ((float) pixelptr[2]) / 255.0f;
 		selfloats << ((float) pixelptr[3]) / 255.0f;
-		print ("selection: %1\n", selfloats);
 
 		qint32 idx =
 			(*(pixelptr + 0) * 0x10000) +
@@ -1256,7 +1255,6 @@
 		if (idx == 0xFFFFFF)
 			continue; // White is background; skip
 
-		dvalof (idx);
 		LDObject* obj = LDObject::fromID (idx);
 		assert (obj != null);
 
@@ -1622,14 +1620,6 @@
 void GLRenderer::compileObject (LDObject* obj)
 {
 	compiler()->stageForCompilation (obj);
-
-	// Mark in known vertices of this object
-	/*
-	QList<Vertex> verts = getVertices (obj);
-	m_knownVerts << verts;
-	removeDuplicates (m_knownVerts);
-	*/
-
 	obj->setGLInit (true);
 }
 

mercurial