Editor/Plugins/EditorCommon

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-07-14 09:34:56 -07:00
parent 35ea178e3c
commit 87ca863ed4
13 changed files with 5 additions and 46 deletions
@@ -5,7 +5,6 @@
*
*/
#include "EditorCommon_precompiled.h"
#include <ActionOutput.h>
#include <QWidget>
@@ -6,5 +6,4 @@
*/
#include "EditorCommon_precompiled.h"
#include "../../Editor/RenderHelpers/AxisHelperShared.inl"
@@ -5,6 +5,4 @@
*
*/
#include "EditorCommon_precompiled.h"
#include "../../Editor/Objects/DisplayContextShared.inl"
@@ -6,7 +6,6 @@
*/
#include "EditorCommon_precompiled.h"
#include "Ruler.h"
#include <QPainter>
@@ -43,7 +42,7 @@ namespace DrawingPrimitives
const float ticksMinPower = log10f(RULER_MIN_PIXELS_PER_TICK);
const float ticksPowerDelta = ticksMinPower - log10f(pixelsPerUnit);
const int digitsAfterPoint = max(-int(ceil(ticksPowerDelta)) - 1, 0);
const int digitsAfterPoint = AZStd::max(-int(ceil(ticksPowerDelta)) - 1, 0);
if (pRulerPrecision)
{
*pRulerPrecision = digitsAfterPoint;
@@ -6,7 +6,6 @@
*/
#include "EditorCommon_precompiled.h"
#include "TimeSlider.h"
#include <QPainter>
@@ -4,13 +4,14 @@
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include "EditorCommon_precompiled.h"
#include <platform.h>
#include "EditorCommon.h"
#include "EditorCommonAPI.h"
#include <CryCommon/ISystem.h>
CEditorCommonApp::CEditorCommonApp()
{
}
@@ -1,21 +0,0 @@
/*
* Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#pragma once
#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN
#endif
// These redicilous dependencies are needed just to be able to use
// Sandbox gizmos drawing and hit-testing code =(
#include "ISystem.h"
#include "Include/EditorCoreAPI.h"
#include "Util/EditorUtils.h"
@@ -6,7 +6,6 @@
*/
#include "EditorCommon_precompiled.h"
#include "platform.h"
#pragma warning(disable: 4266) // disabled warning from afk overrides
@@ -5,7 +5,6 @@
*
*/
#include "EditorCommon_precompiled.h"
#include <SaveUtilities/AsyncSaveRunner.h>
#include <AzToolsFramework/SourceControl/SourceControlAPI.h>
#include <AzCore/IO/SystemFile.h>
@@ -5,7 +5,6 @@
*
*/
#include "EditorCommon_precompiled.h"
#include <WinWidget/WinWidgetManager.h>
namespace WinWidget
@@ -13,6 +13,8 @@
#include <vector>
#include <functional>
class QWidget;
namespace WinWidget
{
class EDITOR_COMMON_API WinWidgetManager
@@ -10,7 +10,6 @@ set(FILES
EditorCommon.cpp
EditorCommon.rc
EditorCommonAPI.h
EditorCommon_precompiled.h
ActionOutput.h
ActionOutput.cpp
UiEditorDLLBus.h
@@ -1,13 +0,0 @@
/*
* Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
// stdafx.cpp : source file that includes just the standard includes
// EditorCommon.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "EditorCommon_precompiled.h"