Skip to content

Commit

Permalink
proper naming: vectorbundle svg renamed to vector
Browse files Browse the repository at this point in the history
  • Loading branch information
seabassjh committed Sep 16, 2023
1 parent 8e86cb4 commit 5c857b9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ members = ["demo"]

[workspace.package]
edition = "2021"
version = "0.3.2"
version = "0.3.3"
license = "MIT OR Apache-2.0"
repository = "https://github.com/vectorgameexperts/bevy-vello"

Expand Down
2 changes: 1 addition & 1 deletion demo/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ fn setup_vector_graphics(mut commands: Commands, asset_server: ResMut<AssetServe
.spawn(VelloVectorBundle {
layer: bevy_vello::Layer::Background,
// Can only load *.json (Lottie animations) and *.svg (static vector graphics)
svg: asset_server.load("../assets/squid.json"),
vector: asset_server.load("../assets/squid.json"),
debug_visualizations: bevy_vello::DebugVisualizations::Visible,
..default()
})
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ impl ColorPaletteSwap {

#[derive(Bundle, Default)]
pub struct VelloVectorBundle {
pub svg: Handle<VelloVector>,
pub vector: Handle<VelloVector>,
pub layer: Layer,
pub transform: Transform,
pub global_transform: GlobalTransform,
Expand Down

0 comments on commit 5c857b9

Please sign in to comment.