changed 3D rendering
added pan/zoom gesture
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user