Merge pull request #88097 from AThousandShips/doctool_fix

Fix missing instance type in dummy renderer
This commit is contained in:
Rémi Verschelde 2024-02-08 13:46:03 +01:00
commit be2eb09f4d
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}