Skip to content

Fix bug in layout_nup extension

Frederik Scheerer requested to merge 1117x/extensions:master into master

The current implementation of the layout_nup extension has a bug. When explicitly setting the "Size X" and "Size Y" while deselecting "auto calculate layout size", the resulting layout is significantly larger than specified. This merge request fixes this bug.

Implementation notes

size = self.expandTuple(unit, size, length=2) is set twice, once in l. 170 and once in l. 195. Passing the already calculated size to expandTuple again yields wrong results. The merge request simply removes the second invocation of expandTuple.

Merge request reports