From 39790471638c1fc28b727a0203b62ab9710d8e79 Mon Sep 17 00:00:00 2001 From: kintel Date: Thu, 7 Jan 2010 15:46:57 +0000 Subject: I accidentally the whole \! operator git-svn-id: http://svn.clifford.at/openscad/trunk@228 b57f626f-c46c-0410-a088-ec61d464b74c diff --git a/mainwin.cc b/mainwin.cc index dff93cb..742788f 100644 --- a/mainwin.cc +++ b/mainwin.cc @@ -415,7 +415,7 @@ AbstractNode *MainWindow::find_root_tag(AbstractNode *n) { foreach(AbstractNode *v, n->children) { if (v->modinst->tag_root) return v; - return find_root_tag(v); + if (AbstractNode *vroot = find_root_tag(v)) return vroot; } return NULL; } -- cgit v0.10.1