mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Limit force shadow update to urgent blocks (#12692)
This commit is contained in:
parent
2690585e99
commit
aa2fdc6ef6
3 changed files with 7 additions and 1 deletions
|
@ -574,7 +574,8 @@ void Client::step(float dtime)
|
|||
else {
|
||||
// Replace with the new mesh
|
||||
block->mesh = r.mesh;
|
||||
force_update_shadows = true;
|
||||
if (r.urgent)
|
||||
force_update_shadows = true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue