File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
crates/bevy_asset/src/server Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ impl AssetLoaders {
38
38
/// Registers a new [`AssetLoader`]. [`AssetLoader`]s must be registered before they can be used.
39
39
pub ( crate ) fn push < L : AssetLoader > ( & mut self , loader : L ) {
40
40
let type_path = L :: type_path ( ) ;
41
+ // TODO: Allow using the short path of loaders.
41
42
let loader_asset_type = TypeId :: of :: < L :: Asset > ( ) ;
42
43
let loader_asset_type_name = core:: any:: type_name :: < L :: Asset > ( ) ;
43
44
@@ -111,6 +112,7 @@ impl AssetLoaders {
111
112
let loader_asset_type = TypeId :: of :: < L :: Asset > ( ) ;
112
113
let loader_asset_type_name = core:: any:: type_name :: < L :: Asset > ( ) ;
113
114
let type_path = L :: type_path ( ) ;
115
+ // TODO: Allow using the short path of loaders.
114
116
115
117
let loader_index = self . loaders . len ( ) ;
116
118
You can’t perform that action at this time.
0 commit comments