mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-23 20:50:59 -05:00
Fix crash with creating Scene Property list
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user