From 0ebba278f764c0716e0f41c119805612f1e73c67 Mon Sep 17 00:00:00 2001 From: Doonv <58695417+doonv@users.noreply.github.com> Date: Fri, 9 Feb 2024 22:13:28 +0200 Subject: [PATCH] Ignore screenshots generated by `screenshot` example (#11797) # Objective The screenshots generated by the `screenshot` example need to be removed manually before commiting changes. ## Solution `.gitignore` the screenshots generated by the `screenshot` example. I also added the `**/` prefix so the screenshots get ignored regardless of whether of where the example is run from. --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 79d54dbf2a..c97fdeedaf 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,9 @@ dxil.dll # Generated by "examples/scene/scene.rs" assets/scenes/load_scene_example-new.scn.ron +# Generated by "examples/window/screenshot.rs" +**/screenshot-*.png + assets/**/*.meta crates/bevy_asset/imported_assets imported_assets