fixed some issues

improvied editing
changed toolbox
This commit is contained in:
2017-03-20 19:25:23 +01:00
parent 92e279aefc
commit b7ee7d992a
18 changed files with 583 additions and 262 deletions

View File

@@ -29,13 +29,15 @@ public:
}
void create(Floorplan::StairFreeform* stair) {
MMFloorStair* create(Floorplan::StairFreeform* stair) {
// add to underlying model
floor->stairs.push_back(stair);
// add to myself as element
addElement(new MMFloorStair(this, floor, stair));
MMFloorStair* mm = new MMFloorStair(this, floor, stair);
addElement(mm);
return mm;
}