trevorsandy / lpub3d

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

Parse top-model INCLUDE file at model file load #631

Closed trevorsandy closed 1 year ago

trevorsandy commented 1 year ago

Subject

Change the current behaviour to parse the top-model INCLUDE file during file load. Settings applied during file load affect the model parsing for page display so it is necessary to pre-set them before the normal model file parse during page display. With this change, the following settings should be applied if they appear in the top-level INCLUDE file:

Environment

Version of LPub3D - 2.4.6 Operating system - All

Expected behaviour

Settings needed before the first display page should always be set.

Actual behaviour

Settings needed before the first display page are not set if they are in an INCLUDE file

Solution

Enable expected behaviour.

Cheers,

trevorsandy commented 1 year ago

Implemented.

Cheers,