mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-02-14 03:40:08 +01:00
Codestyle fix.
This commit is contained in:
parent
26b6fc89f8
commit
e435adde65
@ -290,8 +290,9 @@ void TerrainMesher::build_mesh_into(RID mesh) {
|
||||
|
||||
RS::get_singleton()->mesh_add_surface_from_arrays(mesh, RenderingServer::PRIMITIVE_TRIANGLES, arr);
|
||||
|
||||
if (_material.is_valid())
|
||||
if (_material.is_valid()) {
|
||||
RS::get_singleton()->mesh_surface_set_material(mesh, 0, _library->material_lod_get(0)->get_rid());
|
||||
}
|
||||
}
|
||||
|
||||
void TerrainMesher::generate_normals(bool p_flip) {
|
||||
|
Loading…
Reference in New Issue
Block a user