Explorar o código

Fix missing instance type in dummy renderer

(cherry picked from commit 406d7e6d3720d0e5c7b0afe29fda806358e1ba55)
A Thousand Ships hai 1 ano
pai
achega
0f6403f719
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      servers/rendering/dummy/storage/utilities.h

+ 2 - 0
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;
 	}