changed 3D rendering

added pan/zoom gesture
This commit is contained in:
2018-02-04 17:02:14 +01:00
parent 3b62f23c0e
commit 076c0e9157
32 changed files with 446 additions and 484 deletions

View File

@@ -22,9 +22,6 @@ class MapModel : public QObject, public MapLayerListener {
private:
///** wrapper-classes for all elements */
//std::vector<MapModelElement*> selElements;
/** the map's root-layer containing all other layers */
MapLayer* root = nullptr;
@@ -74,6 +71,7 @@ public:
if (root) {delete root; root = nullptr;}
}
/** load map from file */
void load(const std::string& file) {
emit aboutToReset();
@@ -90,6 +88,7 @@ public:
}
/** save map to file */
void save(const std::string& file) {
Floorplan::Writer::writeToFile(im, file);