Commit Graph

71 Commits

Author SHA1 Message Date
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
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
Maciej Mroz
4a56b24c06 Back out revision 123 from //depot/UE4/Engine/Source/Runtime/CoreUObject/Private/UObject/Class.cpp
[CL 2067148 by Maciej Mroz in Main branch]
2014-05-08 13:11:47 -04:00
Maciej Mroz
39db932969 Calling MCDelegate won't cause a crash.
ttp333724 LIVE: CRASH: BP: Calling an Event Dispatcher from a non-placed blueprint variable

[CL 2066992 by Maciej Mroz in Main branch]
2014-05-08 10:51:17 -04:00
Mikolaj Sieluzycki
63d9c60805 Fix issue when saving empty cooked package crashes the coooker. Saving fails gracefully with log warning message.
#ttp 331348 - CORE: Cooking ShooterGame with -compressed crashes the cooker
#proj core
#branch UE4
#summary While cooking, when we save a package, if we find out the package is empty, it shouldn't be saved.
#codereview robert.manuszewski

[CL 2066873 by Mikolaj Sieluzycki in Main branch]
2014-05-08 08:10:32 -04:00
Maciej Mroz
27063f075a Back out revision 124 from //depot/UE4/Engine/Source/Runtime/CoreUObject/Private/UObject/Class.cpp
[CL 2066829 by Maciej Mroz in Main branch]
2014-05-08 06:35:10 -04:00
Michael Noland
1f34ce9e19 Core: Change FCoreDelegates::OnObjectPropertyChanged to take the property change event as an additional parameter
[CL 2066450 by Michael Noland in Main branch]
2014-05-07 22:17:44 -04:00
Robert Manuszewski
82244fc55b CheckActorComponents is now going to be used by CheckDefaultSubobjects for Actors
[CL 2065730 by Robert Manuszewski in Main branch]
2014-05-07 12:25:09 -04:00
Maciej Mroz
b4a5c2680f ScriptStructs are initialized faster when STRUCT_ZeroConstructor flag is set.
#codereview Robert.Manuszewski, Nick.Whiting

[CL 2065456 by Maciej Mroz in Main branch]
2014-05-07 07:08:54 -04:00
Maciej Mroz
a9364b2dac ScriptBytecode loading optimization in editor (bytecode serialization is skipped).
#codereview Robert.Manuszewski, Nick.Whiting, James.Golding

[CL 2065454 by Maciej Mroz in Main branch]
2014-05-07 07:08:43 -04:00
Maciej Mroz
2dbdfb77a3 UStruct::Link wont cause a crash when a property is changed while linking (ttp#334298)
#codereview Robert.Manuszewski, Nick.Whiting

[CL 2065450 by Maciej Mroz in Main branch]
2014-05-07 06:58:40 -04:00
Steve Robb
28e801f296 Fixed comment.
#codereview robert.manuszewski,marc.audy

[CL 2064270 by Steve Robb in Main branch]
2014-05-06 05:20:56 -04:00
Daniel Lamb
6bd3c10b22 Added support for changed objects being recooked for cook on the side.
Converted cookonthefly to use fnames instead of string compares for platform names.
Stopped cook on the fly from loading packages if they are already loaded.
Removed some cabbage code.
#codereview Josh.Adams

[CL 2062123 by Daniel Lamb in Main branch]
2014-05-02 10:44:16 -04:00
Phillip Kavan
eb70cf6a18 [332494] Fix for a serialization crash that occurs when there is a cyclic dependency between a Blueprint class and an implemented interface.
#change Bumped UObject version.
#change Modified UClass::Serialize() to skip over serialization of the Interfaces array until after the Link() step. This ensures that Interface class serialization will not interrupt serialization of classes that might potentially also implement the interface.
#add Added test case assets to QAGame.

[CL 2061497 by Phillip Kavan in Main branch]
2014-05-01 17:37:08 -04:00
Max Preussner
aaac6cdfd4 Delegates: simplified script delegate API
Upgrade Notes:
The two separate function calls "MyScriptDelegate.SetObject(SomeObject); MyScriptDelegate.SetFunctionName(SomeFunctionName);" where combined into a single function call "MyScriptDelegate.BindUFunction(SomeObject, SomeFunctionName);"

[CL 2061427 by Max Preussner in Main branch]
2014-05-01 17:36:38 -04:00
Mike Beach
ba66fa8c6d Give the "showcategories" metadata more granular control (can now unhide sub categories). Also, a commandlet that'll dump hidden functions (so we can diff as changes are made).
[CL 2060588 by Mike Beach in Main branch]
2014-04-30 18:50:05 -04:00
Peter Sauerbrei
37dbbaeafb fix for aligned memory read of script code for iOS
#ue4
#ios

[CL 2060102 by Peter Sauerbrei in Main branch]
2014-04-30 12:53:43 -04:00