Skip to content

Commit 2fa026c

Browse files
committed
add comment about why Child3 changes
1 parent 604068b commit 2fa026c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Assets/FbxExporters/Editor/UnitTests/FbxPrefabTest.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,10 @@ public void BasicTest() {
249249

250250
// Make sure we got the right changes. Parent2 got its
251251
// transform changed, Parent3 was created.
252+
// Child3 had the fileID in its MeshFilter changed, as the
253+
// fileID depends on the order in the FBX file. Therefore,
254+
// adding/deleting/moving nodes can affect the fileID of
255+
// other objects in the scene.
252256
Assert.AreEqual (1, updateSet.NumUpdates);
253257
Assert.That (updateSet.Updated, Is.EquivalentTo (new string [] {
254258
"Parent2", "Parent3", "Child3"

0 commit comments

Comments
 (0)