Dylan K. Taylor
1dca9074d5
Remove hacks for triggering adjacent light refill
2019-01-13 14:17:56 +00:00
Dylan K. Taylor
d60c19551b
Merge branch 'release/3.4'
2018-10-19 18:53:24 +01:00
Dylan K. Taylor
7c44eea625
Merge branch 'release/3.3' into release/3.4
2018-10-19 18:53:18 +01:00
Dylan K. Taylor
41fd03f329
LightUpdate: fixed double-updated nodes not getting light propagated appropriately
...
This can happen when a light source is removed and later encountering another light source to fill the gap. A higher light level may get set and then not propagated. This bug is difficult to explain, but fairly easy to reproduce.
2018-10-19 18:53:04 +01:00
Dylan K. Taylor
a430f7f4f7
Allow static properties and state masks to vary based on variant
2018-10-06 17:33:28 +01:00
Dylan K. Taylor
0aa63d269a
Merge branch 'release/3.2' into release/3.3
2018-09-11 11:35:46 +01:00
Dylan K. Taylor
69500fe183
LightUpdate: Remove garbage left over from dab73d895099e4c1c7d632711e204971cbbb0590
2018-09-11 11:35:31 +01:00
Dylan K. Taylor
191f0038b8
LightUpdate: Allow a single position to be set more than once before executing
...
This is needed for batched lighting updates to work. It also reduces the overhead involved with simply preparing a lighting update and moves the pain to the execute() instead.
2018-09-11 11:33:57 +01:00
Dylan K. Taylor
4f8e4f0522
Add EOF newlines where missing (bulk) ( #1836 )
...
This should solve issues with people making GitHub PRs and having the web editor messing things up. GitHub Web Editor sucks :(
2017-12-20 11:56:36 +00:00
Dylan K. Taylor
d3e5733ea0
Significantly improved light population performance using subchunk
...
direct accessing
These changes produce upwards of 2x better performance (YMMV, also
depends on the circumstances).
2017-11-28 11:20:22 +00:00
Dylan K. Taylor
523a7f0999
Fix a very rare light propagation bug
...
This could occur when light sources were placed near each other and one of them is removed, the other's light would not be propagated far enough because the node wasn't queued for updating although it was marked as if it was.
2017-11-27 19:43:56 +00:00
Dylan K. Taylor
02f42eba48
Move block registration to its own class
2017-08-20 18:05:01 +01:00
Dylan K. Taylor
c6a6571c07
Revert bad optimization due to broken logic
...
Revert "Small optimization to light propagation"
This reverts commit 6d7b76f356decb071b82505a5ecf35dbf927230d.
2017-07-09 12:45:11 +01:00
Dylan K. Taylor
6d7b76f356
Small optimization to light propagation
2017-07-09 12:21:07 +01:00
Dylan K. Taylor
8cca8e1256
Fixed a bug in light removal
2017-07-09 12:19:38 +01:00
Dylan K. Taylor
0f79b19fdc
Removed masks for Y coordinates, fixed bugs related to out-of-bounds coordinates, fixed #914 ( #915 )
2017-06-21 10:55:38 +01:00
Dylan K. Taylor
8919d4a372
Some refactoring to allow for light updates to be executed asynchronously
2017-06-17 17:38:47 +01:00