forked from 1b-agent/opencadstudio-upstream
add_layout took the sheet viewport out, so the first viewport added to the layout afterwards (by automation, or a plugin) was read as the sheet and the scale pill and paper camera followed it. The sheet now stays and is fitted to the page when the layout first opens; a layout saved before that is still written without viewports. Co-Authored-By: Claude Opus 5.5 <[email protected]>