Skip to content

Commit

Permalink
Fix motion_blur example instructions (#15852)
Browse files Browse the repository at this point in the history
# Objective

Fixes a mistake in the migration done in #15591.

## Solution

Restore a line of instructions that was accidentally dropped.

## Testing

`cargo run --example motion_blur`

Tested that instructions make sense and text updates correctly when keys
are pressed.
  • Loading branch information
rparrett authored Oct 11, 2024
1 parent 6ad6eaa commit 9cfb4a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/3d/motion_blur.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ fn setup_ui(mut commands: Commands) {
p.spawn(TextSpan::default());
p.spawn(TextSpan::new("1/2: -/+ shutter angle (blur amount)\n"));
p.spawn(TextSpan::new("3/4: -/+ sample count (blur quality)\n"));
p.spawn(TextSpan::new("3/4: -/+ sample count (blur quality)\n"));
p.spawn(TextSpan::new("Spacebar: cycle camera\n"));
});
}

Expand Down

0 comments on commit 9cfb4a1

Please sign in to comment.