Compare commits
No commits in common. "main" and "v0.9.0" have entirely different histories.
|
@ -2,12 +2,6 @@
|
||||||
|
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
## Version 0.9.1 - 2025-01-07
|
|
||||||
|
|
||||||
### Miscellaneous Tasks
|
|
||||||
|
|
||||||
- Don't set position if values are NaN.
|
|
||||||
|
|
||||||
## Version 0.9.0 - 2024-12-06
|
## Version 0.9.0 - 2024-12-06
|
||||||
|
|
||||||
### Miscellaneous Tasks
|
### Miscellaneous Tasks
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "bevy_synthizer"
|
name = "bevy_synthizer"
|
||||||
version = "0.9.1"
|
version = "0.9.0"
|
||||||
authors = ["Nolan Darilek <nolan@thewordnerd.info>"]
|
authors = ["Nolan Darilek <nolan@thewordnerd.info>"]
|
||||||
description = "A Bevy plugin for Synthizer, a library for 3D audio and synthesis with a focus on games and VR applications"
|
description = "A Bevy plugin for Synthizer, a library for 3D audio and synthesis with a focus on games and VR applications"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
|
|
|
@ -441,7 +441,6 @@ fn update_source_properties(
|
||||||
if let Some(source) = handle.cast_to::<syz::Source3D>().expect("Failed to cast") {
|
if let Some(source) = handle.cast_to::<syz::Source3D>().expect("Failed to cast") {
|
||||||
if let Some(transform) = transform {
|
if let Some(transform) = transform {
|
||||||
let translation = transform.translation();
|
let translation = transform.translation();
|
||||||
if !translation.x.is_nan() && !translation.y.is_nan() && !translation.z.is_nan() {
|
|
||||||
source
|
source
|
||||||
.position()
|
.position()
|
||||||
.set((
|
.set((
|
||||||
|
@ -450,7 +449,6 @@ fn update_source_properties(
|
||||||
translation.z as f64,
|
translation.z as f64,
|
||||||
))
|
))
|
||||||
.expect("Failed to set position");
|
.expect("Failed to set position");
|
||||||
}
|
|
||||||
let distance_model = distance_model
|
let distance_model = distance_model
|
||||||
.cloned()
|
.cloned()
|
||||||
.map(|v| *v)
|
.map(|v| *v)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user