Simplify signature of updateRenderPreferences

More refactor and renaming

Move bezier curve to its own file

Winding is now an enum class winding_e

rename some functions

Grid scaling buttons now work

isConvex renamed to quadrilateral_convexity, refactor, now returns an enum instead of bool

Simplify signature of openModelFromPath

Also connect up the "Delete" action

Also connect up "Select all"

Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget

I forgot to add files again... this time it's modelsubwindow.h

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

Rename colorbutton.cpp -> coloredit.cpp

Rename ColorButton -> ColorEdit

Change color edit coloring to use only stylesheets to colorise the line edit only

delete commented out code

Changed color button to a line edit+button combination

Fix BFC formatting not working due to being evaluated after comment format

Fix line type 0 format regular expression

Save settings as soon as they are changed, Cancel and Reset buttons revert changes

Merge commit

Add SIG macro

Delete unused code

Remove debug code

Draw mode and make unofficial tools now work again

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

(0) -300 -100 -64 tip

mercurial