Skip to content

Commit

Permalink
fix: text is skipped properly
Browse files Browse the repository at this point in the history
  • Loading branch information
simbleau committed Aug 14, 2024
1 parent 1a8dca5 commit 4f92eb1
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 10 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ You can find its changes [documented below](#051---2024-07-04).

This release supports Bevy version 0.14 and has an [MSRV][] of 1.80.

## [0.6.1] - 2024-08-14

This release supports Bevy version 0.14 and has an [MSRV][] of 1.80.

### Fixed

- Text is now properly skipped when a `SkipEncoding` component is present.

## [0.6.0] - 2024-08-09

This release supports Bevy version 0.14 and has an [MSRV][] of 1.80.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ members = [

[workspace.package]
edition = "2021"
version = "0.6.0"
version = "0.6.1"
license = "(MIT OR Apache-2.0) AND OFL-1.1"
repository = "https://github.com/linebender/bevy_vello"

Expand Down
21 changes: 12 additions & 9 deletions src/render/extract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,15 +199,18 @@ pub struct ExtractedRenderText {
pub fn extract_text(
mut commands: Commands,
query_scenes: Extract<
Query<(
&VelloTextSection,
&VelloTextAnchor,
&GlobalTransform,
&ViewVisibility,
&InheritedVisibility,
&CoordinateSpace,
Option<&RenderLayers>,
)>,
Query<
(
&VelloTextSection,
&VelloTextAnchor,
&GlobalTransform,
&ViewVisibility,
&InheritedVisibility,
&CoordinateSpace,
Option<&RenderLayers>,
),
Without<SkipEncoding>,
>,
>,
) {
for (
Expand Down

0 comments on commit 4f92eb1

Please sign in to comment.