Skip to content

Commit

Permalink
Merge pull request #88097 from AThousandShips/doctool_fix
Browse files Browse the repository at this point in the history
Fix missing instance type in dummy renderer
  • Loading branch information
akien-mga committed Feb 8, 2024
2 parents 3405400 + 406d7e6 commit be2eb09
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 be2eb09

Please sign in to comment.