diff options
author | Marius Kintel <marius@kintel.net> | 2010-11-07 22:52:50 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2010-11-07 22:52:50 (GMT) |
commit | 4dbae0e7f2fde2403ca5cd634ccf0fe2355b249c (patch) | |
tree | 6f724b4f1860cead87e07c186d728252f391f638 /src/nodedumper.cc | |
parent | 93c00f9efe181caf1fc033c6eec986e6abefa814 (diff) |
COMPAT mode not needed anymore
Diffstat (limited to 'src/nodedumper.cc')
-rw-r--r-- | src/nodedumper.cc | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/nodedumper.cc b/src/nodedumper.cc index 4275508..d75c703 100644 --- a/src/nodedumper.cc +++ b/src/nodedumper.cc @@ -10,15 +10,6 @@ #include <iostream> #include <assert.h> -// For compatibility with old dump() output. -// FIXME: Only needed for testing. -//#define NODEDUMPER_COMPAT_MODE -#ifdef NODEDUMPER_COMPAT_MODE -#include "dxflinextrudenode.h" -#include "dxfrotextrudenode.h" -#include "projectionnode.h" -#endif - /*! \class NodeDumper @@ -67,15 +58,7 @@ string NodeDumper::dumpChildren(const AbstractNode &node) dump << this->currindent << "}"; } else { -#ifndef NODEDUMPER_COMPAT_MODE dump << ";"; -#else - if (dynamic_cast<const AbstractPolyNode*>(&node) && - !dynamic_cast<const ProjectionNode*>(&node) && - !dynamic_cast<const DxfRotateExtrudeNode*>(&node) && - !dynamic_cast<const DxfLinearExtrudeNode*>(&node)) dump << ";"; - else dump << " {\n" << this->currindent << "}"; -#endif } return dump.str(); } |