Fix error when animated model skeleton has duplicated node name
This commit is contained in:
@@ -92,7 +92,7 @@ namespace FlaxEditor.Surface.Elements
|
||||
{
|
||||
sb.Clear();
|
||||
var node = nodes[nodeIndex];
|
||||
_nodeNameToIndex.Add(node.Name, nodeIndex);
|
||||
_nodeNameToIndex[node.Name] = nodeIndex;
|
||||
int parent = node.ParentIndex;
|
||||
while (parent != -1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user