Fix missing instance type in dummy renderer
This commit is contained in:
parent
a0106607e8
commit
406d7e6d37
|
@ -53,6 +53,8 @@ public:
|
||||||
virtual RS::InstanceType get_base_type(RID p_rid) const override {
|
virtual RS::InstanceType get_base_type(RID p_rid) const override {
|
||||||
if (RendererDummy::MeshStorage::get_singleton()->owns_mesh(p_rid)) {
|
if (RendererDummy::MeshStorage::get_singleton()->owns_mesh(p_rid)) {
|
||||||
return RS::INSTANCE_MESH;
|
return RS::INSTANCE_MESH;
|
||||||
|
} else if (RendererDummy::MeshStorage::get_singleton()->owns_multimesh(p_rid)) {
|
||||||
|
return RS::INSTANCE_MULTIMESH;
|
||||||
}
|
}
|
||||||
return RS::INSTANCE_NONE;
|
return RS::INSTANCE_NONE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue