src/gldraw.cpp

changeset 189
ac2d3e8dd110
parent 188
4e686b771996
child 191
9bb6a17305ad
--- a/src/gldraw.cpp	Thu May 09 17:03:44 2013 +0300
+++ b/src/gldraw.cpp	Fri May 10 17:39:56 2013 +0300
@@ -112,7 +112,7 @@
 	// Init camera icons
 	for (const GLRenderer::Camera cam : g_Cameras) {
 		str iconname;
-		iconname.format ("camera-%s", str (g_CameraNames[cam]).tolower ().chars ());
+		iconname.format ("camera-%s", str (g_CameraNames[cam]).lower ().c ());
 		
 		CameraIcon* info = &g_CameraIcons[cam];
 		info->img = new QPixmap (getIcon (iconname));
@@ -249,7 +249,7 @@
 		qcol = getMainColor ();
 	else {
 		color* col = getColor (obj->color);
-		qcol = col->qColor;
+		qcol = col->faceColor;
 	}
 	
 	if (obj->color == edgecolor) {
@@ -257,7 +257,7 @@
 		color* col;
 		
 		if (!gl_blackedges && obj->parent != null && (col = getColor (obj->parent->color)) != null)
-			qcol = col->qEdge;
+			qcol = col->edgeColor;
 	}
 	
 	if (qcol.isValid () == false) {

mercurial