mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-05 23:07:42 -05:00
Fix missing instance type in dummy renderer
(cherry picked from commit 406d7e6d37)
This commit is contained in:
committed by
Rémi Verschelde
parent
a7099ce880
commit
0f6403f719
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user