Index: export_openscad.c =================================================================== --- export_openscad.c (revision 19132) +++ export_openscad.c (revision 19133) @@ -47,6 +47,7 @@ #include "plugins.h" #include "safe_fs.h" #include "obj_pstk_inlines.h" +#include "funchash_core.h" #include "hid.h" #include "hid_nogui.h" @@ -368,12 +369,9 @@ return 0; } - if (flags & PCB_LYT_PDRILL) + if (PCB_LAYER_IS_DRILL(flags, purpi)) return 0; - if (flags & PCB_LYT_UDRILL) - return 0; - if (flags & PCB_LYT_MASK) { if (!openscad_attribute_list[HA_mask].default_val.int_value) return 0;