mirror of
https://github.com/kaosat-dev/Blender_bevy_components_workflow.git
synced 2025-01-30 15:35:53 +00:00
Couple of lint fixes.
This commit is contained in:
parent
fdae5d3525
commit
998990e4af
@ -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)
|
||||
|
@ -1,5 +1,5 @@
|
||||
pub mod common;
|
||||
pub use common::*;
|
||||
pub(crate) use common::*;
|
||||
|
||||
pub mod saving;
|
||||
pub use saving::*;
|
||||
|
Loading…
Reference in New Issue
Block a user