src/glCompiler.cpp

changeset 1004
ba4200437179
parent 998
5be0ce31ce60
child 1005
a88cf5a32246
--- a/src/glCompiler.cpp	Sun Oct 04 06:43:02 2015 +0300
+++ b/src/glCompiler.cpp	Sun Oct 04 06:59:09 2015 +0300
@@ -337,6 +337,17 @@
 			break;
 		}
 
+	case OBJ_BezierCurve:
+		{
+			LDBezierCurve* curve = static_cast<LDBezierCurve*> (obj);
+			for (LDPolygon& poly : curve->rasterizePolygons (24))
+			{
+				poly.id = obj->id();
+				compilePolygon (poly, obj, &info);
+			}
+		}
+		break;
+
 		default:
 			break;
 	}

mercurial