Commit Graph

74 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
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
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
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
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
9dacf8a41d Log full name when net guids are changed + comment why this can happen
[CL 2074721 by John Pollard in Main branch]
2014-05-15 16:58:50 -04:00
Bob Tellez
9d981b549c UE4: Initial world asset renaming support.
Renaming a world also renames it's level blueprint.
Moving a world to a new package also transfers over all of it's lightmaps and shadowmaps.
Redirectors are allowed to UObject* (hard) reference assets in another package, but all other hard references are still disallowed.
Referencing a redirector package in a UStreamingLevel now follows the redirector to the world in the new package.
Packages that lose their worlds now also lose the PKG_ContainsMap flag. Packages that gain a world also gain this flag.

[CL 2073709 by Bob Tellez in Main branch]
2014-05-14 21:57:09 -04:00
John Pollard
03f0a4224b Adding code to handle benign cases of net guid's being reassigned
[CL 2073601 by John Pollard in Main branch]
2014-05-14 19:26:32 -04:00
Max Preussner
1b3da8a50f Settings: Fix for setting Project Settings as default clears redirects (TTP# 334046)
To fix the loss of redirects we added corresponding UProperties in UEngine.
To fix the corruption of the Default INI on shutdown we are now only saving to Default from the Settings UI.

#CodeReview: thomas.sarkanen

[CL 2071719 by Max Preussner in Main branch]
2014-05-13 12:16:04 -04:00
Maciej Mroz
b78f336287 Ensure, that VMBytecode was properly serialized.
#codereview Nick.Whiting, Robert.Manuszewski

[CL 2071400 by Maciej Mroz in Main branch]
2014-05-13 06:19:19 -04:00
Maciej Mroz
c63bc93599 'Force Delete' an UDStruct wont cause a crash. ttp#335026
#codereview Robert.Manuszewski

[CL 2070548 by Maciej Mroz in Main branch]
2014-05-12 13:54:50 -04:00
Maciej Mroz
950090661d UBlueprint and GlassGeneratedBy shouldn't be used outside EDITOR
#codereview Nick.Whiting

[CL 2070174 by Maciej Mroz in Main branch]
2014-05-12 08:39:35 -04:00
Nick Darnell
a6e74650b5 UMG - Now filtering bindable function options. Allowing the creation of a binding based on delegate signature. New function for checking function signature compatiabilty that accepts a custom set of ignore flags.
[CL 2067285 by Nick Darnell in Main branch]
2014-05-08 15:03:09 -04:00