Commit 27ef41d3 authored by Alexander Bock's avatar Alexander Bock
Browse files

Fix crash with creating Scene Property list

parent 158f99e0
No related merge requests found
Showing with 4 additions and 1 deletion
+4 -1
......@@ -154,7 +154,10 @@ namespace {
if ((node.children.size() == 1) && (node.nodes.empty())) {
node.path = node.path + "/" + node.children[0]->path;
node.nodes = std::move(node.children[0]->nodes);
node.children = std::move(node.children[0]->children);
std::vector<std::unique_ptr<TreeNode>> children = std::move(
node.children[0]->children
);
node.children = std::move(children);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment