Fix editor scene persistence and XC scene workflow
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user