Commit Graph

1361 Commits

Author SHA1 Message Date
Jack Porter
4a2d4cafbd Fix issues with landscape ES2 data being overwriting PC data causing issues with component weightmaps when launching or using the mobile previewer multiple times. (UE-10421 / UE-12441)
[CL 2529858 by Jack Porter in Main branch]
2015-04-29 03:18:59 -04:00
Zak Middleton
f4a7fc8913 #ue4 - Perf: Add vectorized FRotator::Equals() and IsNearlyZero() implementations.
- 3x faster than scalar implementation.
- Includes unit tests.

[CL 2529282 by Zak Middleton in Main branch]
2015-04-28 17:46:37 -04:00
Zak Middleton
f5d65a42b5 #ue4 - Fix "nearly equal" comparisons not returning true when values are exactly equal and tolerance is zero.
- Comparisons using a tolerance should use "Delta <= Tolerance".

[CL 2528773 by Zak Middleton in Main branch]
2015-04-28 13:52:54 -04:00
Lina Halper
93572b606c #HLOD :
- fixed overflow issue
- fixed big actor issue
- hide static mesh again because it causes GLEO if editor is opened
- LODParentPrimitive is now private - have setter/getter
- Made sure LODActor isn't placed manually
- Added proper map error
- Removed it from FGlobalComponentReregisterContext because I don't think we'll need it anymore.

[CL 2527688 by Lina Halper in Main branch]
2015-04-27 19:10:22 -04:00
Joe Graf
ec257996e9 Rolled back my fix to RandRange until I can test more
[CL 2527537 by Joe Graf in Main branch]
2015-04-27 17:42:14 -04:00
Martin Mittring
af48c28076 fixed pause of MotionBlur for camera motion
[CL 2527480 by Martin Mittring in Main branch]
2015-04-27 17:12:21 -04:00
Joe Graf
5a7f73cada Fixed FMath::RandRange() returning values > Max
[CL 2527258 by Joe Graf in Main branch]
2015-04-27 14:37:40 -04:00
Richard TalbotWatkin
d5dfb01a15 Fix to FInterpCurve serialization, and fixed overly strict check in Eval, EvalDerivative and EvalSecondDerivative.
[CL 2527049 by Richard TalbotWatkin in Main branch]
2015-04-27 12:04:01 -04:00
Jaroslaw Palczynski
1aae575a70 Added GetCaptureGroup to FRegexMatcher.
+ Changed old usages in UnrealSync.

[CL 2526560 by Jaroslaw Palczynski in Main branch]
2015-04-27 02:46:47 -04:00
Richard TalbotWatkin
d8b5e555ae Added TArray::Emplace implementations for 5 and 6 parameters, for compilers which don't yet support variadic templates.
#codereview Steve.Robb

[CL 2526122 by Richard TalbotWatkin in Main branch]
2015-04-26 14:54:40 -04:00
Dmitry Rekman
956444b8f1 Linux: enable symbol serialization for memory profiler.
#codereview Bob.Telez, Jaroslaw.Surowiec

[CL 2525109 by Dmitry Rekman in Main branch]
2015-04-24 18:16:38 -04:00
Andrew Rodham
1275087c9a Made Editor.ini per-project once again
It was erroneously being migrated to a project-agnostic location, but project specific settings are stored in here. GIsBuildMachine checks have also been removed as they were deemed no longer necessary since build machines serialise project agnostic config in Engine/Saved (not elsewhere on disk)

[CL 2524975 by Andrew Rodham in Main branch]
2015-04-24 17:08:52 -04:00
Dmitry Rekman
fc4fe7522b Work around for compilation problems with clang 3.6.0
- Authored by Steve Robb.

#codereview Steve.Robb, Josh.Adams

[CL 2524922 by Dmitry Rekman in Main branch]
2015-04-24 16:31:37 -04:00
Daniel Broder
8ea8f8d7ad Merging using UE4-Fortnite-To-UE4 using 2517024
Weekly Fortnite Dev -> Main integration.

#CodeReview Paul.Moore, Bob.Tellez

[CL 2524683 by Daniel Broder in Main branch]
2015-04-24 14:07:47 -04:00
Zak Middleton
a5e32beb9f #ue4 - Add FQuat::GetNormalized() that returns a normalized copy.
[CL 2524550 by Zak Middleton in Main branch]
2015-04-24 12:52:23 -04:00
Gil Gribb
e631ac5ea3 UE4 - support for dithered LOD transitions on static meshes (that don't move) -- also fixed parallel render thread updates for spline meshes
[CL 2524405 by Gil Gribb in Main branch]
2015-04-24 11:20:23 -04:00
James Moran
1e09f3b5bd Add -Wshadow on HTML5. Fixed errors relating to it. UE-14250
Fixed some potential issues from incoming SDK release. Removed unnecessary js lib.

[CL 2524336 by James Moran in Main branch]
2015-04-24 10:49:50 -04:00
Jamie Dale
bf9d8e716b Exposed the low-level FileExists function to IFileManager and updated FPaths to use it
[CL 2524257 by Jamie Dale in Main branch]
2015-04-24 10:08:01 -04:00
Gil Gribb
c8c3d793ea UE4 - remove rhimethods.h and all of the macro stuff relating to that
[CL 2524145 by Gil Gribb in Main branch]
2015-04-24 07:50:10 -04:00
Richard TalbotWatkin
a3cfc2f2bb Big revamp to SplineComponent (continuing work-in-progress).
#jira UE-11822 - Add up vector, roll and scale properties to USplineComponent which can be used when calculating rotations/transforms at a point on the spline
#jira UE-13333 - BP spline components do not update when setting points
#jira UE-3637 - SplineComponent: Add a get transform at distance accessor

Summary of changes:
- FInterpCurve now natively understands looping. A input key can be set, at which point the spline will loop back to its start point.  Adjusted FInterpCurve methods to take looped curves into account.
- Fixed bugs in FInterpCurve regarding returning default values (T(ForceInit) instead of T() otherwise FVectors and FQuats are not initialized correctly).
- SplineComponent now holds three separate splines (location, rotation and scale).
- The SplineReparamTable is no longer transient, but is built and saved as part of the asset.
- Changed the SplineComponent API. All methods now take a ESplineCoordinateSpace value which specifies whether the values are intended for use in local or world space. The old methods have been deprecated but not removed (for now).
- bAllowSplineEditingPerInstance is deprecated. A new member (bSplineHasBeenEdited) has superseded it, and is set automatically when editing the spline with the visualizer. Added "Reset to Default" option in the visualizer, which restores the archetype defaults.
- SplineComponentVisualizer determines if spline points have been initialized by the user construction script, and, if so, will disallow editing. This is to conform with the general idea that the UCS always overrides property values.
- Fixed a number of bugs in the visualizer, and added new facilities to allow the scale and rotation to be edited (still work-in-progress).

[CL 2524087 by Richard TalbotWatkin in Main branch]
2015-04-24 06:25:50 -04:00
Jaroslaw Surowiec
f9b07d45ce Core - Added SleepTime to ConditionalSleep
[CL 2524080 by Jaroslaw Surowiec in Main branch]
2015-04-24 06:12:55 -04:00
Mikolaj Sieluzycki
b4275053d2 Make FPlatformProcess::ConditionalSleep use TFunctionRef instead of TFunction.
#codereview Robert.Manuszewski

[CL 2523905 by Mikolaj Sieluzycki in Main branch]
2015-04-24 01:29:59 -04:00
Jaroslaw Palczynski
7bb8a5c855 UE-14132: GitHub 1077 : [ IFileManager / Generic ] Added new function, FindFilesExt, provides simplified and Easy-To-Use version of FindFiles!
GitHub PR #1077

[CL 2523897 by Jaroslaw Palczynski in Main branch]
2015-04-24 01:16:35 -04:00
Rolando Caloca
8625164112 PR #797 - Contributed by simontaylor81
UE4 - Added -AllowCommandletRendering to allow running a commandlet to initialize an RHI
- Added some fixes for null pointer dereferences

[CL 2523559 by Rolando Caloca in Main branch]
2015-04-23 18:09:01 -04:00
Chris Babcock
b89194ada7 Allow volume buttons to be handled by game or system on Android
Adds 2 BP nodes (SetVolumeButtonsHandledBySystem and GetVolumeButtonsHandledBySystem)
#ue4
#android
#codereview Josh.Adams,Marc.Audy

[CL 2521773 by Chris Babcock in Main branch]
2015-04-22 17:01:01 -04:00