Commit Graph

15308 Commits

Author SHA1 Message Date
Maciej Mroz
e424f073ec Removed unnecessary code from UBlueprintGeneratedClass::CreateComponentsForActor
#codereview Phillip.Kavan

[CL 2691805 by Maciej Mroz in Main branch]
2015-09-15 11:33:18 -04:00
Ori Cohen
c46fa16a8f Fix StartCloth not waiting on cloth prepare tasks
[CL 2691689 by Ori Cohen in Main branch]
2015-09-15 10:24:36 -04:00
Max Chen
dfd2594a87 Sequencer: Add setting for key interpolation. Defaults to auto.
[CL 2691681 by Max Chen in Main branch]
2015-09-15 10:17:48 -04:00
Steve Robb
d831e01efd Optimised FElementBatchMap manipulation by making the value a TUniqueObj.
#codereview robert.manuszewski,nick.darnell

[CL 2691643 by Steve Robb in Main branch]
2015-09-15 09:35:35 -04:00
Lukasz Furman
36176d8025 fixed crash on stopping behavior tree with instantly aborting parallel tasks
#ue4

[CL 2691625 by Lukasz Furman in Main branch]
2015-09-15 09:20:43 -04:00
Ben Marsh
aae80f0df1 Always assume compatibility with the current major/minor engine release. For hotfix releases, we should be writing out assets that are compatible with the original release.
#jira UE-21081

[CL 2691621 by Ben Marsh in Main branch]
2015-09-15 09:15:41 -04:00
Steve Robb
7b8dc66a01 Faster Memswap which does chunked iteration and has a constant-time swap optimization.
New FMath::CountTrailingZeros function.
TSparseArrayCompact will now compact in-place and not do anything if the array is already compacted.

#codereview robert.manuszewski
#platformnotify josh.adams

[CL 2691582 by Steve Robb in Main branch]
2015-09-15 07:55:50 -04:00
Dmitriy Dyomin
103195c923 Android: fixed compilation for r10c
[CL 2691560 by Dmitriy Dyomin in Main branch]
2015-09-15 07:06:52 -04:00
Graeme Thornton
aa992d0cde Merging CL 2691463 to Main
Allow derived gameplay cue managers to not begin async loading of object libraries.
Reduce priority of async object library loads

[CL 2691509 by Graeme Thornton in Main branch]
2015-09-15 05:11:54 -04:00
Graeme Thornton
35e974d5fb Merging CL 2691446 to Main
Expose async load priority through streamable manager

[CL 2691508 by Graeme Thornton in Main branch]
2015-09-15 05:11:48 -04:00
Graeme Thornton
a61f2ec80d Merging CL 2687751 to main
Async loading priority typedef'd and made into a signed type

[CL 2691507 by Graeme Thornton in Main branch]
2015-09-15 05:11:42 -04:00
Marcus Wassmer
2547171a65 AB testing for a given scope.
[CL 2691271 by Marcus Wassmer in Main branch]
2015-09-14 21:07:36 -04:00
Michael Noland
4ed034c7c9 Rendering: Prevent particle system bounding boxes from being typed in the wrong way around (with Min > Max)
[INTEGRATE] Change 2691197 by Michael.Noland@mnoland-T2784-HDepot on 2015/09/14 20:15:49

[CL 2691209 by Michael Noland in Main branch]
2015-09-14 20:27:09 -04:00
Michael Noland
ce525a21ab Engine: Allow memreport to work in Test configuration without requiring UEBuildConfiguration.bUseLoggingInShipping to be true (still requires ALLOW_DEBUG_FILES, and is disabled in the true Shipping configuration)
- Added a new FOutputDeviceArchiveWrapper which doesn't try to do any special work and merely adapts the FOutputDevice API to write to a FArchive
- Switched UEngine::HandleMemReportDeferredCommand over to use FOutputDeviceArchiveWrapper

[INTEGRATE] Change 2691200 by Michael.Noland@mnoland-T2784-HDepot on 2015/09/14 20:17:53

[CL 2691208 by Michael Noland in Main branch]
2015-09-14 20:27:05 -04:00
Martin Mittring
d3baf90812 fixed SubsurfaceScattering rendering which got dither pattern from recent change
[CL 2691203 by Martin Mittring in Main branch]
2015-09-14 20:20:36 -04:00
Martin Mittring
8a3528036b missing changed from integration on shader optimization from Orion
[CL 2691187 by Martin Mittring in Main branch]
2015-09-14 20:08:14 -04:00
Stan Melax
557078dff9 scale crash fix
I found a way to reproduce the bug easily:  drag a box shape into the level in the editor. make it movable. ctrl-e to edit. remove collisions. add about 6 box collisions to it. simulate. then select the box and try to scale it.

essentially elements of SomeClass in a TArray<FKShapeElem> was storing addresses of themselves.  when the TArray grew, those pointers became no longer valid. these self pointers are used as 'userdata' on physx objects. When creating a physx shape from the FKShapeElem, it was getting an out of date pointer to use as userdata. Its probably the only place that uses this particualr physx shape userdata is the scale code as it iterating over physx shapes and reaches back into what was turning out to be the wrong place to get initial shape information.

given physics is recreated on each change to collision already, we can fix this issue simply by computing this pointer/userdata on the fly, rather then the first time the shape is added to the TArray

future todo:  still would want a better from-physx-back-pointing system to safeguard to prevent this these sorts of thing from happening in the first place.  what if  this array somehow got  modified without physx scene getting re-created.

crash reports:  http://crashreporter/Buggs/Show/73744
https://jira.ol.epicgames.net/browse/UE-20961
#jira UE-20961

[CL 2691166 by Stan Melax in Main branch]
2015-09-14 19:44:57 -04:00
Martin Mittring
6f52a205d5 Merging using UE4->Orion
[CL 2691161 by Martin Mittring in Main branch]
2015-09-14 19:40:08 -04:00
Martin Mittring
0406b3ff04 Merging using UE4->Orion
[CL 2691112 by Martin Mittring in Main branch]
2015-09-14 19:10:46 -04:00
Marcus Wassmer
292128c818 Enable ILC update task only for PS4
[CL 2691084 by Marcus Wassmer in Main branch]
2015-09-14 19:01:37 -04:00
Daniel Lamb
f36d8ac259 Fixed compilation issue.
#codereview Dmitry .Rekman

[CL 2690927 by Daniel Lamb in Main branch]
2015-09-14 17:35:14 -04:00
Benn Gallagher
7abeffd6c9 Fixed possible divide by zero in animation transitions with zero crossfade duration.
[CL 2690799 by Benn Gallagher in Main branch]
2015-09-14 16:15:12 -04:00
Ori Cohen
14f98fd56f Fix race condition with parallel cloth where the skeletal mesh components could potentially empty while running on another thread
[CL 2690773 by Ori Cohen in Main branch]
2015-09-14 15:58:47 -04:00
Dmitry Rekman
ee863dea42 QoS metrics: add generic module (OP-1132).
(Merging CLs 2688852, 2689232 to the main branch)

[CL 2690718 by Dmitry Rekman in Main branch]
2015-09-14 15:26:41 -04:00
Marcus Wassmer
b68a0a6d84 Move IndirectLighitngCache update to a task to overlap with shadow setup.
Also some small improvements to the ILC update itself.

[CL 2690697 by Marcus Wassmer in Main branch]
2015-09-14 15:15:54 -04:00