Fix memory corruption involving document tools.

Update document tab label after saving

Saving works now

work on saving

Document and refactor colors.cpp and colors.h

Document model.h

Add documentation to model.cpp

Work on edit history

Merge commit

Add remaining serialize methods

Begin work on edit history

Begin work with serialization

add missing change to document.cpp

Add missing changes to canvas.h

Add documentation

Moved automatic grid adjusting into a new action

added a simple matrix transformation tool

moved ObjectEditor under SelectTool

Move tools under Document instead of MainWindow

esc with draw mode now clears the polygon

refactor

Show concave polygons as red while drawing

added right click support for draw tool

rework rendering of vertices

update

Add vertex rendering

Add vertex map

refactor

fix too long lines

added build-time test for line length

refactor

use QT_NO_KEYWORDS

Draw tool actually adds objects now

stuff

replaced preview layers in favor of overpainting callback

work on editing tools

Move selection logic into select tool

work on draw preview

added preview layer code and fixed build warnings

Add connections

update

stuff

added references to items()

fix build

disable cotire because it's messing up Qt Creator's Clang code model for me

added translations to dependencies in CMakeLists... maybe that's the source of the trouble with translations getting emptied

work on tools

added tool base code

asioita

added a color select dialog

fix warnings

merge commit

add comments

remove dependency on glut, fixes

object editing

finetuning in multiplyfactordialog

added PolygonObject and refactored away a lot of boilerplate

PolygonObjectEditor can now modify the object properly

added a matrix editing widget

fix

refactor, added splitter

added doublespinbox

object editor widgets start to form up

simplification

added a render style for pick scene

fixed signed vs unsigned nonsense in gl::Compiler::idFromColor

added some meta stuff, simplified quadrilateral splitting and tested it

finished splitQuadrilateral theoretically (untested)

document AbstractBasicShaderProgram

negative axes are now drawn in darker color

ldraw::Id is now templated for extra type safety

stretch the grid quadrilateral less, hopefully this makes fragments small enough even on integrated

show axis directions on the screen

Added axes rendering

begin work on axes program

default to XZ

grid autorotation

added a method to find out if the view is perpendicular to grid

document the grid snapping transformations

grid snapping now also works with transformed grids

omg functional programming

update locales

moved GridProgram to Canvas

fixed warning

fixed testing of whether screenToModelCoordinates's result value is behind the camera

use glm::project instead of figuring out the conversion manually...

use glm::unProject to implement screenToModelCoordinates

PartRenderer::modelToScreenCoordinates FINALLY WORKS

grid stuff

made the grid look nicer

added grid program

avoid having the null id in the selection

selection works now

fix some warnings

wrote the id color in terms of the id value in the shader now that I can get the id to the shader properly

added selection highlighting

picking works now

added the pick scene

added configurable line anti-aliasing

added configurable line thickness

made edges white in dark backgrounds

made configurationoptions.txt visible in Qt Creator

added automated configuration collection

added configurable background color

Main color is now configurable

translations

wired renderstyle up

added render style storage

renamed the linetypes namespace to ldraw namespace and added more structures to it

added some sort of lighting

replaced matrix and vertex classes with glm

fix default angle

fix remaining rendering control issues

it works!

added FindGLM.cmake

modelview matrix set up

commit work done on plugging vao to the gl renderer, renders nonsense for now

at least VAOs work now

added debug and release to hgignore

added license

(0) -120 +120 tip

mercurial