added "outdoor" support to floorplan and grid-nodes

This commit is contained in:
2017-03-12 16:47:29 +01:00
parent e88f0b85a6
commit 7ec5fef697
5 changed files with 55 additions and 27 deletions

View File

@@ -412,6 +412,7 @@ namespace Floorplan {
static FloorOutlinePolygon* parseFloorPolygon(const XMLElem* el) {
FloorOutlinePolygon* poly = new FloorOutlinePolygon();
poly->name = el->Attribute("name");
poly->outdoor = el->BoolAttribute("outdoor");
poly->method = parseOutlineMethod(el->Attribute("method"));
poly->poly = parsePoly2(el);
return poly;