From 0f6403f7197c8c806f718da47c65e63705dd009f Mon Sep 17 00:00:00 2001 From: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> Date: Thu, 8 Feb 2024 12:15:26 +0100 Subject: [PATCH] Fix missing instance type in dummy renderer (cherry picked from commit 406d7e6d3720d0e5c7b0afe29fda806358e1ba55) --- servers/rendering/dummy/storage/utilities.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/servers/rendering/dummy/storage/utilities.h b/servers/rendering/dummy/storage/utilities.h index 2497451fdc9..4a640f9594f 100644 --- a/servers/rendering/dummy/storage/utilities.h +++ b/servers/rendering/dummy/storage/utilities.h @@ -53,6 +53,8 @@ public: 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; }