diff options
author | don bright <hugh.m.bright@gmail.com> | 2012-10-28 18:01:10 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2012-10-28 18:01:10 (GMT) |
commit | ec41b7e4321986140bffdb87ca7efefb1d57f881 (patch) | |
tree | bd9e580562d814d06ac9a1718efdbf296bbc52e0 /src/svg.cc | |
parent | 0473a0eff3ccaaf8632c41b4ee9ced2fd716ed3a (diff) |
move failure-detection so there is only one reset of error behavior.
Diffstat (limited to 'src/svg.cc')
-rw-r--r-- | src/svg.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -8,10 +8,10 @@ namespace OpenSCAD { // SVG code // currently for debugging, not necessarily pretty or useful for users. (yet) -std::string svg_header() +std::string svg_header( int widthpx, int heightpx ) { std::stringstream out; - out << "<svg width='" << svg_px_width << "px' height='" << svg_px_height << "px'" + out << "<svg width='" << widthpx << "px' height='" << heightpx << "px'" << " xmlns='http://www.w3.org/2000/svg' version='1.1'>"; return out.str(); } |