Skip to content

Commit 92571c8

Browse files
committed
Use the const identity() over default()
1 parent 37f64e4 commit 92571c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_gltf/src/loader.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ async fn load_gltf<'a, 'b>(
281281
let mut world = World::default();
282282
world
283283
.spawn()
284-
.insert_bundle(TransformBundle::default())
284+
.insert_bundle(TransformBundle::identity())
285285
.with_children(|parent| {
286286
for node in scene.nodes() {
287287
let result = load_node(&node, parent, load_context, &buffer_data);

0 commit comments

Comments
 (0)