From 534535590913c379c01d3e529c4a796d23506723 Mon Sep 17 00:00:00 2001 From: Mark Date: Sat, 23 Dec 2023 12:53:33 -0800 Subject: [PATCH] Ignored assets dir (for now) --- .gitignore | 1 + src/render/texturearray.rs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index ea8c4bf..ac2fab7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /target +*.ignore \ No newline at end of file diff --git a/src/render/texturearray.rs b/src/render/texturearray.rs index 904d0d8..58fd1c0 100644 --- a/src/render/texturearray.rs +++ b/src/render/texturearray.rs @@ -41,8 +41,8 @@ impl Tex { } impl TextureArray { - const INDEX_PATH: &'static str = "assets/index.toml"; - const INDEX_ROOT: &'static str = "assets"; + const INDEX_PATH: &'static str = "assets.ignore/index.toml"; + const INDEX_ROOT: &'static str = "assets.ignore"; pub fn get_texture(&self, name: &str) -> Texture { match self.textures.get(name) {