Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b5f3d8280b |
@@ -2,7 +2,7 @@ use bevy::{
|
|||||||
app::ScheduleRunnerPlugin,
|
app::ScheduleRunnerPlugin,
|
||||||
asset::{AssetMode, AssetPlugin, processor::AssetProcessor, processor::ProcessorState},
|
asset::{AssetMode, AssetPlugin, processor::AssetProcessor, processor::ProcessorState},
|
||||||
gltf::GltfPlugin,
|
gltf::GltfPlugin,
|
||||||
image::{CompressedImageFormats, ImageLoader, ImagePlugin},
|
image::ImagePlugin,
|
||||||
prelude::*,
|
prelude::*,
|
||||||
tasks::block_on,
|
tasks::block_on,
|
||||||
text::TextPlugin,
|
text::TextPlugin,
|
||||||
@@ -19,7 +19,6 @@ fn main() -> ExitCode {
|
|||||||
..default()
|
..default()
|
||||||
})
|
})
|
||||||
.add_plugins((ImagePlugin::default(), TextPlugin, GltfPlugin::default()))
|
.add_plugins((ImagePlugin::default(), TextPlugin, GltfPlugin::default()))
|
||||||
.register_asset_loader(ImageLoader::new(CompressedImageFormats::NONE))
|
|
||||||
.add_plugins(AssetProcessingPlugin)
|
.add_plugins(AssetProcessingPlugin)
|
||||||
.add_systems(Update, finish_when_processed);
|
.add_systems(Update, finish_when_processed);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user