more work on 8-primitives

Added support for 8-primitives

Whoops

some python cleanup

improved formatting of generated configuration code

MainWindow now stores its state in the config file so its state and geometry is preserved across instances

removed another unused class

removed unused include

replaced remaining DIRSLASH, Dirname and Basename uses with Qt file info stuff

used Qt file info stuff in the auto-subfiler

Used more Qt file info stuff

rewrote LDDocument::shortenName using Qt stuff

merged mathfunctions.cpp into algorithms/geometry.cpp

added comment

Happy new year 2018

Use 4 points of precision for circle point coordinates

roundToDecimals no longer needs an lvalue. applyToMatrix removed.

Config is now a namespace

renamed sink() to singleton()

used squared()

Moved includes, added squared() function

reorganized headers

removed unnecessary files and includes

removed the unused OpenProgressDialog

reworked includes

moved Vertex and BoundingBox into new code units

added stream operators to Vertex

reworked Vertex, no longer a QVector3D subclass

remove LDBfc

ported qOverload to drop minimum Qt requirement down to 5.5

remove LDPaths

reworked primitive scanning

Begin rework to add support for multiple libraries

fixed warning

red/green view rework complete

Bfc red/green view almost completely fixed

added more comments

reworked invert()

added license headers

moved inverting code into a new file

added comment editing

fixed color handling

fixed infinite recursion and integrated the subfilereference editor

added subfile reference editor

Added vertex object editing dialog

the header is now also saved

Added a new tool for clamping vertices

removed the old Add History Line tool

Part history can now be edited

Added basic header editing

Fixed crashing

add comments

Header parsing complete, moved all parsing code into a new class. Documents are now all loaded in one go.

begin work on document loading rework

added a document header structure

added signal emissions

moved emit calls

added an MVC interface to the primitives tree

fixed removing objects causing some other objects to disappear

optimized triangle count

fixed: LDDocument created one removal connection to the model for each object added, so removing an object from a model of 9 objects added 9 deletion entries to history

renamed signal

moved LDObject indices from a global array into Model

removed unused code

fixed object deleting not triggering the proper renderer updates

fixed DelHistoryEntries getting ignored...

removed some debug code

Implemented row moving in the model and replaced swapping with it

migrated model swapping to mvc and made Model::swapObjects to emit dataChanged signals as a temporary solution

removed some unneeded headers

Finally removed the cancer that is the LDObject::model pointer

Added LDObject serialization and refactored the internal resource managing to use it. No more tearing objects from one model into another, and this provides a stable way to keep an object's state in memory such as the edit history.

fix warning

removed another LDObject::model() use

removed LDError::fileReferenced

reimplemented detection of broken references in PartDownloadRequest::downloadFinished

reimplemented finding of broken document references

LDSubfileReference now contains the name of the subfile and not a pointer anymore. Some methods now require a DocumentManager* for context on resolving the name.

removed use of model() in LDSubfileReference::inlineContents

Removed LDObject::invert, inversion code moved to basic toolset

removed LDObject::swap

moved LDObject::next to the algorithm toolset

removed LDObject::lineNumber

more selection rework

removed LDDocument::clearSelection and replaced it with a MainWindow implementation

things #2

things

add operators to LDDocument

refactor

Converted magic wand mode and other selection stuff to mvc

more work on mvc

convert MainWindow::deleteSelection to mvc

made lighting more subtle

converted highlighting to mvc

used mvc selection models

more work on mvc

(0) -1000 -300 -100 -96 +96 +100 tip

mercurial