diff options
author | don bright <hugh.m.bright@gmail.com> | 2012-08-19 18:08:32 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2012-08-19 18:08:32 (GMT) |
commit | c6eeb1a1c5da072e1c0a77d30892e4ee95ed9bde (patch) | |
tree | e5513fae2b6fbef7e974771eeb6deeba6e34f2a6 /src/csgterm.cc | |
parent | ee26d60a8b274afcdad7538bd8b2e9fb8d53f8bd (diff) | |
parent | c1d5e82b4365bf9d0563e1c5927a99d3def91832 (diff) |
Merge branch 'master' of github.com:openscad/openscad
Diffstat (limited to 'src/csgterm.cc')
-rw-r--r-- | src/csgterm.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/csgterm.cc b/src/csgterm.cc index 4e6912b..0e68320 100644 --- a/src/csgterm.cc +++ b/src/csgterm.cc @@ -178,7 +178,7 @@ void CSGChain::import(shared_ptr<CSGTerm> term, CSGTerm::type_e type) } } -std::string CSGChain::dump() +std::string CSGChain::dump(bool full) { std::stringstream dump; @@ -193,6 +193,11 @@ std::string CSGChain::dump() else if (types[i] == CSGTerm::TYPE_INTERSECTION) dump << " *"; dump << labels[i]; + if (full) { + dump << " polyset: \n" << polysets[i]->dump() << "\n"; + dump << " matrix: \n" << matrices[i].matrix() << "\n"; + dump << " color: \n" << colors[i] << "\n"; + } } dump << "\n"; return dump.str(); |