Skip to content

Added option to remove selected brush when creating any patch type#58

Merged
codereader merged 1 commit intocodereader:masterfrom
klaussilveira:fix/6494
Mar 8, 2026
Merged

Added option to remove selected brush when creating any patch type#58
codereader merged 1 commit intocodereader:masterfrom
klaussilveira:fix/6494

Conversation

@klaussilveira
Copy link
Contributor

Fixes: https://bugs.thedarkmod.com/view.php?id=6494

For the dialog:

  • With 0 brushes selected: Skips dialog entirely, calls CreatePatchPrefab directly
  • With 1 brush selected: Shows dialog with "Remove selected Brush" checkbox enabled and checked by default
  • With multiple brushes: Shows dialog with checkbox disabled and unchecked

@codereader codereader merged commit 3ad8656 into codereader:master Mar 8, 2026
@codereader
Copy link
Owner

It seems two tests are failing now: InvertedEndCapInheritsDef2/InvertedEndCapInheritsDef3

@codereader
Copy link
Owner

Pushed, it's been an easy fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants