Enhanced functionality of animation clip container creation #432
|
@ -54,6 +54,6 @@ namespace SHADE
|
|||
~SHRigAsset();
|
||||
SHRigDataHeader header;
|
||||
std::vector<SHRigNodeData> nodeDataCollection{};
|
||||
SHRigNodeAsset* root;
|
||||
std::vector<SHRigNodeAsset*> roots;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -279,6 +279,8 @@ namespace SHADE
|
|||
SHRigNodeAsset* depthPtr = nodePool + 1;
|
||||
NodeTemp* depthTempPtr = dst + 1;
|
||||
|
||||
uint32_t nodeCount{ 0 };
|
||||
|
||||
while(!nodeQueue.empty())
|
||||
{
|
||||
auto currPair = nodeQueue.front();
|
||||
|
@ -288,6 +290,13 @@ namespace SHADE
|
|||
|
||||
currNode->idRef = currTemp->id;
|
||||
|
||||
nodeCount++;
|
||||
|
||||
if (currTemp->numChild == 0 && nodeCount < header.nodeCount)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
for (auto i{0}; i < currTemp->numChild; ++i)
|
||||
{
|
||||
currNode->children.push_back(depthPtr);
|
||||
|
|
Loading…
Reference in New Issue