Skip to content

Commit

Permalink
build: add issue
Browse files Browse the repository at this point in the history
  • Loading branch information
simbleau authored Feb 10, 2025
1 parent e75c603 commit fe35a10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/render/systems.rs
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ pub fn hide_when_empty(
render_scenes: Query<&VelloScene>,
) {
// TODO: Optimize by having a VelloDiagnostics resource which counts render objects both for introspection and quick determination of whether we have anything to render.
// See https://github.com/linebender/bevy_vello/issues/117
let is_empty = render_texts.is_empty() && render_scenes.is_empty();
#[cfg(feature = "svg")]
let is_empty = is_empty && render_svgs.is_empty();
Expand Down

0 comments on commit fe35a10

Please sign in to comment.