Merge pull request #41717 from Wavesonics/fix-headles-server-lightmap-error
dummy_rasterizer now returns correct instance type: VS::INSTANCE_LIGHTMAP_CAPTURE
This commit is contained in:
commit
67b1bf33fa
1 changed files with 2 additions and 0 deletions
|
@ -719,6 +719,8 @@ public:
|
||||||
VS::InstanceType get_base_type(RID p_rid) const {
|
VS::InstanceType get_base_type(RID p_rid) const {
|
||||||
if (mesh_owner.owns(p_rid)) {
|
if (mesh_owner.owns(p_rid)) {
|
||||||
return VS::INSTANCE_MESH;
|
return VS::INSTANCE_MESH;
|
||||||
|
} else if (lightmap_capture_data_owner.owns(p_rid)) {
|
||||||
|
return VS::INSTANCE_LIGHTMAP_CAPTURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
return VS::INSTANCE_NONE;
|
return VS::INSTANCE_NONE;
|
||||||
|
|
Loading…
Reference in a new issue