Bump Synthizer version.
This commit is contained in:
parent
1c8b9b1865
commit
5eb557afc1
|
@ -10,7 +10,7 @@ edition = "2021"
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1"
|
anyhow = "1"
|
||||||
bevy = { version = "0.7", default-features = false }
|
bevy = { version = "0.7", default-features = false }
|
||||||
synthizer = "0.4"
|
synthizer = "0.5"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
bevy = { version = "0.7", default-features = true }
|
bevy = { version = "0.7", default-features = true }
|
|
@ -317,7 +317,7 @@ pub fn update_sound_properties(
|
||||||
let distance_model = distance_model
|
let distance_model = distance_model
|
||||||
.cloned()
|
.cloned()
|
||||||
.map(|v| *v)
|
.map(|v| *v)
|
||||||
.unwrap_or_else(|| context.default_distance_modle().get().unwrap());
|
.unwrap_or_else(|| context.default_distance_model().get().unwrap());
|
||||||
source
|
source
|
||||||
.distance_model()
|
.distance_model()
|
||||||
.set(distance_model)
|
.set(distance_model)
|
||||||
|
@ -442,7 +442,7 @@ fn sync_config(context: Res<syz::Context>, config: Res<SynthizerConfig>, default
|
||||||
)
|
)
|
||||||
.expect("Failed to set panner strategy");
|
.expect("Failed to set panner strategy");
|
||||||
context
|
context
|
||||||
.default_distance_modle()
|
.default_distance_model()
|
||||||
.set(
|
.set(
|
||||||
config
|
config
|
||||||
.default_distance_model
|
.default_distance_model
|
||||||
|
@ -518,7 +518,7 @@ impl Plugin for SynthizerPlugin {
|
||||||
}
|
}
|
||||||
let defaults = Defaults {
|
let defaults = Defaults {
|
||||||
panner_strategy: context.default_panner_strategy().get().unwrap(),
|
panner_strategy: context.default_panner_strategy().get().unwrap(),
|
||||||
distance_model: context.default_distance_modle().get().unwrap(),
|
distance_model: context.default_distance_model().get().unwrap(),
|
||||||
distance_ref: context.default_distance_ref().get().unwrap(),
|
distance_ref: context.default_distance_ref().get().unwrap(),
|
||||||
distance_max: context.default_distance_max().get().unwrap(),
|
distance_max: context.default_distance_max().get().unwrap(),
|
||||||
rolloff: context.default_rolloff().get().unwrap(),
|
rolloff: context.default_rolloff().get().unwrap(),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user