mirror of
https://github.com/redstrate/Physis.git
synced 2025-04-20 11:47:46 +00:00
Remove leftover println
This commit is contained in:
parent
805a0a7d2c
commit
c9018336c8
3 changed files with 0 additions and 6 deletions
|
@ -178,8 +178,6 @@ impl IndexFile {
|
||||||
pub fn from_existing(path: &str) -> Option<Self> {
|
pub fn from_existing(path: &str) -> Option<Self> {
|
||||||
let mut index_file = std::fs::File::open(path).ok()?;
|
let mut index_file = std::fs::File::open(path).ok()?;
|
||||||
|
|
||||||
println!("Reading {}!", path);
|
|
||||||
|
|
||||||
Self::read(&mut index_file).ok()
|
Self::read(&mut index_file).ok()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -90,8 +90,6 @@ impl StainingTemplate {
|
||||||
values.push(cursor.read_le::<T>().unwrap());
|
values.push(cursor.read_le::<T>().unwrap());
|
||||||
}
|
}
|
||||||
|
|
||||||
println!("{:#?}", cursor.position());
|
|
||||||
|
|
||||||
let eof_marker = cursor.read_le::<u8>().unwrap();
|
let eof_marker = cursor.read_le::<u8>().unwrap();
|
||||||
assert_eq!(eof_marker, 0xFF);
|
assert_eq!(eof_marker, 0xFF);
|
||||||
|
|
||||||
|
|
|
@ -98,8 +98,6 @@ impl Texture {
|
||||||
let mut cursor = Cursor::new(buffer);
|
let mut cursor = Cursor::new(buffer);
|
||||||
let header = TexHeader::read(&mut cursor).ok()?;
|
let header = TexHeader::read(&mut cursor).ok()?;
|
||||||
|
|
||||||
println!("{:#?}", header.attribute);
|
|
||||||
|
|
||||||
cursor
|
cursor
|
||||||
.seek(SeekFrom::Start(std::mem::size_of::<TexHeader>() as u64))
|
.seek(SeekFrom::Start(std::mem::size_of::<TexHeader>() as u64))
|
||||||
.ok()?;
|
.ok()?;
|
||||||
|
|
Loading…
Add table
Reference in a new issue