mirror of
https://github.com/isledecomp/SIEdit.git
synced 2025-02-17 00:40:42 -05:00
lib: implement replacing OBJ files
This commit is contained in:
parent
fedd150d4c
commit
339da8aa6d
1 changed files with 5 additions and 0 deletions
|
@ -141,6 +141,11 @@ bool Object::ReplaceWithFile(FileBase *f)
|
|||
|
||||
return true;
|
||||
}
|
||||
case MxOb::OBJ:
|
||||
{
|
||||
data_.push_back(f->ReadBytes(f->size()));
|
||||
return true;
|
||||
}
|
||||
default:
|
||||
LogWarning() << "Don't yet know how to chunk type " << RIFF::PrintU32AsString(this->filetype()) << std::endl;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue