Commit Graph

515 Commits

Author SHA1 Message Date
56972ee40b Trim performance (#451)
* Increase performance slightly when trimming.
If the chunk section is all one blocks (common in plotworlds) it'll be a nice little boost.

* Cache whether blocks are ticking or not. Greatly reduces the time required to create a palette

* collapse 5 lines to 2.

* Also apply to 14 and 15 for the numpties

* Cleanup
Actually ignore the exception - remove my debug print.
Remove double semi-colon

* Apparently 1.14/15 matter too still.
2020-05-07 23:00:13 +01:00
8b1a0bbc34 Fix #417
This commit aims to fix existing issues regarding the "0/-1 blocks affected" bug. Introducing the new LinkedFilter class allows us to use multiple filters for single-filter operations, e.g. applying a pattern to blocks while also counting the amount of blocks applied to. SetFilter.java was also removed due to not being used.
2020-05-07 12:29:18 -04:00
afba834b83 Don't commit murder to console or log files 2020-05-06 20:55:30 +01:00
ef3642d521 Small spring cleaning
I changed really small bits and pieces of code. If you have questions just comment and I'll answer them.
2020-04-30 16:26:52 -04:00
508d595b8d Merge branch '1.15' of https://github.com/IntellectualSites/FastAsyncWorldEdit into 1.15 2020-04-29 21:30:28 +01:00
847d22f7d6 This seems to fix #429
- the undo remove or add block removal adding thing.
2020-04-29 21:30:15 +01:00
f9a40599fb Fix typos 2020-04-29 19:36:34 +02:00
fda7d00747 A more verbose fix to #329 and similar issues.
- Re-read chunksections the first time they're "loaded" for an operation
 - Reset the chunksection if there are block changes when setting blocks via reflection
 - These are maybe gonna affect performance a bit? Idk. Seems to be alright for me
 - These are maybe gonna make more issues? Yeah maybe, but I couldn't find any
2020-04-29 18:17:21 +01:00
058990f6fe schem.intellectualsites.com (points to athion.net but cnamed) 2020-04-28 11:25:24 +01:00
b13dea19c5 Add debug messages 2020-04-27 19:04:20 -04:00
491be025cc Minor changes to urls and todo's 2020-04-27 17:35:04 -04:00
004a60d145 allow parallel threads to be changed.
- Interesting behaviour with forwardextendcopy stuff (move, stack etc) though.
2020-04-25 11:57:59 +01:00
820ae19dc2 Read processors in reverse order.
- EditSessionBuilder always assigns the history processors before the limit extents, meaning the limit did not get properly flushed to history, but because spigot is notified of the changes after the processes have taken place, the correct edit was displayed to the player and placed into the world.
 - This might break other stuff...
2020-04-23 23:46:43 +01:00
9636f35e45 Fix typo 2020-04-21 16:43:25 +02:00
330fc39dde Further non-standard selection fixes as per #393
- Fix incorrect usage of initChunk (it's run in the right place now)
 - Fix poorly implemented //sel sphere "improvements"
2020-04-19 19:46:41 +01:00
b52fc46f19 Regarding #393
- Fix CharFilterBlock not being properly created (the chunk X and Z were never set)
 - Replace BlockVector3#divide with bitshift because you can't divide down and then bitshift back up with the correct results for negative values
2020-04-19 13:56:02 +01:00
5cc7a09769 Fixes #366
That issue was actually a NoSuchElementException.
2020-04-02 15:51:55 -04:00
b2752a511a Add logging messages for CPU checking. 2020-04-01 13:10:25 -04:00
e223f77825 Merge remote-tracking branch 'origin/1.15' into 1.15 2020-04-01 13:09:15 -04:00
dbd3cfbef6 Add logging messages for CPU checking. 2020-04-01 13:08:16 -04:00
110347214e Update SingleThreadQueueExtent.java 2020-03-31 20:29:03 -04:00
3cd30ebbff Fix DiskOptimisedClipboard not closing 2020-03-30 17:00:41 +01:00
3d8303a227 Remove my debug 2020-03-30 12:13:39 +01:00
5197ed04ec Fix MemoryOptimizedClipboard 2020-03-30 12:06:15 +01:00
63d594a069 Fix #355 2020-03-29 17:47:32 -05:00
62165250ce Remove FAWE language option in config 2020-03-27 19:08:32 -04:00
7db61be075 Started stripping apart EditSessionBuilder 2020-03-26 22:26:11 -04:00
e648b35b95 Small code quality changes 2020-03-24 12:32:36 -04:00
b2e3d40be2 Rename uploadAnonymous to upload 2020-03-23 20:48:58 -04:00
752a2624f8 Added warnings in DiskOptimizedClipboard to help resolve non-closed file issue 2020-03-23 18:45:23 -04:00
221500e7db Remove assetpacks 2020-03-23 18:38:07 -04:00
ae57dd5d61 fixed compile errors 2020-03-20 21:39:40 -04:00
91f0e03ab4 Update links in settings 2020-03-20 20:06:27 -04:00
9f07894f28 Performance improvement based on case study by @me4502 2020-03-19 13:08:25 -04:00
2f8c2666df Removed LightingExtent and organized some classes. 2020-03-18 12:58:18 -04:00
8a70f97445 Mask and Pattern modifications 2020-03-17 23:05:52 -04:00
1df5853f33 Remove unnecessary reflection 2020-03-17 22:27:41 -04:00
ecedc1ff12 New masks 2020-03-17 22:23:03 -04:00
6f9babe55e Remove metrics from settings file 2020-03-10 17:32:28 -04:00
ef6a5fd442 Code removal in EditSessionBuilder 2020-03-05 19:01:29 -05:00
c1fe16b0e9 Generics improvements 2020-03-05 16:43:26 -05:00
50ceb4d715 More cleanup 2020-03-05 16:10:38 -05:00
58eae73040 Grammar fix 2020-03-05 16:10:17 -05:00
915ab43f6e Cleanup unused code. 2020-03-05 16:07:20 -05:00
417cbd585f Remove unused setting 2020-03-04 22:50:05 -05:00
8eab3d098c Close at least one of the streams in IBlocks.java 2020-03-04 00:52:42 -05:00
b818c03f84 Various minor changes 2020-03-03 23:21:10 -05:00
e2d7a5918d Remove PE/PC remapping 2020-03-03 17:03:47 -05:00
57a4c993a1 Avoid reflection in MaskTraverser if possible 2020-03-02 22:53:50 -05:00
dd4d405b36 Use INSTANCE instead of legacy() due to shading issues 2020-03-02 22:32:47 -05:00