src/gui.cpp

changeset 267
95fde37e1f00
parent 266
12e7302f14e9
child 268
778eed342ee4
--- a/src/gui.cpp	Sat Jun 01 20:09:31 2013 +0300
+++ b/src/gui.cpp	Sat Jun 01 20:31:33 2013 +0300
@@ -651,13 +651,13 @@
 		
 		case LDObject::Radial:
 			{
-				LDRadial* pRad = static_cast<LDRadial*> (obj);
-				descr.format ("%d / %d %s", pRad->segs, pRad->divs, pRad->radialTypeName());
+				LDRadial* rad = static_cast<LDRadial*> (obj);
+				descr.format ("%d / %d %s", rad->segments (), rad->divisions (), rad->radialTypeName ());
 				
-				if (pRad->radType == LDRadial::Ring || pRad->radType == LDRadial::Cone)
-					descr += fmt (" %d", pRad->ringNum);
+				if (rad->type () == LDRadial::Ring || rad->type () == LDRadial::Cone)
+					descr += fmt (" %d", rad->number ());
 				
-				descr += fmt (" %s", pRad->pos.stringRep (true).chars ());
+				descr += fmt (" %s", rad->pos.stringRep (true).chars ());
 			}
 			break;
 		

mercurial