Fix crashing

Convert text model to CR+LF when saving

Experiment to delete the Model class and rely solely on text documents

Only enable the text editor when having a model open

Add basic syntax highlighting

Delete object editor

fix some issues like subfile references not showing up properly

Replace item view with a text editor

Add copy action

Add missing 0 BFC INVERTNEXT when writing out subfile references

minor fix in main

Make the extrusion axis only visible when extruding

Fix normal of the plane used to find cylinder height

Reduce edittools.cpp further

Fix polygonize not finding the normal properly

Cleanup polygonize a bit

Extract the triangulation and triangle merging code into a new source file and clean it up somewhat

Reduce indent level

Let's try to keep the amount of indents in check...

Allow make a cylinder even if the world position is not on grid

Improve preview of cylinder extrusion

Added rudimentary cylinder extrusion into circle tool.

Improve click handling

Fix right click to delete not really working properly

Use different cursors depending on edit mode

Simplify some code

Fixed ModelId being used to identify both models and elements, added ElementId to identify elements

add comments in colors.h

simplify a bit

Enable drawing clockwise shapes despite mapbox::earcut rewinding them

Add support for BFC CERTIFY statements

minor updates to main window ui

(0) -300 -100 -50 -32 +32 tip

mercurial