diff options
author | Marius Kintel <marius@kintel.net> | 2010-11-07 21:29:34 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2010-11-07 21:29:34 (GMT) |
commit | e0a068a0e8678da426e1edd398feab5f4ea4d0f0 (patch) | |
tree | 5eaa05991d1652fd10692eb7410143d973db6643 /src/primitives.cc | |
parent | d310e364d14444a1a27ae2337cfb4bd0ab061113 (diff) |
Refactored some QString usage in the backend to std::string
Diffstat (limited to 'src/primitives.cc')
-rw-r--r-- | src/primitives.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/primitives.cc b/src/primitives.cc index dd284fa..187a4ea 100644 --- a/src/primitives.cc +++ b/src/primitives.cc @@ -579,8 +579,8 @@ std::string PrimitiveNode::toString() const << ", r2 = " << this->r2 << ", center = " << (center ? "true" : "false") << ")"; break; case POLYHEDRON: - stream << "(points = " << this->points.dump() - << ", triangles = " << this->triangles.dump() + stream << "(points = " << this->points + << ", triangles = " << this->triangles << ", convexity = " << this->convexity << ")"; break; case SQUARE: @@ -592,7 +592,7 @@ std::string PrimitiveNode::toString() const << ", $fs = " << this->fs << ", r = " << this->r1 << ")"; break; case POLYGON: - stream << "(points = " << this->points.dump() << ", paths = " << this->paths.dump() << ", convexity = " << this->convexity << ")"; + stream << "(points = " << this->points << ", paths = " << this->paths << ", convexity = " << this->convexity << ")"; break; default: assert(false); |