Commit Graph

94 Commits

Author SHA1 Message Date
John Pollard
c61ba91c6d More package map cleanup
[CL 2096430 by John Pollard in Main branch]
2014-06-05 19:49:52 -04:00
Gil Gribb
fa7226b8fe UE4 - merge first pass at parallel rendering to main
[CL 2095959 by Gil Gribb in Main branch]
2014-06-05 16:38:54 -04:00
John Pollard
c70b2ee9c5 Package map cleanup
* We only need one FClassNetCache, so moved this into a single manager on UNetDriver
* Moving towards making UPackageMap abstract

[CL 2095123 by John Pollard in Main branch]
2014-06-04 19:32:15 -04:00
John Pollard
1adb5cc33f Add support for renamed UPackage's, cleanup
[CL 2095061 by John Pollard in Main branch]
2014-06-04 18:27:03 -04:00
Maciej Mroz
1b82c058a3 BPGC bytecode serialization is skipped in Editor.
#codereview Nick.Whiting, Robert.Manuszewski

[CL 2094360 by Maciej Mroz in Main branch]
2014-06-04 09:36:04 -04:00
John Pollard
c4f27cf819 Packagemap refactor
* We no longer use a package map for server side network guid management
* MasterMap is now just direct to a stored GuidCache, which is then referenced by all PackageMapClients

[CL 2093602 by John Pollard in Main branch]
2014-06-03 17:14:52 -04:00
Daniel Wright
1464dcf2c3 Distance field AO using a surface cache
* Provides mid-range stable AO for dynamic rigid meshes
* Movable sky lights are now supported, and distance field AO is used for shadowing Movable sky lighting from dynamic scenes
* Static meshes are preprocessed into signed distance field volumes at mesh build time when the r.AllowMeshDistanceFieldRepresentations project setting is enabled
* Non-uniform scaling does not work with this method (mirroring is fine), animating through world position offset also causes artifacts as the two representations diverge
* Occlusion is computed along cones to reduce over-shadowing, object distance fields are operated on directly (no hierarchy) to obtain enough resolution to prevent leaking, visibility traces are done with cone stepping to allow better parallelization, and shading is done adaptively in space and time using the surface cache.

[CL 2093556 by Daniel Wright in Main branch]
2014-06-03 15:53:13 -04:00
Marc Audy
51c8c46c2f Transaction annotations framework.
Objects can now provide annotation data beyond what is serialized from within their properties via the virtual function GetTransactionAnnotation.
This annotation data, when valid, is returned through a new PostEditUndo virtual function to be applied.

[CL 2093104 by Marc Audy in Main branch]
2014-06-03 09:46:36 -04:00
Matt Kuhlenschmidt
fb672d5990 Removed UAttributeProperty and all related changes
[CL 2091937 by Matt Kuhlenschmidt in Main branch]
2014-06-02 14:20:58 -04:00
John Pollard
459d2991c2 Don't explicitly require packages to be known when exporting guids
* Undo a change that was made that requires the server to identify packages explicitly when exporting guids
* Cleanup

[CL 2090163 by John Pollard in Main branch]
2014-05-30 16:47:46 -04:00
Robert Manuszewski
870092084e TSubobjectPtr documentation
#docs More detailed TSubobjectPtr comments

[CL 2089548 by Robert Manuszewski in Main branch]
2014-05-30 07:57:43 -04:00
John Pollard
b910c11a76 Naming cleanup to prepare for larger changes
* Cleanup naming
* Allow NetGUID to change for the caller when we auto-assign for default guids

[CL 2089045 by John Pollard in Main branch]
2014-05-29 19:03:10 -04:00
Maciej Mroz
fdb914fe8a FStructOnScope improvements
[CL 2088243 by Maciej Mroz in Main branch]
2014-05-29 17:40:05 -04:00
Jamie Dale
3ea331525b UAT now uses the game INI files to add additional directories to cook and stage.
TTP# 335070 - Add GUI based way to specify additional non-asset files or paths to package

CookCommandlet now uses the project settings to work out which additional directories it should cook (this removes the need for the editor to pass this information to that UAT via the command line). I've left the COOKDIR option in the UAT/CookCommandlet as, while non of our projects seem to be using it, I'm not comfortable removing it in case any scripts are using it.

CopyBuildToStagingDirectory also uses these project settings to work out which additional directories it should stage when producing the staging manifest (these are split into UFS and non-UFS directories). This allows users to define additional directories in the editor (or directly in the settings file) which will always be staged regardless of how UAT is invoked.

All of these paths are specified in the settings file as relative to the project Content directory, and the editor will enforce this fact when using the directory picker.

Also mirrored the meta-data interface from UField on IPropertyHandle. This takes care of accessing the meta-data from the correct property, even when you're accessing an element inside an array (MattK approved!).

ReviewedBy Thomas.Sarkanen, Robert.Manuszewski, Max.Preussner

[CL 2088172 by Jamie Dale in Main branch]
2014-05-29 17:38:00 -04:00
Robert Manuszewski
19180797b0 Duplicated objects now get PostLoad called on them properly by setting the RF_NeedsPostLoad flag and calling ConditionalPostLoad
#codereview bob.tellez

[CL 2088050 by Robert Manuszewski in Main branch]
2014-05-29 17:36:25 -04:00
Dmitry Rekman
b7826acacb Safe compiler warning fixes from PR 185.
This is a subset of changes (compiler warning fixes needed to compile Linux editor) from pull request 185 by sbc100, 3dluvr, wshearn, abarbu et al: https://github.com/EpicGames/UnrealEngine/pull/185
- Initialization order fixes
- Missing virtual destructors in classes with virtual funcs.
- Missing newlines at the end of file

#codereview Robert.Manuszewski

[CL 2085576 by Dmitry Rekman in Main branch]
2014-05-29 17:09:32 -04:00
Maciej Mroz
98b5e0d1b5 FStructureOnScope moved to core. ScriptStruct functions are const.
#codereview Robert.Manuszewski

[CL 2085451 by Maciej Mroz in Main branch]
2014-05-29 17:02:19 -04:00
Ben Zeigler
3f7149bdb0 Merging using UE4-Fortnite-To-UE4 Up to Changelist #2080066
[CL 2082174 by Ben Zeigler in Main branch]
2014-05-22 14:14:52 -04:00
Robert Manuszewski
0858b9d55e Object Redirectors will no longer be saved during cooking.
[CL 2080911 by Robert Manuszewski in Main branch]
2014-05-21 15:27:23 -04:00
John Pollard
ef79cc3980 Lots of little cleanup of FNetGUID code
* Added support functions on object: IsNameStableForNetworking, IsFullNameStableForNetworking, IsSupportedForNetworking
* Refer to these newly added functions in the various SupportsObject/IsDynamic support functions on UPackageMapClient
* Merged in code from Ratti that cleans up some subobject replication code
* Other various cleanups/name/etc

#Codereview david.ratti

[CL 2079676 by John Pollard in Main branch]
2014-05-20 18:40:45 -04:00
Richard TalbotWatkin
61196bd70c Changed "Graph is linked to object(s) in external map" dialog to have a single "OK" button.
#ttp 335736 - EDITOR: When saving a blueprint, received a "can't save" error popup message with "yes"/"no" buttons
#branch UE4
#proj Runtime.CoreUObject
#change Changed MessageDialog type to be EAppMsgType::Ok, and moved the code conditional on 'Yes' out of the condition, so it's always executed.
#reviewedby Chris.Wood

[CL 2079290 by Richard TalbotWatkin in Main branch]
2014-05-20 15:14:50 -04:00
Billy Bramer
b8d692da28 Merge CLs with refactor of GameplayTags to main. Largely WIP, more changes coming.
[AUTOMERGE]

- Step one of gameplay tag refactor: deletion of un-used and unfixed content

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2067362 by Billy.Bramer on 2014/05/08 16:08:55.

[AUTOMERGE]

Gameplay Tag Refactor

Unshelved from AntonyC's pending changelist '2003772':

#TTP 322200 - Gameplay Tags: Refactor how tags are stored/queried

#proj Fortnite.Editor

#summary Refactored Tags from FName array to a FGamplayTag

#change removed all FName Tags and replaces with FGameplayTag
#added added tag verification so that new tags are not created at runtime
#added added new object version for data upgrade on all tagcontainers to be in new format and only store leaf most tags
#added requestgameplaytag function to FortGlobals, so that the tag manager can be started up before first use
#added New GraphPin for single tags
#change Added mode to SGamplayTagWidget to allow single select
#change PropertyArray fixed to now support empty arrays in the ImportText

---------------------

Additional Changes/Modifications
- Add new BlueprintGameplayTagLibrary to expose tag container functions to blueprints; Will add more in future post-refactor
- Fix bug with AddLeafTagToContainer incorrectly clearing the wrong container
- Remove default parameters for TagContainer.HasTag and fix call-sites to remain logically consistent with old behavior
- Make FName constructor for tag explicit
- Fix incorrect requirements check in combat effect
- Expose tag asset interface to blueprints
- Remove serialization fix-up from game data (manually fixed up)
- Remove version bump and serialization fix-up on tag container (will be re-done from main branch post merge)

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2067378 by Billy.Bramer on 2014/05/08 16:15:42.

[AUTOMERGE]

#UE4 Fixed up GameplayTag usage in the SkillSystem module

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2067576 by Bob.Tellez on 2014/05/08 18:38:58.

[AUTOMERGE]

- Linker build fix on gameplay tags

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2067708 by Billy.Bramer on 2014/05/08 21:18:36.

[AUTOMERGE]

- Minor optimization in header

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2067709 by Billy.Bramer on 2014/05/08 21:22:27.

[AUTOMERGE]

- Gameplay tag refactor, round 3
- Fortnite asset conversion/update

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2068202 by Billy.Bramer on 2014/05/09 11:13:36.

[AUTOMERGE]

- Fix gameplay tag reimporting failing to reinitialize the tag table

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2068787 by Billy.Bramer on 2014/05/09 18:11:23.

[AUTOMERGE]

#UE4 Fixed up GameplayTag usage in the SkillSystem module after merge from main

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2070710 by Fred.Kimberley on 2014/05/12 15:57:13.

#codereview Fred.Kimberley, David.Ratti

[CL 2078452 by Billy Bramer in Main branch]
2014-05-19 23:21:13 -04:00
Maciej Mroz
df231140d4 Better handling improper ArrayProperties. ttp303326
#codereview Nick.Whiting

[CL 2077841 by Maciej Mroz in Main branch]
2014-05-19 13:08:54 -04:00
Maciej Mroz
4111739c55 NeedLoadInEditorGame flag added. VER_UE4_LOAD_FOR_EDITOR_GAME. OBJECTMARK_NotForEditorGame.
NeedLoadInEditorGame means, that the object must be always loaded in 'editor -game'. When it's false it doesn't mean, that it's never loaded in editor game.

#codereview Robert.Manuszewski, Nick.Whiting

[CL 2075291 by Maciej Mroz in Main branch]
2014-05-16 05:06:26 -04:00
John Pollard
d753b21dd2 Remove unnecessary condition.
This was a stop gap measure to stop spam happening in benign cases, but since the unmapped logic exists on the client, we no longer need this.

[CL 2074943 by John Pollard in Main branch]
2014-05-15 18:59:26 -04:00