1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:27:35 +00:00

3DFileViewer: Properly propagate errors from WavefrontOBJLoader

Fixes 3 FIXMEs.
This commit is contained in:
Maciej 2022-12-04 14:52:41 +01:00 committed by Linus Groh
parent a3e82eaad3
commit 6e4f886999
4 changed files with 14 additions and 19 deletions

View file

@ -18,5 +18,5 @@ public:
MeshLoader() = default;
virtual ~MeshLoader() = default;
virtual RefPtr<Mesh> load(Core::File& file) = 0;
virtual ErrorOr<NonnullRefPtr<Mesh>> load(Core::File& file) = 0;
};