Tuesday, May 15, 2018

FMod - Fix order of startup warnings

A very helpful Abiathar user reported a UI issue. After program initialization is complete, Abiathar checks its command-line arguments to see if it should try to un-LZ an EXE or open a project file; that's all fine. If a project file's version is not recognized, Abiathar will produce a warning before trying to open it; that is also the intended behavior. However, if the project open attempt is made at startup (like when the user drags a project file onto the Abiathar executable), any warnings will appear under the splash dialog and therefore be unreadable. I fixed that by doing the command-line argument processing when the main form is shown (after the splash screen is gone), not during its load.

I also made the temporary level wrappers used by the clipboards palette read-only, since there should be no way for a tool to operate on them and render planes shouldn't be changing the levels.

No comments:

Post a Comment