Skip to content

Commit a8b43dc

Browse files
committed
Added comment about reparenting
1 parent 2ec0b6c commit a8b43dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Assets/FbxExporters/Editor/FbxPrefabAutoUpdater.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1142,6 +1142,7 @@ public HashSet<GameObject> ImplementUpdates(FbxPrefab prefabInstance)
11421142

11431143

11441144
// Rename old nodes (unity names) into new nodes (FBX names).
1145+
// We do it before the reparenting because m_reparentings contains the fbx name and won't find the parent without the renaming
11451146
foreach (var FBXNodeNameToRename in m_nodesToRename)
11461147
{
11471148
if (prefabNodes[m_fbxPrefabUtility.GetUnityObjectName(FBXNodeNameToRename)] != null)

0 commit comments

Comments
 (0)