Skip to content

Commit

Permalink
#5725: Don't drag-create brushes in merge mode
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Aug 29, 2021
1 parent e2cc8f7 commit e55f547
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions radiant/xyview/tools/BrushCreatorTool.cpp
Expand Up @@ -29,9 +29,9 @@ MouseTool::Result BrushCreatorTool::onMouseDown(Event& ev)
{
try
{
if (GlobalClipper().clipMode())
if (GlobalClipper().clipMode() || GlobalMapModule().getEditMode() == IMap::EditMode::Merge)
{
return Result::Ignored; // no brush creation in clip mode
return Result::Ignored; // no brush creation in clip or merge mode
}

// We only operate on XY view events, so attempt to cast
Expand Down

0 comments on commit e55f547

Please sign in to comment.