Ignored assets dir (for now)
parent
213b7c8498
commit
5345355909
|
@ -1 +1,2 @@
|
||||||
/target
|
/target
|
||||||
|
*.ignore
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue