Couple of lint fixes.

This commit is contained in:
Patrick Dobbs 2024-12-31 15:51:51 +00:00
parent fdae5d3525
commit 998990e4af
2 changed files with 3 additions and 3 deletions

View File

@ -107,7 +107,7 @@ pub fn trigger_blueprint_animation_markers_events(
let animation_player = animation_players.get(player_link.0).unwrap(); let animation_player = animation_players.get(player_link.0).unwrap();
let (animation_infos, animation_markers) = animation_infos.get(infos_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) { if let Some(animation) = animation_player.animation(*node_index) {
// animation.speed() // animation.speed()
// animation.completions() // animation.completions()
@ -185,7 +185,7 @@ pub fn trigger_instance_animation_markers_events(
for (animation_name, node_index) in animations.named_indices.iter() { for (animation_name, node_index) in animations.named_indices.iter() {
let animation_player = animation_players.get(player_link.0).unwrap(); 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) = animation_player.animation(*node_index) {
if let Some(animation_clip_handle) = if let Some(animation_clip_handle) =
animations.named_animations.get(animation_name) animations.named_animations.get(animation_name)

View File

@ -1,5 +1,5 @@
pub mod common; pub mod common;
pub use common::*; pub(crate) use common::*;
pub mod saving; pub mod saving;
pub use saving::*; pub use saving::*;