added "new map" button
fixed minor model/logic issues
This commit is contained in:
@@ -53,10 +53,17 @@ public:
|
||||
|
||||
/** create a new, empty root node */
|
||||
void startEmpty() {
|
||||
|
||||
emit aboutToReset();
|
||||
cleanup();
|
||||
|
||||
im = new Floorplan::IndoorMap();
|
||||
root = new MMRoot(nullptr, im);
|
||||
root->addListener(this);
|
||||
//root->addSublayer(new MMFloors(root, im));
|
||||
|
||||
emit reset();
|
||||
|
||||
}
|
||||
|
||||
void cleanup() {
|
||||
|
||||
Reference in New Issue
Block a user