@@ -45,7 +45,7 @@ use gltf::{
4545 accessor:: Iter ,
4646 image:: Source ,
4747 mesh:: { util:: ReadIndices , Mode } ,
48- Document , Material , Node , Semantic ,
48+ Material , Node , Semantic ,
4949} ;
5050use serde:: { Deserialize , Serialize } ;
5151#[ cfg( feature = "bevy_animation" ) ]
@@ -986,7 +986,6 @@ impl GltfLoader {
986986 & animation_roots,
987987 #[ cfg( feature = "bevy_animation" ) ]
988988 None ,
989- & gltf. document ,
990989 & texture_handles,
991990 & convert_coordinates,
992991 & mut extensions,
@@ -1448,7 +1447,6 @@ fn load_node(
14481447 parent_transform : & Transform ,
14491448 #[ cfg( feature = "bevy_animation" ) ] animation_roots : & HashSet < usize > ,
14501449 #[ cfg( feature = "bevy_animation" ) ] mut animation_context : Option < AnimationContext > ,
1451- document : & Document ,
14521450 textures : & [ Handle < Image > ] ,
14531451 convert_coordinates : & GltfConvertCoordinates ,
14541452 extensions : & mut [ Box < dyn extensions:: GltfExtensionHandler > ] ,
@@ -1759,7 +1757,6 @@ fn load_node(
17591757 animation_roots,
17601758 #[ cfg( feature = "bevy_animation" ) ]
17611759 animation_context. clone ( ) ,
1762- document,
17631760 textures,
17641761 convert_coordinates,
17651762 extensions,
0 commit comments