Skip to content

Commit

Permalink
Don't require going through bevy_animation::prelude to get to certa…
Browse files Browse the repository at this point in the history
…in items in `bevy_animation` (#14979)

# Objective
* Fixes #14889

## Solution
Exposes `bevy_animation::{animatable, graph, transition}` to the world.

## Testing
- Did you test these changes? If so, how?
- These changes do not need testing, as they do not modify/add/remove
any functionality.
- ~~Are there any parts that need more testing?~~
- ~~How can other people (reviewers) test your changes? Is there
anything specific they need to know?~~
- ~~If relevant, what platforms did you test these changes on, and are
there any important ones you can't test?~~

---------

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
  • Loading branch information
LikeLakers2 and alice-i-cecile authored Aug 31, 2024
1 parent ffe0f7f commit 4bea611
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions crates/bevy_animation/src/animatable.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//! Traits and type for interpolating between values.

use crate::util;
use bevy_color::{Laba, LinearRgba, Oklaba, Srgba, Xyza};
use bevy_ecs::world::World;
Expand Down
6 changes: 3 additions & 3 deletions crates/bevy_animation/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

//! Animation for the game engine Bevy

mod animatable;
mod graph;
mod transition;
pub mod animatable;
pub mod graph;
pub mod transition;
mod util;

use std::cell::RefCell;
Expand Down

0 comments on commit 4bea611

Please sign in to comment.