diff options
| author | don bright <hugh.m.bright@gmail.com> | 2013-04-03 03:51:20 (GMT) |
|---|---|---|
| committer | don bright <hugh.m.bright@gmail.com> | 2013-04-03 03:51:20 (GMT) |
| commit | c7f83aa3e35baf8a517c40a367ec247a7061b225 (patch) | |
| tree | cca14bfc6e3f30fa67ea3da23837014ae59d12dd /src | |
| parent | beff2b1f4811b7f9d2b58bfc6a469a363bc9bfd0 (diff) | |
remove redundant code, root_node and absolute_root_node
Diffstat (limited to 'src')
| -rw-r--r-- | src/openscad.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/openscad.cc b/src/openscad.cc index f7cc48e..878c207 100644 --- a/src/openscad.cc +++ b/src/openscad.cc @@ -357,11 +357,10 @@ int main(int argc, char **argv) AbstractNode::resetIndexCounter(); absolute_root_node = root_module->evaluate(&root_ctx, &root_inst); - root_node = root_module->evaluate(&root_ctx, &root_inst); // Do we have an explicit root node (! modifier)? if (!(root_node = find_root_tag(absolute_root_node))) - root_node = absolute_root_node; + root_node = absolute_root_node; tree.setRoot(root_node); |
