Fixed vector issues when constructing the SHRig
This commit is contained in:
parent
190665bbbf
commit
3d73185926
|
@ -103,7 +103,8 @@ namespace SHADE
|
|||
continue;
|
||||
|
||||
// Recursively create children
|
||||
newNode->Children.emplace_back(recurseCreateNode(asset, child));
|
||||
auto childNode = recurseCreateNode(asset, child); // Not sure why this works but it is required for
|
||||
newNode->Children.emplace_back(childNode); // the emplace_back operation to not crash
|
||||
}
|
||||
|
||||
return newNode;
|
||||
|
|
Loading…
Reference in New Issue