Skip to content

Commit

Permalink
#5628: Don't use inactive actions in the view
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed May 31, 2021
1 parent b2a9725 commit 700bb54
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions radiant/ui/einspector/EntityInspector.cpp
Expand Up @@ -1383,6 +1383,8 @@ void EntityInspector::handleMergeActions(const scene::INodePtr& selectedNode)

mergeNode->foreachMergeAction([&](const scene::merge::IMergeAction::Ptr& action)
{
if (!action->isActive()) return; // don't apply inactive actions to our view

auto entityKeyValueAction = std::dynamic_pointer_cast<scene::merge::IEntityKeyValueMergeAction>(action);

if (!entityKeyValueAction) return;
Expand Down

0 comments on commit 700bb54

Please sign in to comment.