Removed unused code

Extracted the state of the program into a MainState structure, and extracted local functions of main() into static functions.

Move some recent file handling to MainWindow

`PartRenderer::renderVao` no longer throws if bad array class is given, this is now checked on compile time

The renderer now centers on the grid origin, not the part origin

Hopefully fixed all problems with determining polygon winding

Add settings import and export

Made editor font configurable

Move the about dialog to MainWindow. The hack to retrieve GL extensions is made a bit cleaner

Readd the MainWindow class and renderstyle button handling to it

Use explicit captures in main

Rename forModel -> forEachModel

Add missing 'static' keywords and deleted unused code

Opening recently opened files works again now

Rename ColorButtonPlugin -> ColorEditPlugin

(0) -300 -100 -15 +15 tip

mercurial