1dca9074d5
Remove hacks for triggering adjacent light refill
2019-01-13 14:17:56 +00:00
a7eaec13b9
Merge branch 'release/3.4'
2018-10-24 15:53:13 +01:00
f61e099828
Merge branch 'release/3.3' into release/3.4
2018-10-24 15:52:04 +01:00
09985c5763
Fixed async light population producing garbage when generator isn't registered, closes #2488
2018-10-24 15:49:00 +01:00
d60c19551b
Merge branch 'release/3.4'
2018-10-19 18:53:24 +01:00
7c44eea625
Merge branch 'release/3.3' into release/3.4
2018-10-19 18:53:18 +01:00
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
a430f7f4f7
Allow static properties and state masks to vary based on variant
2018-10-06 17:33:28 +01:00
b3902ed76f
Merge branch 'release/3.3'
2018-09-11 11:40:54 +01:00
0aa63d269a
Merge branch 'release/3.2' into release/3.3
2018-09-11 11:35:46 +01:00
69500fe183
LightUpdate: Remove garbage left over from dab73d8950
2018-09-11 11:35:31 +01:00
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
37190c9a65
Apply typehints to all AsyncTask methods
...
Since we're breaking API here anyway, no point in holding back on this.
2018-09-10 15:54:01 +01:00
d62e00cc74
AsyncPool: Remove Server dependency (API breaks included)
...
This brings two plugin-breaking changes: AsyncTask->onCompletion() and AsyncTask->onProgressUpdate() no longer accept Server parameters.
This now allows for the functionality of AsyncPool and AsyncTask to be tested outside of a Server.
2018-09-10 15:48:59 +01:00
20f3b82d52
Be less dependent on AsyncTask->onCompletion() Server parameter
...
this is going to get removed soon.
2018-08-04 15:56:14 +01:00
6047810113
Level: remove useless null checks for fastDeserialize() returns
2018-06-01 17:02:29 +01:00
6d53350291
Level: Moved LightPopulationTask out of generator namespace
2018-05-29 11:20:27 +01:00
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
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
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
02f42eba48
Move block registration to its own class
2017-08-20 18:05:01 +01:00
c6a6571c07
Revert bad optimization due to broken logic
...
Revert "Small optimization to light propagation"
This reverts commit 6d7b76f356
.
2017-07-09 12:45:11 +01:00
6d7b76f356
Small optimization to light propagation
2017-07-09 12:21:07 +01:00
8cca8e1256
Fixed a bug in light removal
2017-07-09 12:19:38 +01:00
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
8919d4a372
Some refactoring to allow for light updates to be executed asynchronously
2017-06-17 17:38:47 +01:00