[LYN-3105] Removed legacy CEditTool class and all sub-classes.

This commit is contained in:
Chris Galvan
2021-04-21 13:57:16 -05:00
parent 2f9102f10a
commit 0efa1e7817
60 changed files with 15 additions and 6678 deletions
@@ -320,14 +320,6 @@ void CComponentEntityObject::OnSelected()
// Invoked when selected via tools application, so we notify sandbox.
const bool wasSelected = IsSelected();
GetIEditor()->GetObjectManager()->SelectObject(this);
// If we get here and we're not already selected in sandbox land it means
// the selection started in AZ land and we need to clear any edit tool
// the user may have selected from the rollup bar
if (GetIEditor()->GetEditTool() && !wasSelected)
{
GetIEditor()->SetEditTool(nullptr);
}
}
}
@@ -24,6 +24,8 @@
#include <AzToolsFramework/ToolsComponents/EditorEntityIconComponentBus.h>
#include <AzToolsFramework/UI/PropertyEditor/PropertyEditorAPI.h>
#include <QtViewPane.h>
#include "../Editor/Objects/EntityObject.h"
#include <LmbrCentral/Rendering/MeshComponentBus.h>
#include <LmbrCentral/Rendering/RenderBoundsBus.h>