trevorsandy / lpub3d

An LDraw™ editor for LEGO® style digital building instructions.
https://trevorsandy.github.io/lpub3d/
130 stars 19 forks source link

Global Page Orientation and page background image within include file not always applied #735

Closed d-j-m-0 closed 1 year ago

d-j-m-0 commented 1 year ago

Subject

I have an include file which contains common LPub3D settings applicable to my instructions. The page orientation and page background image are defined within the common file. Although they are being applied to sub-model pages, the main assembly page is not applying the values.

Screenshots: Page 1 - Landscape orientation and background image applied to sub-model as expected. page_1

Confirmation of Page Global set-up values: page_1_page_globals_setup

Page 2 - Same setting applied: page_2

Page 3 - Orientation and background not applied: page_3

Page Global set-up values seem to have changed: page_3_page_globals_setup

Environment

Steps to reproduce

The attached zip file contains the two LDraw files and the background image. Extract the files and open the file named avalanche_for_lpub3d in LPub3d. Navigate through each page to see the behaviour.

Expected behaviour

The main assembly page should be using the global orientation and background values contained in the included common file.

Actual behaviour

The page setting are being ignored/

sample.zip

trevorsandy commented 1 year ago

Thank you for reporting this behaviour.

This behaviour has been corrected.

IncludeFile_01

Cheers,