Skip to content

Commit 604068b

Browse files
committed
add child3 to updated list
Child3 has its mesh filter updated even though it wasn't directly modified. This is because the FileID in the meta file changed. For example: oldvalue : {"MeshFilter":{"m_Mesh":{"fileID":4300008,"guid":"9e8f66f421db4884f8bfe401c8c4947f","type":3}}} new value: {"MeshFilter":{"m_Mesh":{"fileID":4300002,"guid":"9e8f66f421db4884f8bfe401c8c4947f","type":3}}}
1 parent 5f6680f commit 604068b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/FbxExporters/Editor/UnitTests/FbxPrefabTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ public void BasicTest() {
251251
// transform changed, Parent3 was created.
252252
Assert.AreEqual (1, updateSet.NumUpdates);
253253
Assert.That (updateSet.Updated, Is.EquivalentTo (new string [] {
254-
"Parent2", "Parent3"
254+
"Parent2", "Parent3", "Child3"
255255
}
256256
));
257257

0 commit comments

Comments
 (0)