Skip to content

Commit

Permalink
#5643: Don't allow selection cloning when in merge mode
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Jul 2, 2021
1 parent b453c89 commit 149528a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion radiantcore/selection/algorithm/Transformation.cpp
Expand Up @@ -270,7 +270,9 @@ class SelectionCloner :
void cloneSelected(const cmd::ArgumentList& args)
{
// Check for the correct editing mode (don't clone components)
if (GlobalSelectionSystem().Mode() == SelectionSystem::eComponent) {
if (GlobalSelectionSystem().Mode() == SelectionSystem::eComponent ||
GlobalMapModule().getEditMode() != IMap::EditMode::Normal)
{
return;
}

Expand Down

0 comments on commit 149528a

Please sign in to comment.