Fix editor scene persistence and XC scene workflow

This commit is contained in:
2026-03-26 01:26:26 +08:00
parent 39edb0b497
commit 0651666d8c
35 changed files with 1958 additions and 256 deletions

View File

@@ -142,7 +142,7 @@ TEST(GameObject_Test, SetParent_WithoutWorldPosition) {
child.SetParent(&parent, false);
Vector3 childWorldPos = child.GetTransform()->GetPosition();
EXPECT_NEAR(childWorldPos.x, 2.0f, 0.001f);
EXPECT_NEAR(childWorldPos.x, 3.0f, 0.001f);
}
TEST(GameObject_Test, GetChild_ValidIndex) {
@@ -275,4 +275,4 @@ TEST(GameObject_Test, GetChildCount) {
EXPECT_EQ(parent.GetChildCount(), 2u);
}
} // namespace
} // namespace