Index: trunk/src_plugins/export_xy/xy.c =================================================================== --- trunk/src_plugins/export_xy/xy.c (revision 35945) +++ trunk/src_plugins/export_xy/xy.c (revision 35946) @@ -721,10 +721,12 @@ /* apply attribute translation (affected by the final rotation of the part because the p&p machine will rotate around this point while the subc was rotated around it's pcb-rnd-origin) */ - if (atrans && ((ctx->tx != 0) || (ctx->ty != 0)) && (ctx->theta != 0)) { - double tdeg = ctx->front ? -ctx->theta : ctx->theta; - double trad = tdeg / RND_RAD_TO_DEG; - rnd_rotate(&tx, &ty, 0, 0, cos(trad), sin(trad)); + if (atrans && ((ctx->tx != 0) || (ctx->ty != 0))) { + if (ctx->theta != 0) { + double tdeg = ctx->front ? -ctx->theta : ctx->theta; + double trad = tdeg / RND_RAD_TO_DEG; + rnd_rotate(&tx, &ty, 0, 0, cos(trad), sin(trad)); + } if (!ctx->front) ty = -ty; }