fixed some issues
improvied editing changed toolbox
This commit is contained in:
@@ -41,13 +41,15 @@ public:
|
||||
Floorplan::Floor* getFloor() {return floor;}
|
||||
|
||||
//TODO: check
|
||||
void create(Floorplan::FloorOutlinePolygon* poly) {
|
||||
MMFloorOutlinePolygon* create(Floorplan::FloorOutlinePolygon* poly) {
|
||||
|
||||
// add to underlying model
|
||||
floor->outline.push_back(poly);
|
||||
|
||||
// add to myself as element
|
||||
addElement(new MMFloorOutlinePolygon(this, floor, poly));
|
||||
MMFloorOutlinePolygon* mm = new MMFloorOutlinePolygon(this, floor, poly);
|
||||
addElement(mm);
|
||||
return mm;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user