Fix log formatting

This commit is contained in:
Eric Fischer 2016-04-12 16:52:46 -07:00
parent e5461b1863
commit cb4a83776e

View File

@ -398,15 +398,15 @@ static void dump(drawvec &geom) {
if (!clipper.AddPath(path, ClipperLib::ptSubject, true)) {
}
printf("clipper.AddPath(path, ClipperLib::ptSubject, true); ");
printf("clipper.AddPath(path, ClipperLib::ptSubject, true); }\n");
i = j - 1;
} else {
fprintf(stderr, "Unexpected operation in polygon %d\n", (int) geom[i].op);
exit(EXIT_FAILURE);
}
printf("clipper.Execute(ClipperLib::ctUnion, clipped)); }");
}
printf("clipper.Execute(ClipperLib::ctUnion, clipped));\n");
}
drawvec clean_or_clip_poly(drawvec &geom, int z, int detail, int buffer, bool clip) {