28 Commits

Author SHA1 Message Date
Yoan StAmant
eff57ffe82 RecastNavMeshGenerator: Fixed regression introduced by 6675381 by configuring flag bRestrictBuildingToActiveTiles before marking NavBounds dirty for newly created navmesh. This prevents the whole navmesh to be generated when using Navigation invokers.
#rnx
#jira UE-77357
#rb maxime.mercier
#fyi mieszko.zielinski

[CL 7419221 by Yoan StAmant in 4.23 branch]
2019-07-17 13:35:14 -04:00
Mieszko Zielinski
e5d7a14dec Fixed StoreCollisionCache in RecastNavMeshGenerator.cpp to properly reset the array GeomExport.Data->CollisionData array.
It used to Reserve rather than Empty which in edge cases left the array at undesided state/size.

#jira UE-76279
#review-6989075 Yoan.StAmant
#rb Yoan.StAmant

[CL 7061952 by Mieszko Zielinski in 4.23 branch]
2019-06-18 04:42:09 -04:00
Mieszko Zielinski
564a8d1f3e Added a dedicated warning for when we attempt to creat a dtNavMesh instance with maxTiles == 0.
Also, made sure we release the faultu dtNavMesh instance if we're not going to use it.

#jira UE-71027
#review-6676106 @Yoan.StAmant
#rb Yoan.StAmant

[CL 6676722 by Mieszko Zielinski in Dev-Framework branch]
2019-05-30 12:22:17 -04:00
Mieszko Zielinski
31fa3c7421 Made sure we mark all the navigable space dirty after recreating dtNavMesh instance due to mismatching navmesh properties.
#jira UE-65963
#rb none

[CL 6675381 by Mieszko Zielinski in Dev-Framework branch]
2019-05-30 08:42:12 -04:00
Mieszko Zielinski
61f3b0d4d3 Added logging to the two cases that can make RecastNavMeshGenerator recreate the dtNavMesh instance (dumping the serialized one)
#rb none
#jira none

[CL 6651556 by Mieszko Zielinski in Dev-Framework branch]
2019-05-28 05:40:31 -04:00
Mieszko Zielinski
a1708e0630 Made NavModifierComponent work properly even if its owner's root component was marked as nav-irrelevant #UE4
While at it had to mess around with RegastNavMeshGenerator's initialization - the old way in some cases resulted in overriding once configured properties or needless dtNavMesh instance recreation.
In the process I've removed the Generator->Init() call from ARecastNavMesh::ConditionalConstructGenerator since now we call Init as part of generator's construction.

#jira UE-74448
#review-6533131 Yoan.StAmant
#rb Yoan.StAmant

[CL 6604191 by Mieszko Zielinski in Dev-Framework branch]
2019-05-22 06:50:15 -04:00
Marc Audy
502f469036 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 5503639
#rb
#rnx

[CL 5504188 by Marc Audy in Dev-Framework branch]
2019-03-22 14:59:27 -04:00
Marc Audy
82e0666ce7 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 5450266
#rb
#rnx

[CL 5459329 by Marc Audy in Dev-Framework branch]
2019-03-19 16:16:11 -04:00
Ben Zeigler
1ce734caf6 Set up ReferenceNames for most runtime FGCObject classes, as these now properly show up in obj refs
#rb marc.audy

[CL 5365250 by Ben Zeigler in Dev-Framework branch]
2019-03-11 19:48:28 -04:00
Marc Audy
6c6b055f0e Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 5271686
#rb
#rnx

[CL 5282523 by Marc Audy in Dev-Framework branch]
2019-03-04 10:23:33 -05:00
Robert Manuszewski
cfa01c09c7 Merging //UE4/Dev-Main to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4731457 by Robert Manuszewski in Dev-Core branch]
2019-01-16 04:23:12 -05:00
Marc Audy
ab108c215e Copying to Dev-Main @ CL# 4688301
#rb
#rnx

[CL 4688816 by Marc Audy in Main branch]
2019-01-08 11:38:48 -05:00
Robert Manuszewski
2752c82adc Merging //UE4/Dev-Main @ 4664414 to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4675693 by Robert Manuszewski in Dev-Core branch]
2019-01-02 00:55:51 -05:00
Ben Marsh
7598af0532 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

[CL 4662404 by Ben Marsh in Main branch]
2018-12-14 13:41:00 -05:00
Robert Manuszewski
1685ed0b2e Merging //UE4/Dev-Main @ 4620382 to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4631078 by Robert Manuszewski in Dev-Core branch]
2018-12-04 23:30:42 -05:00
Ben Marsh
ea340d3fbf Copying //UE4/Fortnite-Staging to Dev-Main (//UE4/Dev-Main)
#rb none
#lockdown Nick.Penwarden

[CL 4567513 by Ben Marsh in Main branch]
2018-11-14 19:05:13 -05:00
Josh Adams
4f63a76b48 - Changed compression methods to be an FName instead of hardcoded enum
- Added support for compression plugins
- Removed the Custom compression concept, now using plugins properly
- Modified UnrealPak to use FNames, and allow for multiple compression methods (fallbacks on error or unavailability, etc)
- Added project settings for compression method selection for UnrealPak, and additional settings to be passed to UnrealPak (for instance, to control compression size/speed, etc)
- Deprecated a bunch of old function calls
- Improved pak file "old format" reading ability
- Brought over some changes from Fortnite for pak file encryption and memory savings
- Implemented a parallel compression pull request (#4129) to speed up pak file compression
#jira UE-51294
#rb ben.marsh

[CL 4480944 by Josh Adams in Dev-Core branch]
2018-10-17 14:18:10 -04:00
Robert Manuszewski
8841a31595 Merging //UE4/Dev-Main @ 4448303 to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4450493 by Robert Manuszewski in Dev-Core branch]
2018-10-11 08:14:26 -04:00
mieszko zielinski
0e35c4450b Fixed navmesh tiles AABB being calculated wrong for large agents #UE4
#jira UE-65038
#rb Lukasz.Furman

#ROBOMERGE-SOURCE: CL 4446389 in //UE4/Release-4.21/...
#ROBOMERGE-BOT: RELEASE (Release-4.21 -> Release-Staging-4.21)

[CL 4446390 by mieszko zielinski in Staging-4.21 branch]
2018-10-10 14:34:05 -04:00
Robert Manuszewski
02ba9f72df Merging //UE4/Dev-Main @ 4397329 to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4397828 by Robert Manuszewski in Dev-Core branch]
2018-09-26 08:22:54 -04:00
Marc Audy
af90b7bcd4 Copying //UE4/Fortnite-Staging to Dev-Main (//UE4/Dev-Main) @ 4395008
#rb
#rnx
#lockdown Nick.Penwarden

[CL 4395058 by Marc Audy in Main branch]
2018-09-25 10:11:35 -04:00
Stefan Boberg
ec78046f43 Merging //UE4/Dev-Main to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4314710 by Stefan Boberg in Dev-Core branch]
2018-08-24 10:59:28 -04:00
Robert Manuszewski
5cfb721650 Merging //UE4/Dev-Main @ 4166795 to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4168931 by Robert Manuszewski in Dev-Core branch]
2018-06-28 02:30:53 -04:00
Marc Audy
952ca7ae49 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 4166795
#rb
#rnx

[CL 4167744 by Marc Audy in Dev-Framework branch]
2018-06-27 17:19:13 -04:00
marc audy
4c6f4247db Make all engine and smaple uses of player controller iterator consistent at validating that the weak object pointer is valid before dereferencing.
#rb
#jira
#rnx
[FYI] Michael.Noland

#ROBOMERGE-SOURCE: CL 4149232 in //UE4/Release-4.20/...
#ROBOMERGE-BOT: RELEASE (Release-4.20 -> Release-Staging-4.20)
#ROBOMERGE-AUTHOR: marc.audy

[CL 4150460 by marc audy in Staging-4.20 branch]
2018-06-20 14:27:50 -04:00