[LYN-3105] Removed legacy CEditTool class and all sub-classes.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user