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 {
3838 /// Registers a new [`AssetLoader`]. [`AssetLoader`]s must be registered before they can be used.
3939 pub ( crate ) fn push < L : AssetLoader > ( & mut self , loader : L ) {
4040 let type_path = L :: type_path ( ) ;
41+ // TODO: Allow using the short path of loaders.
4142 let loader_asset_type = TypeId :: of :: < L :: Asset > ( ) ;
4243 let loader_asset_type_name = core:: any:: type_name :: < L :: Asset > ( ) ;
4344
@@ -111,6 +112,7 @@ impl AssetLoaders {
111112 let loader_asset_type = TypeId :: of :: < L :: Asset > ( ) ;
112113 let loader_asset_type_name = core:: any:: type_name :: < L :: Asset > ( ) ;
113114 let type_path = L :: type_path ( ) ;
115+ // TODO: Allow using the short path of loaders.
114116
115117 let loader_index = self . loaders . len ( ) ;
116118
You can’t perform that action at this time.
0 commit comments