34 ldraw::ColoredObject::setProperty(result, pair); |
34 ldraw::ColoredObject::setProperty(result, pair); |
35 } |
35 } |
36 |
36 |
37 QString ldraw::SubfileReference::textRepresentation() const |
37 QString ldraw::SubfileReference::textRepresentation() const |
38 { |
38 { |
39 return referenceName + " " + utility::vertexToStringParens(this->position()); |
39 QString out; |
|
40 if (this->isInverted) |
|
41 { |
|
42 out += "0 BFC INVERTNEXT\r\n"; |
|
43 } |
|
44 out += referenceName + " " + utility::vertexToStringParens(this->position()); |
|
45 return out; |
40 } |
46 } |
41 |
47 |
42 void ldraw::SubfileReference::getPolygons |
48 void ldraw::SubfileReference::getPolygons |
43 ( |
49 ( |
44 std::vector<gl::Polygon>& polygons, |
50 std::vector<gl::Polygon>& polygons, |