Skip to content

Hammer Bug: Brushes can be easily scaled to 0 units thick on any axis #1818

@KrisCatboy

Description

@KrisCatboy

Describe the bug

Strata Hammer appears to have no protection against simply using the Selection tool to scale a brush down to be infinitely thin on any axis. it can even be done on all 3 axes at once. once this happens, the brush cannot be scaled back up.

this is problematic given the hard-to-track bugs that such brushes can cause.

Image

To Reproduce

  1. Create a new map in Hammer
  2. Create a brush using the Block tool, make sure to press enter (the Block tool itself has protection against brushes with no volume)
  3. Try scaling it down to be infinitely thin on any axis using the Selection tool
  4. Observe as the brush becomes infinitely thin, and cannot be scaled back up to fix it

Issue Map

N/A

Expected Behavior

a simple operation such as scaling with the Selection tool, shouldn't be able to scale brushes below 1 unit thick on a given axis

Operating System

Arch Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugThis is a problem with something that should be working one way, but isn't.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions