Skip to content

Commit

Permalink
Fix missing instance type in dummy renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
AThousandShips committed Feb 8, 2024
1 parent a010660 commit 406d7e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions servers/rendering/dummy/storage/utilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ class Utilities : public RendererUtilities {
virtual RS::InstanceType get_base_type(RID p_rid) const override {
if (RendererDummy::MeshStorage::get_singleton()->owns_mesh(p_rid)) {
return RS::INSTANCE_MESH;
} else if (RendererDummy::MeshStorage::get_singleton()->owns_multimesh(p_rid)) {
return RS::INSTANCE_MULTIMESH;
}
return RS::INSTANCE_NONE;
}
Expand Down

0 comments on commit 406d7e6

Please sign in to comment.