aboutsummaryrefslogtreecommitdiff
path: root/exporter/src/bin/yaml.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-03-22 17:18:39 +0100
committermetamuffin <metamuffin@disroot.org>2025-03-22 17:18:39 +0100
commit2ee2f1af847dbc9f1292baefc9fd652167b9103a (patch)
treedfadbd29afdd00c80ab31e8dfaee217045102d95 /exporter/src/bin/yaml.rs
parentd780d420a69fe239bdb93ce7d1899e380a682062 (diff)
downloadunity-tools-2ee2f1af847dbc9f1292baefc9fd652167b9103a.tar
unity-tools-2ee2f1af847dbc9f1292baefc9fd652167b9103a.tar.bz2
unity-tools-2ee2f1af847dbc9f1292baefc9fd652167b9103a.tar.zst
relative file ids
Diffstat (limited to 'exporter/src/bin/yaml.rs')
-rw-r--r--exporter/src/bin/yaml.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/exporter/src/bin/yaml.rs b/exporter/src/bin/yaml.rs
index bc9e57e..26cd04b 100644
--- a/exporter/src/bin/yaml.rs
+++ b/exporter/src/bin/yaml.rs
@@ -15,7 +15,7 @@ fn main() -> anyhow::Result<()> {
let node = fs.find_main_file().unwrap().to_owned();
let mut cab = fs.read(&node)?;
- let mut file = SerializedFile::read(&mut cab)?;
+ let mut file = SerializedFile::read(&mut cab,0)?;
for ob in file.objects.clone() {
if let Some(f) = &filter {
if file.get_object_type_tree(&ob)?.type_string != *f && ob.path_id.to_string() != *f {