summaryrefslogtreecommitdiff
path: root/src/nodedumper.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2010-11-07 22:52:50 (GMT)
committerMarius Kintel <marius@kintel.net>2010-11-07 22:52:50 (GMT)
commit4dbae0e7f2fde2403ca5cd634ccf0fe2355b249c (patch)
tree6f724b4f1860cead87e07c186d728252f391f638 /src/nodedumper.cc
parent93c00f9efe181caf1fc033c6eec986e6abefa814 (diff)
COMPAT mode not needed anymore
Diffstat (limited to 'src/nodedumper.cc')
-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