summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-07-28 18:31:26 +0200
committerGitHub <noreply@github.com>2020-07-28 18:31:26 +0200
commita1ca21f46d41d5528bb43ba15f2f370d78a823c4 (patch)
tree3b266067b129b7e53d1a0937de84e5f1851a8549
parent91b21e5fbc7ad00cf251d89129c84f921935e5f4 (diff)
parent63dfe79fbe9568381393e5015f7b0ead70860151 (diff)
Merge pull request #40792 from briansemrau/fix-next-pass-not-drawing
Fixed Shader Material next_pass not being drawn
-rw-r--r--servers/rendering/rasterizer_rd/rasterizer_scene_high_end_rd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/rasterizer_rd/rasterizer_scene_high_end_rd.cpp b/servers/rendering/rasterizer_rd/rasterizer_scene_high_end_rd.cpp
index 873f74e3be..8c122983da 100644
--- a/servers/rendering/rasterizer_rd/rasterizer_scene_high_end_rd.cpp
+++ b/servers/rendering/rasterizer_rd/rasterizer_scene_high_end_rd.cpp
@@ -1331,8 +1331,8 @@ void RasterizerSceneHighEndRD::_add_geometry(InstanceBase *p_instance, uint32_t
material = (MaterialData *)storage->material_get_data(material->next_pass, RasterizerStorageRD::SHADER_TYPE_3D);
if (!material || !material->shader_data->valid) {
break;
- _add_geometry_with_material(p_instance, p_surface, material, material->next_pass, p_pass_mode, p_geometry_index, p_using_sdfgi);
}
+ _add_geometry_with_material(p_instance, p_surface, material, material->next_pass, p_pass_mode, p_geometry_index, p_using_sdfgi);
}
}