src/linetypes/subfilereference.cpp

changeset 140
2f383e88acf4
parent 139
72098474d362
child 141
185eb297dc1e
equal deleted inserted replaced
139:72098474d362 140:2f383e88acf4
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,

mercurial