File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -157,4 +157,3 @@ impl Deref for Name {
157
157
self . name . as_ref ( )
158
158
}
159
159
}
160
-
Original file line number Diff line number Diff line change @@ -137,7 +137,6 @@ async fn load_gltf<'a, 'b>(
137
137
}
138
138
}
139
139
140
-
141
140
let mut meshes = vec ! [ ] ;
142
141
let mut named_meshes = HashMap :: default ( ) ;
143
142
for mesh in gltf. meshes ( ) {
@@ -544,7 +543,10 @@ async fn load_gltf<'a, 'b>(
544
543
}
545
544
546
545
fn is_animation_root ( gltf : & gltf:: Gltf , node : & gltf:: Node ) -> bool {
547
- gltf. animations ( ) . flat_map ( |a| a. channels ( ) ) . any ( |c| node. children ( ) . any ( |n| c. target ( ) . node ( ) . index ( ) == n. index ( ) ) )
546
+ gltf. animations ( ) . flat_map ( |a| a. channels ( ) ) . any ( |c| {
547
+ node. children ( )
548
+ . any ( |n| c. target ( ) . node ( ) . index ( ) == n. index ( ) )
549
+ } )
548
550
}
549
551
550
552
fn node_name ( node : & Node ) -> Name {
You can’t perform that action at this time.
0 commit comments