mirror of
https://github.com/kaosat-dev/Blender_bevy_components_workflow.git
synced 2024-12-26 01:24:10 +00:00
feat(Blenvy:Bevy): Disable ExportRegistryPlugin on WASM (#201)
Because it tries to write to the assets directory
This commit is contained in:
parent
94fe3f6d3c
commit
17b31daa30
@ -60,6 +60,7 @@ impl Plugin for BlenvyPlugin {
|
|||||||
fn build(&self, app: &mut App) {
|
fn build(&self, app: &mut App) {
|
||||||
app.add_plugins((
|
app.add_plugins((
|
||||||
ComponentsFromGltfPlugin::default(),
|
ComponentsFromGltfPlugin::default(),
|
||||||
|
#[cfg(not(target_arch = "wasm32"))]
|
||||||
ExportRegistryPlugin::default(),
|
ExportRegistryPlugin::default(),
|
||||||
BlueprintsPlugin::default(),
|
BlueprintsPlugin::default(),
|
||||||
))
|
))
|
||||||
|
Loading…
Reference in New Issue
Block a user