Skip to content

Conversation

@dordsor21
Copy link
Member

  • fixes issues where edits were not fully undone
  • invalidate a ChunkHolder when submitting, via a "wrapper" to allow filters to be "aware"/forced to use a new ChunkHolder when it is submitted
  • this also allows us to not submit a ChunkHolder in IQueueExtent#filter if the wrapper does not holder it anymore (i.e. it was forcibly submitted, and no more work was done)

@dordsor21 dordsor21 requested a review from a team as a code owner October 26, 2025 22:19
@github-actions github-actions bot added the Bugfix This PR fixes a bug label Oct 26, 2025
@dordsor21
Copy link
Member Author

dordsor21 commented Oct 26, 2025

Yet to test with postProcessing history (ran out of time). Would also like to investigate if there's any performance hit (unlikely but you never know).

Looks like it works fine + nothing new comes up in profiler

Would also be good if others could test and try to reproduce the issue with history (to see if it's "definitely fixed")

@dordsor21 dordsor21 linked an issue Oct 26, 2025 that may be closed by this pull request
2 tasks
Copy link
Member

@SirYwell SirYwell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not a fan of all the mutability in general, but I guess there currently isn't really a better way without rewriting larger parts of the whole plugin.

@dordsor21 dordsor21 requested review from a team and SirYwell October 30, 2025 22:08
@dordsor21
Copy link
Member Author

@SirYwell poke

@dordsor21 dordsor21 force-pushed the fix/improve-chunk-holder-use branch from 76a3682 to bcd35ff Compare November 30, 2025 19:51
@dordsor21 dordsor21 requested a review from a team November 30, 2025 19:58
@dordsor21 dordsor21 force-pushed the fix/improve-chunk-holder-use branch from 8b4330c to 147c544 Compare December 14, 2025 17:35
…ission

 - fixes issues where edits were not fully undone
 - invalidate a ChunkHolder when submitting, via a "wrapper" to allow filters to be "aware"/forced to use a new ChunkHolder when it is submitted
 - this also allows us to *not* submit a ChunkHolder in IQueueExtent#filter if the wrapper does not holder it anymore (i.e. it was forcibly submitted, and no more work was done)
@dordsor21 dordsor21 force-pushed the fix/improve-chunk-holder-use branch from 147c544 to 6157c98 Compare December 22, 2025 16:26
Copy link
Collaborator

@NotMyFault NotMyFault left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No ingame testing but looks reasonable

@NotMyFault NotMyFault merged commit f9e66db into main Dec 25, 2025
11 checks passed
@NotMyFault NotMyFault deleted the fix/improve-chunk-holder-use branch December 25, 2025 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bugfix This PR fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inconsistent behavior and broken //undo with complex FAWE masks

4 participants