Use Mapbox's ear clipping algorithm to handle drawing any simple polygon

Edit tools: get rid of the preview polygon and render the result-to-be

simplify settings further

Further reduce settings.h

fix comment

Replace config collector with a simpler system

reimplement EditTools as a render layer

Reworked grid program into a render layer

Reimplement the axes program as a layer that can be added to PartRenderer

begin refactor of gl side

Rewrite prune to use graphs rather than O(n²) searches

Rewrite dependency loading

Now builds again

more refactoring, dosn't build yet

remove more dead code

Add model icons back into the list view

well that's embarrassing

More refactor, merged main.h, basics.h and utility.h into one header file basics.h and removed plenty of unused code

Refactor colors.cpp/.h

Concentrate model editing into one coroutine inside main()

Move editing modes tool bar, tool options widget stack and model list view into the main window

Replaced the tab widget with an MDI area

Continue giant refactor

Giant refactor

Fix pick() picking from weird places on the screen with high DPI scaling

fix up things and remove unnecessary code

move drawState to Document

delete unneeded things

added a missing const

simplify further

Simplify PolygonCache

remove dead code

made editing tools not a polymorphic class tree

add missing file

cleanup, gl::Compiler changed to gl::ModelShaders

more work on circle tool + cleanup

work on circle tool

work on circle tool

Added line path tool

Add missing svg icon

- Add editors for string and bool properties

add ui file to object editor

fix build

Handle properties in a generic manner in the object editor

merge

fix saving

Show type of object in the object editor

Simplify parsing (removed header parsing)

add grid actions

show unnamed tabs as "<unnamed>" in the tab list

Fix performance issues in Model::find

Render vertices as spheres

add missing file

Added a toggle for setting whether axes are drawn

Added the delete action

Draw tool now renders the winding of the new polygon

the grid now has less lines

Fix rendering of cursor coordinates on bright background

fixed the grid not being black on startup if settings has bright background color

Render draw tool preview as a line when we only have 2 points

(0) -100 -60 +60 +100 tip

mercurial