Editor/Plugins/EditorCommon
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user