- removed some relics from the old immediate mode renderer

- apply #pragma once to glShared.h

- type-aliased QString to String

- resetAngles still needs to request a zoom to fit or the ctrl-0 action doesn't zoom to fit

- more elegant version of ded0a9b, do not zoom to fit in setDocument, instead zoom to fit before rendering

- use #pragma once for the gl compiler header

- when setting the current document, the GL compiler must be told that a merge is necessary *before* setting the renderer's document as setDocument will call zoomToFit which renders the scene. this rendering must trigger a merge or ldforge crashes if a new document is created when a document is already open.

(0) -300 -100 -30 -10 -7 +7 +10 +30 +100 +300 tip

mercurial