diff --git a/crates/blenvy/src/blueprints/animation.rs b/crates/blenvy/src/blueprints/animation.rs index bf10a8c..4b827d3 100644 --- a/crates/blenvy/src/blueprints/animation.rs +++ b/crates/blenvy/src/blueprints/animation.rs @@ -107,7 +107,7 @@ pub fn trigger_blueprint_animation_markers_events( let animation_player = animation_players.get(player_link.0).unwrap(); let (animation_infos, animation_markers) = animation_infos.get(infos_link.0).unwrap(); - if animation_player.animation_is_playing(*node_index) { + if animation_player.is_playing_animation(*node_index) { if let Some(animation) = animation_player.animation(*node_index) { // animation.speed() // animation.completions() @@ -185,7 +185,7 @@ pub fn trigger_instance_animation_markers_events( for (animation_name, node_index) in animations.named_indices.iter() { let animation_player = animation_players.get(player_link.0).unwrap(); - if animation_player.animation_is_playing(*node_index) { + if animation_player.is_playing_animation(*node_index) { if let Some(__animation) = animation_player.animation(*node_index) { if let Some(animation_clip_handle) = animations.named_animations.get(animation_name) diff --git a/crates/blenvy/src/save_load/mod.rs b/crates/blenvy/src/save_load/mod.rs index 9217e47..9f1f2a4 100644 --- a/crates/blenvy/src/save_load/mod.rs +++ b/crates/blenvy/src/save_load/mod.rs @@ -1,5 +1,5 @@ pub mod common; -pub use common::*; +pub(crate) use common::*; pub mod saving; pub use saving::*;