lib: implement replacing OBJ files

This commit is contained in:
itsmattkc 2022-07-30 08:25:28 -07:00
parent fedd150d4c
commit 339da8aa6d

View file

@ -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;