Commit Graph

9 Commits

Author SHA1 Message Date
Michael Noland
65ec110d7c Editor: Changed FDragTool to take in a reference to FEditorModeTools* instead of referencing the global one
[CL 2507029 by Michael Noland in Main branch]
2015-04-09 13:39:43 -04:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Mikolaj Sieluzycki
d43e69c4b9 Prepare cpp files for header cleanup.
#codereview Robert.Manuszewski

[CL 2356854 by Mikolaj Sieluzycki in Main branch]
2014-11-12 04:43:54 -05:00
Richard TalbotWatkin
cd69758b2f Added option to change the units used by the measuring tool.
#jira UE-1553 - Setting to change the value of the ruler

[CL 2341014 by Richard TalbotWatkin in Main branch]
2014-10-27 08:00:34 -04:00
Matt Kuhlenschmidt
b312c65fee Fix drag tool display text formatting so that it is more accurate.
[CL 2295601 by Matt Kuhlenschmidt in Main branch]
2014-09-12 17:06:56 -04:00
Andrew Rodham
00cf8f17ca Fixed measure tool calculating the wrong size
The problem here was that the world start position of the tool was being compared to a world-projected pixel position, which had vastly different depth values. This has been fixed by storing the start and end position in pixel space and using that for the distance calculation, rather than a world-space position. This would need re-thinking if we wanted the tool to work in perspective viewports, but that was a problem with the old code as well.

Also made the measurement display in more relevant units, rather than just showing raw uu.

This addresses TTP#344821 - CRITICAL: Regression: EDITOR: Ruler gives incorrect measurements.

[CL 2277554 by Andrew Rodham in Main branch]
2014-08-29 08:29:32 -04:00
Mikolaj Sieluzycki
45c031d576 #ttp 331438 UE4: PlatformMath refactor
#proj core
#branch UE4
#summary Rename Trunc, Round, Floor, Ceil to TruncToInt, RoundToInt, FloorToInt, CeilToInt. Added *ToFloat versions. Repeated for FGenericPlatformMath and all derived classes for all platforms wherever applicable. Corrected comment in Fractional and added Frac() which does HLSL-style fractional (x - floor(x)). Checked for compilation on all projects (with cooking levels wherever applicable). Didn't change Fractional to Frac, this will be done in second commit.
#codereview robert.manuszewski

[CL 2064306 by Mikolaj Sieluzycki in Main branch]
2014-05-06 06:26:25 -04:00
TimSweeney
3a75fe0114 Engine source (Main branch up to CL 2027006) 2014-03-15 01:14:25 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00