Skip to content

Add apply-and-continue shortcut for Clipping Tool#10405

Open
trende2001 wants to merge 1 commit intoFacepunch:masterfrom
trende2001:clipping-tool-improvements
Open

Add apply-and-continue shortcut for Clipping Tool#10405
trende2001 wants to merge 1 commit intoFacepunch:masterfrom
trende2001:clipping-tool-improvements

Conversation

@trende2001
Copy link
Copy Markdown
Contributor

Summary

Add Spacebar support to apply a clip without exiting ClipTool, matching Hammer-style workflow.

Motivation & Context

Repeated clipping is a common blockout workflow. Exiting the tool after every cut slows iteration.
This change enables fast consecutive cuts while staying in the clipping context.

Implementation Details

  • Added a Space shortcut (mesh.clip-apply-stay) in ClipTool.UI.cs.
  • Space now applies the current cut and keeps ClipTool active.
  • Enter behavior is unchanged: apply + exit tool.
  • Kept selection/target handling aligned with existing clip behavior so repeated cuts work predictably, including face-selection cases.

Screenshots / Videos (if applicable)

sbox-dev_QcI16vsQ3S.mp4

Checklist

  • Code follows existing style and conventions
  • No unnecessary formatting or unrelated changes
  • Public APIs are documented (if applicable)
  • Unit tests added where applicable and all passing
  • I’m okay with this PR being rejected or requested to change 🙂

Pressing Spacebar now creates a cut without exiting the Clipping Tool, which is how it behaves in Hammer
@aylaylay aylaylay added the triaged triaged pull-requests are replicated on the internal sbox repo label Apr 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

triaged triaged pull-requests are replicated on the internal sbox repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants