src/basics.cc

changeset 767
44f0d5322628
parent 739
152b33a6d51b
child 768
29e6c5552388
--- a/src/basics.cc	Mon May 05 17:09:25 2014 +0300
+++ b/src/basics.cc	Mon May 05 17:18:01 2014 +0300
@@ -240,7 +240,7 @@
 		case LDObject::EQuad:
 		case LDObject::ECondLine:
 		{
-			for (int i = 0; i < obj->vertices(); ++i)
+			for (int i = 0; i < obj->numVertices(); ++i)
 				calcVertex (obj->vertex (i));
 		} break;
 

mercurial