Ignored assets dir (for now)

master
Mark 2023-12-23 12:53:33 -08:00
parent 213b7c8498
commit 5345355909
Signed by: Mark
GPG Key ID: C6D63995FE72FD80
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/target /target
*.ignore

View File

@ -41,8 +41,8 @@ impl Tex {
} }
impl TextureArray { impl TextureArray {
const INDEX_PATH: &'static str = "assets/index.toml"; const INDEX_PATH: &'static str = "assets.ignore/index.toml";
const INDEX_ROOT: &'static str = "assets"; const INDEX_ROOT: &'static str = "assets.ignore";
pub fn get_texture(&self, name: &str) -> Texture { pub fn get_texture(&self, name: &str) -> Texture {
match self.textures.get(name) { match self.textures.get(name) {