diff --git a/kikit/panelize.py b/kikit/panelize.py index 75ad5d57..4860a9f6 100644 --- a/kikit/panelize.py +++ b/kikit/panelize.py @@ -1007,7 +1007,8 @@ def yieldMapping(old: str, new: str) -> None: if isinstance(item, pcbnew.FIELD_TYPE) and item.IsKeepUpright(): actualOrientation = item.GetDrawRotation() item.SetKeepUpright(False) - item.SetTextAngle(actualOrientation - footprint.GetOrientation()) + alteredOrientation = item.GetDrawRotation() + item.SetTextAngle(item.GetTextAngle() + (alteredOrientation - actualOrientation)) footprint.Rotate(originPoint, rotationAngle) footprint.Move(translation) edges += removeCutsFromFootprint(footprint)