mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:47:34 +00:00
3DFileViewer: Properly propagate errors from WavefrontOBJLoader
Fixes 3 FIXMEs.
This commit is contained in:
parent
a3e82eaad3
commit
6e4f886999
4 changed files with 14 additions and 19 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue