summaryrefslogtreecommitdiffstats
path: root/src/progs/demolition/DemolitionModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/demolition/DemolitionModel.cpp')
-rw-r--r--src/progs/demolition/DemolitionModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/progs/demolition/DemolitionModel.cpp b/src/progs/demolition/DemolitionModel.cpp
index b4faa533..056c18e4 100644
--- a/src/progs/demolition/DemolitionModel.cpp
+++ b/src/progs/demolition/DemolitionModel.cpp
@@ -161,7 +161,7 @@ DemolitionModel::node(const Path& path)
NodeModel* ret = NULL;
for (vector<PatchModel*>::iterator i = m_patches.begin(); i != m_patches.end(); ++i) {
- ret = (*i)->get_node(path.name());
+ ret = (*i)->get_node(path.name()).get();
if (ret != NULL)
break;
}