summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nodedumper.cc17
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();
}
contact: Jan Huwald // Impressum