Commit Graph

142 Commits

Author SHA1 Message Date
John Pollard
882085d414 Remove unused network package loading code
[CL 2176572 by John Pollard in Main branch]
2014-07-08 18:23:20 -04:00
John Pollard
6b34964e28 Detect and remove broken network guids
[CL 2171342 by John Pollard in Main branch]
2014-07-07 19:00:09 -04:00
Dmitriy Dyomin
e96da57d9f Fixed world composition loading from a compressed content
[CL 2130241 by Dmitriy Dyomin in Main branch]
2014-07-03 06:37:53 -04:00
Robert Manuszewski
41d1e2ccb7 ScriptPlugin: Script Generated Blueprint classes.
#ue4
#change Exposed the entire UFunction outside of CoreUObject
#change Script stack frame will now track currently executed native UFunctions
#change Added a few more lua types (FLinearColor etc)
#change Removed ScriptAsset
#change Added ScriptBlueprint and ScriptGeneratedBlueprintClass
#change Added ScriptActor. Both ScriptActor and ScriptComponent now serve the purpose of base classes for script generated classes
#change ScriptGeneratedBlueprint classes have properties and functions exported from script

[CL 2128742 by Robert Manuszewski in Main branch]
2014-07-03 03:22:03 -04:00
Dan Oconnor
14f44e55e1 #UE4 - fix for issue raised on answerhub, deep class hierarchy with load order enforced by other dependencies fails to load correctly (https://answers.unrealengine.com/questions/60535/editor-crashes-on-load-after-editing-a-blueprint.html)
[CL 2126365 by Dan Oconnor in Main branch]
2014-07-02 19:50:12 -04:00
Mike Beach
4c45a43949 Unexposing GObjLoaded (using indirectly through function params instead).
[CL 2125725 by Mike Beach in Main branch]
2014-07-02 17:55:03 -04:00
Mike Beach
3180dc80e5 Fixing circular dependency issue with blueprint interfaces.
#codereview Nick.Whiting

[CL 2125555 by Mike Beach in Main branch]
2014-07-02 17:19:40 -04:00
Robert Manuszewski
9df083482a Added code to gracefully handle cases where unknown script package is in the import list of another streaming package.
#ttp 339974: ELEMENTALVR: AUTOMATION: CRASH: Running StaticMeshUV editor test

[CL 2122946 by Robert Manuszewski in Main branch]
2014-07-01 03:16:14 -04:00
Robert Manuszewski
bc97bd4d4c Adding guards against using SetDefaultSubobjectClass and DoNotCreateOptionalDefaultSubobject outside of class initializer list
[CL 2122044 by Robert Manuszewski in Main branch]
2014-06-30 16:03:32 -04:00
Maciej Mroz
c06c9696f9 A persistent guid is stored as a part of property name for UDS variables
problem:
There is a user-defined structure S with a variable V. The default value of V is 1.
In blueprint B there is a variable M of type S. In M the V has value 2.
When V is renamed, the V value in M is reset to 1.

#codereview Robert.Manuszewski, Michael.Noland

[CL 2121725 by Maciej Mroz in Main branch]
2014-06-30 06:59:13 -04:00
Michael Noland
15e667408b Core: Convert ULinkerLoad::CreateActiveRedirectsMap to be static and externally callable
[CL 2120747 by Michael Noland in Main branch]
2014-06-28 16:36:43 -04:00
John Pollard
443f90dfbd Async network object load support
[CL 2120231 by John Pollard in Main branch]
2014-06-27 19:39:32 -04:00
Saul Abreu
3c1357af4a Added logic for updating serialized array properties between FString and FText.
[CL 2119946 by Saul Abreu in Main branch]
2014-06-27 16:33:36 -04:00
Richard TalbotWatkin
bb0a863806 Corrected issue with structs containing arrays of structs not using the SDO as the delta when exporting T3D text.
#branch UE4
#proj Runtime.CoreUObject

[CL 2119703 by Richard TalbotWatkin in Main branch]
2014-06-27 14:02:52 -04:00
Robert Manuszewski
94dae1b806 Adding '+' as a valid property token character to allow references to assets that contain '+' in their (file)name
[CL 2119218 by Robert Manuszewski in Main branch]
2014-06-27 04:50:09 -04:00
Michael Noland
db2f805416 Editor: Now with more dragons!
- Added new class metadata Experimental and EarlyAccessPreview, which will trigger a warning section in the actor details panel

Experimental:
- Here be dragons!  It's a totally unsupported and undocumented prototype

Early Access Preview:
- While not considered production-ready, it's a step beyond 'experimental' and is being provided as a preview of things to come

[CL 2117581 by Michael Noland in Main branch]
2014-06-26 01:14:00 -04:00
Michael Noland
3a9bd5efd4 Core: Add UStruct::GetStringMetaDataHierarchical
[CL 2117580 by Michael Noland in Main branch]
2014-06-26 01:13:46 -04:00
Bob Tellez
16bba27438 UE4: Fixing an edge case where during async loading a BP generated class could be created, but not yet preloaded at the time another object is loading it as an import. This only happens during async loading in cooked builds, but is safe to call all the time since it early-outs if it was already called.
#codereview Robert.Manuszewski,Nick.Whiting

[CL 2117545 by Bob Tellez in Main branch]
2014-06-26 00:03:20 -04:00
Nick Whiting
c8cce364ac #ue4 Adding script call stack dumping when asserting. Every FFrame will now push and pop on it's info to a global stack record, and dump them with the native stack when assertions fail
[CL 2112206 by Nick Whiting in Main branch]
2014-06-20 16:38:35 -04:00
John Pollard
9a1f82cb0f Use guide sequence counter to clean package maps across seamless travel
* Removed code that would force exporting of guids during seamless travel, no longer needed with guid sequence logic
* Added ability to reject old guid packets
* No longer even attempt to append guid packets to final fragmented bunch, removes the worry of them not being processed if they were previously rejected due to out of order
* We no longer need to byte align guid packetsguid sequence

[CL 2111030 by John Pollard in Main branch]
2014-06-19 18:47:23 -04:00
Marc Audy
83efa1e776 Expose AddUninitializedValue(s) in FScriptArrayHelper
[CL 2110794 by Marc Audy in Main branch]
2014-06-19 16:16:43 -04:00
Marc Audy
b0d97f1e53 Allow Rotator pins to be split
[CL 2109579 by Marc Audy in Main branch]
2014-06-18 14:47:24 -04:00
Robert Manuszewski
f8b823f731 Making sure 'NewObject cannot be used to construct subobjects' does not prevent new objects from being constructed in PostInitProperties
[CL 2109486 by Robert Manuszewski in Main branch]
2014-06-18 13:42:12 -04:00
Jamie Dale
b76d033420 Auto-save improvements and performance tweaks
https://answers.unrealengine.com/questions/53990/cant-find-file-for-asset.html

This change restores the behaviour of the package auto-saver that was removed in CL# 1950261 due to changes in the way UPackage::PackageDirtyStateUpdatedEvent was called (it was changed to be called only when the package became dirty state was actually changed).

There is now another callback, UPackage::FOnPackageMarkedDirty, which is always called when a package is marked as dirty, even if the package is already dirty. This allows the package auto-saver to watch for changes in-between auto-save periods, rather than be forced to assume that everything that was dirty had become dirty during the last auto-save period. FOnPackageDirtyStateUpdated and UPackage::PackageDirtyStateUpdateEvent have been renamed to FOnPackageDirtyStateChanged and UPackage::PackageDirtyStateChangedEvent respectively.

Additionally, you're now able to restore asset files that haven't yet been saved to disk as a .uasset file. This can happen for newly added or imported assets, as UE4 doesn't generate the associated .uasset file until you do something which causes dirty packages to be saved.

ReviewedBy Thomas.Sarkanen, Max.Preussner

[CL 2109337 by Jamie Dale in Main branch]
2014-06-18 11:26:28 -04:00
Andrew Rodham
ae8f353767 Fixed erroneous double-escaping of some characters when replacing characters with their escaped equivalents
This was a regression caused by the re-introduction of the escaping characters in CL#2056465.
This addresses TTP#338005 - Editor: If you copy/paste a comment that has an apostrophe in it, it'll show the escape character in the new comment (\\')

Reviewed by Tom Sarkanen, Matt Kuhlenschmidt

[CL 2107969 by Andrew Rodham in Main branch]
2014-06-17 06:30:42 -04:00