Skip to content

Commit a2fc0c2

Browse files
committed
Fixed CI fail following bevyengine#17905 changes to ChildOf.
1 parent 9f71ec6 commit a2fc0c2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/3d/invalid_skinned_mesh.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,11 @@ fn setup_meshes(
155155
let joint_0 = commands.spawn(transform).id();
156156

157157
let joint_1 = commands
158-
.spawn((ChildOf(joint_0), AnimatedJoint, Transform::IDENTITY))
158+
.spawn((
159+
ChildOf { parent: joint_0 },
160+
AnimatedJoint,
161+
Transform::IDENTITY,
162+
))
159163
.id();
160164

161165
// Optionally delete one joint entity.

0 commit comments

Comments
 (0)