1
0
mirror of git://projects.qi-hardware.com/cae-tools.git synced 2024-12-22 23:59:34 +02:00

cameo/ops.c (tool_comp_paths): inside/outside logic was reversed for outer path

This commit is contained in:
Werner Almesberger 2010-12-16 02:38:11 -03:00
parent 62152e2987
commit ed6bbff7f8

View File

@ -55,7 +55,7 @@ void tool_comp_paths(struct path *paths, int dog_bone, int all_inside)
for (path = paths; path; path = path->next)
if (path != leftmost && path->outside)
tool_comp_1(path, 0, dog_bone);
tool_comp_1(leftmost, !all_inside, dog_bone);
tool_comp_1(leftmost, all_inside, dog_bone);
}