Commit Graph

30 Commits

Author SHA1 Message Date
Mike Beach
c4a189cd30 Copying //UE4/Dev-Blueprints to //UE4/Dev-Main (Source: //UE4/Dev-Blueprints @ 3130440)
#lockdown Nick.Penwarden
#rb none

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3050029 on 2016/07/14 by Ben.Cosh

	This modifies the blueprint instrumented compilation chain so only the the blueprint you compile and all dependencies are instrumented and the profiler is notified rather than waiting for event data.
	#Jira UE-32063 - The blueprint profiler doesn't display any stats in the execution graph if no instance is placed in the current level.
	#Proj BlueprintProfiler, Kismet, UnrelEd

	- This also improves the execution graph UI, notifying the user that no instances are available to display data from.

Change 3101549 on 2016/08/25 by Maciej.Mroz

	BP nativization: fixed FEmitDefaultValueHelper::HandleInstancedSubobject

	https://udn.unrealengine.com/questions/308800/nativized-blueprints-newobject-call-uses-incorrect.html

Change 3101811 on 2016/08/25 by Ryan.Rauschkolb

	BP Profiler: Fixed stack overflow crash when compiling blueprints with nested macros
	#jira UE-34503

Change 3102478 on 2016/08/26 by Maciej.Mroz

	#jira UE-35135 - Odin compiles with errors when using Blueprint nativization

	BP Nativization:
	- improved native cast
	- improved bool handling

Change 3102944 on 2016/08/26 by Phillip.Kavan

	[UE-33017] Don't include transient properties when generating property lists at cook time for optimized runtime Blueprint component instancing. Also ensure that deprecated properties are serialized during load/instancing at runtime.

	change summary:
	- modified FBlueprintComponentInstanceDataLoader to append 'PPF_UseDeprecatedProperties' to the FArchive port flags.
	- modified FBlueprintComponentInstanceDataWriter to append both 'PPF_Duplicate' and 'PPF_UseDeprecatedProperties" to the FArchive port flags (to ensure consistency w/ the instancing side).
	- switched the RecursivePropertyGatherLambda helper to a static class method instead
	- modified the RecursivePropertyGather utility method to exclude transient properties.

	notes:
	- the primary cause of UE-33017 was that UBodySetup can "share" the ShapeBodySetup object across all instances, but the shared object is not owned by the CDO, it's owned by the archetype. this caused the archetype to differ from the CDO, which caused us to emit the transient property at cook time. thsi threw off the serialization offset between read/write FArchive passes at runtime. since transient properties are not serialized as part of the template, there's no need to include them in the generated delta property list, so as a fix, i'm just excluding them altogether.

	#jira UE-33017

Change 3103692 on 2016/08/27 by Mike.Beach

	Merging //UE4/Dev-Main to Dev-Blueprints (//UE4/Dev-Blueprints)

Change 3104266 on 2016/08/29 by Ben.Marsh

	Add test script to native assets for QAGame.

Change 3104399 on 2016/08/29 by Ben.Marsh

	Fix missing property warning in build script.

Change 3104419 on 2016/08/29 by Maciej.Mroz

	#jira UE-35135 Odin compiles with errors when using Blueprint nativization

	- Reduced number of DynamicCLass instance dependencies
	- Fixed UDS default values dependencies
	- Improved WeakObjPtr handling
	- Improved const parameters handling

Change 3104474 on 2016/08/29 by Ryan.Rauschkolb

	BP Profiler: Fixed issue where collapsed nodes that share a name with a parent class collapsed node can cause a stack overflow
	#jira UE-35245

Change 3105605 on 2016/08/30 by Maciej.Mroz

	Temp change: CIS Test

Change 3105738 on 2016/08/30 by Maciej.Mroz

	UAT, CIS: testing NoRecompileUAT switch.

Change 3105800 on 2016/08/30 by Maciej.Mroz

	UAT, CIS, Nativization:
	- reverted NoRecompileUAT switch.
	- testing nativization with -nocompileeditor flag and without -compile flag

Change 3106162 on 2016/08/30 by Maciej.Mroz

	UAT, CIS, Nativization:
	-NoSubmit flag added. Otherwise UAT files are singed (when they are used by other process). It causes an error.
	- Ugly hack removed.

Change 3106261 on 2016/08/30 by Phillip.Kavan

	[UE-34705] Gracefully handle tunnel node entry exec pins that aren't internally linked during BP profiler tunnel boundary mapping.

	change summary:
	- added FBlueprintFunctionContext::GetTunnelBoundaryNode() (uncheckedl variant).
	- moved FBlueprintFunctionContext::GetTunnelBoundaryNodeChecked() impl into GetTunnelBoundaryNode().
	- re-implemented FBlueprintFunctionContext::GetTunnelBoundaryNodeChecked() to call GetTunnelBoundaryNode() and then assert on the result.
	- changed the FBlueprintTunnelInstanceContext::GetTunnelBoundaryNodeChecked() impl to override GetTunnelBoundaryNode() instead.
	- modified FBlueprintFunctionContext::MapTunnelBoundary() to only process the entry case if the TunnelBoundaryNode result is valid. this way we simply skip tunnel boundary mapping if an entry path was not previously mapped (rather than assert).

	#jira UE-34705

Change 3106478 on 2016/08/30 by Ben.Marsh

	Include *.uasset files on builders running the NativizeAssets job.

Change 3107514 on 2016/08/31 by Ben.Cosh

	This set of changes is the result of a full pass on the blueprint profiler heat interface to try and bring them into a usable state.
	#Jira UE-33465 - Stat heat colors and heat wire traces need a quick pass to ensure they are working as expected.
	#Jira UE-33309 - FlipFlop node breaks hottest path wire heatmap
	#Jira UE-33650 - Blueprint heatwire effects do not work when touching user macros
	#Jira UE-33706 - BP Profiler - Macro instances not colored or reporting time
	#Jira UE-33701 - BP Profiler: Hottest path wire heatmap doesn't appear to be working
	#Jira UE-33083 - BP Profiler - (Exclusive) pure node heatmap missing from some nodes
	#Jira UE-34855 - BP Profiler - Update heatmap coloration when switching between Default/Custom thresholds
	#Jira UE-32218 - BP Profiler: Clear "inclusive" time entries from "avg. time" row.
	#Proj GraphEditor, Kismet, BlueprintProfiler,

Change 3108268 on 2016/08/31 by Ben.Cosh

	Minor change from profiler review sessions to move macro timing to average stats.
	#Jira UE-33706 - BP Profiler - Macro instances not colored or reporting time
	#Proj Kismet

Change 3108991 on 2016/08/31 by Maciej.Mroz

	UAT, CIS, Nativization: Test separate cooking and compiling

Change 3110097 on 2016/09/01 by Ben.Cosh

	Minor update to the blueprint profiler mapping functionality to ignore disabled nodes and a fix for the max timing white glow bug.
	#Jira UE-35377 - Blueprint macros highlighting white in profiler
	#Jira UE-34973 - Remove Ghost Nodes
	#Proj Kismet, BlueprintProfiler

Change 3114553 on 2016/09/06 by Dan.Oconnor

	Support for TMap/TSet in blueprint variable editor panel
	#jira UE-2114

Change 3116367 on 2016/09/07 by Dan.Oconnor

	Fixed Function/Macro inputs/outputs list (had become cramped with my last change) + misc. fixes for new container types, fixes uninitialized members in FTerminalType
	#jira UE-2114, UE-35676

Change 3116663 on 2016/09/07 by Dan.Oconnor

	Fix for array functions showing up with TSet and TMap pins
	#jira UE-2114

Change 3118259 on 2016/09/08 by Ryan.Rauschkolb

	BP Profiler: Fixed Assert when profiling parent/child Blueprint
	#jira UE-35487

Change 3119023 on 2016/09/09 by Maciej.Mroz

	Manually integrated (from Odin branch) recent changes related to BP and nativization:

	3115713 UE-35448
	3117590 UE-35697
	3117742 ODIN-577

Change 3119058 on 2016/09/09 by Maciej.Mroz

	#jira UE-32841 GitHub 2574 : fix typos

	#2574 https://github.com/EpicGames/UnrealEngine/pull/2574
	Renamed function CustomNativeInitilize to InitializeNativeClassData  and made it private.

Change 3119302 on 2016/09/09 by Maciej.Mroz

	#jira UE-35584 Orion - nativized server crashes

	Global variable for WITH_PERFCOUNTERS definition in UEBuildConfiguration.
	Previously the same header could be compiled with the WITH_PERFCOUNTERS flag enadles and disabled  (during a single compilation) .

Change 3119502 on 2016/09/09 by Mike.Beach

	When building a deterministic UUID for latent nodes, we now use expanded nodes' origin (node) to avoid collisions (latent node in macros, etc.)

	#jira UE-35609

Change 3119517 on 2016/09/09 by Ryan.Rauschkolb

	Added blueprint editor settings option to display unique names for blueprint nodes

Change 3119602 on 2016/09/09 by Maciej.Mroz

	#jira UEBP-214 Implement Solution for Nativized AnimBlueprints Size Reduction

	Added stats about nativized AnimBP
	Mechanism to exlcude reducible AnimBP
	Editor config option:[BlueprintNativizationSettings] bNativizeAnimBPOnlyWhenNonReducibleFuncitons=false

Change 3119615 on 2016/09/09 by Maciej.Mroz

	Missing change (should be part of cl#3119602)

Change 3119619 on 2016/09/09 by Maciej.Mroz

	#jira UEBP-214 Implement Solution for Nativized AnimBlueprints Size Reduction

	Excluding all AnimBP from Orion nativization.

Change 3120752 on 2016/09/12 by Maciej.Mroz

	#jira UE-35051 [CrashReport] UE4Editor_BlueprintNativeCodeGen!FBlueprintNativeCodeGenModule::GenerateSingleAsset()

	Removed unnecessary ensure

Change 3121354 on 2016/09/12 by Dan.Oconnor

	Fixed variable type width, required for TMap's extra combobox.

Change 3121626 on 2016/09/12 by Phillip.Kavan

	[UE-35456] Fix crash on right-click in components tree view after copying one or more BSP actors to clipboard.

	Note: This applies to the components tree view in both the Blueprint editor and the Level editor's Actor details panel.

	change summary:
	- modified FComponentObjectTextFactory::CanCreateClass() to exclude Actor/Component subtypes that are not Blueprint-compatible (e.g. ABrush).

	#jira UE-35456

Change 3122712 on 2016/09/13 by Maciej.Mroz

	#jira UE-35714 [CrashReport] UE4Editor_BlueprintGraph!UK2Node_CallArrayFunction::GetArrayPins() [k2node_callarrayfunction.cpp:141]

	Replaced "check" with "ensure".

Change 3124398 on 2016/09/14 by Maciej.Mroz

	More strict BP validation in UBlueprintThumbnailRenderer::Draw
	#jira UE-35705

Change 3124405 on 2016/09/14 by Maciej.Mroz

	#jira UE-35110 Packaged project crashes when playing sound from blueprint library with enum input after nativizing blueprints

	Function Libraries are properly added to dependencies list while nativization.

Change 3124667 on 2016/09/14 by Maciej.Mroz

	#jira UE-35262 Incompatible pins give generate warning, when error is necessary.

	Fixed incompatible pins validation.

Change 3125245 on 2016/09/14 by Phillip.Kavan

	[UE-33674] Fix missing stats for the ForEachElementInEnum node type in the Blueprint profiler tree view.

	change summary:
	- modified FScriptEventPlayback::Process() to not allow intermediate node exit pins to pollute the current trace path
	- modified FBlueprintFunctionContext::DetermineGraphNodeCharacteristics() to handle the UK2Node_ForEachElementInEnum type as a special case and account for extra loop iterations in the sample frequency computed at mapping time
	- exported UK2Node_ForEachElementInEnum::InsideLoopPinName and EnumOutputPinName string constants

	#jira UE-33674

Change 3126211 on 2016/09/15 by Maciej.Mroz

	#jira UE-36016 Struct pin can be connected to Object pin without error

Change 3126393 on 2016/09/15 by Maciej.Mroz

	#jira UE-35936
	Replace "check" by "ensure".

Change 3126623 on 2016/09/15 by Maciej.Mroz

	#jira UE-35816 User defined struct array resets to defaults in blueprint after updating the struct

	STRUCT_SerializeFromMismatchedTag is not necessary to serialize structure when guids match. Anyway STRUCT_SerializeFromMismatchedTag sholud precede SerializeFromMismatchedTag().

Change 3127288 on 2016/09/15 by Mike.Beach

	Making the script VM overhead and native time stats threadsafe (to account for threaded anim Blueprints in Orion).

Change 3127375 on 2016/09/15 by Mike.Beach

	Making sure Blueprint classes inherit the super's ClassConfigName properly (inherit the ID instead of the filename).

Change 3127381 on 2016/09/15 by Mike.Beach

	Removing an overzealous ensure that certain users were hitting when a loading array property wasn't fully filled out yet (confirmed that it was populated with the proper objects by the end of the load).

Change 3127476 on 2016/09/15 by Dan.Oconnor

	Build fix
	#jira UE-36073

Change 3128335 on 2016/09/16 by Maciej.Mroz

	#jira UE-36075 Odin: BP_DefaultHand and BigBotCharacter blueprints fail to compile

	Fixed broken BP assets.

Change 3128589 on 2016/09/16 by Mike.Beach

	Fixing a static analysis CIS warning (duplicated condition).

Change 3128630 on 2016/09/16 by Dan.Oconnor

	Re-fix with engine version set

Change 3129338 on 2016/09/16 by Dan.Oconnor

	=FScriptSet/FScriptSetHelper fleshed out (Add, Remove, and Find implemented)
	+SetParam implemented for marking up sets for primitive Set functions (to be checked in once completed as BlueprintSetLibrary)
	#jira UE-2114

[CL 3131171 by Mike Beach in Main branch]
2016-09-19 16:14:06 -04:00
Matthew Griffin
bb70b349ce Merging CL 2804086 from //UE4/Release-4.11 to Dev-Main (//UE4/Dev-Main) to isolate copyright update
#lockdown Nick.Penwarden

[CL 2819020 by Matthew Griffin in Main branch]
2016-01-07 08:17:16 -05:00
Robert Manuszewski
dfc39a6ca5 Copying //UE4/Dev-Core to //UE4/Main
==========================
MAJOR FEATURES + CHANGES
==========================

Change 2783106 on 2015/11/30 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream2

	Introduced GC UObject clusters. GC clusters provide means to create disregard for GC subsets at load time (e.g. Materials with material expressions and their textures).

	- Saves about 25ms in reachability analysis (58ms -> 33ms)
	- UObject classes/instances can now be marked as cluster root objects with CanBeClusterRoot() function override.
	- Cluster creation is automatic. Clusters don't require any manual handling for GC to collect them when nothing is referencing them.
	- Moved token stream processing to a new class FFastReferenceFinder to make it more generic and re-usable by other code
	- Removed REFERENCE_INFO macro from GC code and replaced it with a local variable (saves about ~1.9ms: 33.2ms -> 31.3ms)

Change 2773094 on 2015/11/19 by Steve.Robb@Dev-Core

	Multicast script delegate check for existing bindings replaced with ensure.
	Multicast native delegate no longer checks for existing bindings.
	Removal of old delegate code.
	Some FORCEINLINEing to improve debugging experience of stepping into delegate code.

Change 2782180 on 2015/11/27 by Graeme.Thornton@GThornton_DesktopMaster

	Make scoped seconds timer class available outside of stats build. Normal usage macros still remain guarded
	Added SCOPE_SECONDS_COUNTER_RECURSION_SAFE which only times during the outmost instance of a recursive function
	Added SCOPE_SECONDS_COUNTER_RECURSION_SAFE_BASE and SCOPE_SECONDS_COUNTER_BASE which are defined in all build types, for easy temporary timing in Test/Shipping builds.
	Added a boolean parameter to the timer class which can be used to disable it without having to mess around with scoping the calling code

Change 2782635 on 2015/11/30 by Graeme.Thornton@GThornton_DesktopMaster

	Added GetTimeStampPair() to the filemanager and platformfile interfaces. Requests timestamps for a pair of files where we assume that both files would always exist at the same wrapper level. Allows us to skip file system queries for localization package lookups where the native file is in a pak but the localized file doesn't exist.

Change 2775153 on 2015/11/20 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec

	CrashReportServer moved out of the not for licencees, a few fixes, removed RegisterPII

Change 2775560 on 2015/11/20 by Steve.Robb@Dev-Core

	FDelegateBase::GetDelegateInstance deprecated and replaced with FDelegateBase::GetDelegateInstanceProtected.

Change 2781138 on 2015/11/25 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec

	Stats - Converted is using a new stats reader, a few more optimizations, should be 10x times faster

Change 2772990 on 2015/11/19 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream2

	Fixing potential dead lock when suspending and resuming async loading multiple times

Change 2773023 on 2015/11/19 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream2

	Support for references added through AddReferencedObjects in FArchiveReplaceObjectRef

Change 2781055 on 2015/11/25 by Steve.Robb@Dev-Core

	Changes to IDelegateInstance reverted to allow licensees an easier time when upgrading their use of the now-deprecated GetDelegateInstance() code path.
	New TryGetBoundFunctionName() to aid the debugging of delegate bindings in non-shipping configs.

Change 2773114 on 2015/11/19 by Steve.Robb@Dev-Core

	FMath::IsPowerOfTwo is now templated to take any type.

Change 2773643 on 2015/11/19 by Steve.Robb@Dev-Core

	GetDelegateInstance() calls replaced - delegate instances never compare equal unless you are comparing two unbound delegates (both null) or comparing a delegate with itself.

Change 2777686 on 2015/11/23 by Steve.Robb@Dev-Core

	GitHub #1793 - File write flags argument

Change 2780590 on 2015/11/25 by Steve.Robb@Dev-Core

	Fix for FArchiveProxy::operator<< overloads.

Change 2780845 on 2015/11/25 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec

	#jira UE-23358 - MDD relies on hard-coded P4 depot paths (fixed source context for streams)

Change 2780962 on 2015/11/25 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec

	Stats - Added FStatsWriteStream for basic saving stat messages into a stream, initial support for reading a regular stats file, minor performance optimization, coding standard fixes

	#jira UECORE-170 - Improve profiler loading performance (wip)

Change 2781887 on 2015/11/26 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec

	Profiler/ProfilerClient - Removed unneeded synchronization points, replaces with task graph SendTo jobs, removed PROFILER_THREADED_LOAD, replaced with new stats loading mechanism,  should be around 2x times faster (4x since the optimization pass)

	#jira UECORE-170 - Improve profiler loading performance (wip)

Change 2781893 on 2015/11/26 by Steve.Robb@Dev-Core

	TCachedOSPageAllocator abstracted from MallocBinned2.
	Misc tidy-ups.

Change 2782198 on 2015/11/27 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec

	Profiler - Better indication of the loading progress, should no longer freeze without a progress bar

	#jira UECORE-170 - Improve profiler loading performance (wip)

Change 2782446 on 2015/11/29 by Steve.Robb@Dev-Core

	Warn when calling delegates' Create* functions when they're not assigned to anything.

	#codereview robert.manuszewski

Change 2782538 on 2015/11/30 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1

	#UE4 Removed DiskCachedAssetDataBuffer as it was not strictly necessary and was triggering a crash when loading the cached registry from disk. This data is now stored directly in DiskCachedAssetDataMap. It was already true that this map does not change outside of SerializeCache but now it is critical since NewCachedAssetDataMap keeps pointers directly to its values.

	Asset registry fixes by Bob Tellez. Possible fix for UE-23783.

Change 2782564 on 2015/11/30 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1

	FReferenceCollector::AddReferenceObjects performance improvements for TArrays. ARO will no longer call HandleObjectReference multiple times but instead will call HandleObjectReferences just once (currently only implemented for FGCCollector). Reduces the number of virtual function calls while GC'ing.

Change 2782716 on 2015/11/30 by Steve.Robb@Dev-Core

	UObject serial number array initialized for debug visualization.

Change 2782933 on 2015/11/30 by Steve.Robb@Dev-Core

	Critical sections are no longer copyable.

Change 2783061 on 2015/11/30 by Steve.Robb@Dev-Core
2015-12-03 14:21:29 -05:00
Robert Manuszewski
f9cdeb96cd Copying //UE4/Dev-Core to //UE4/Main
==========================
MAJOR FEATURES + CHANGES
==========================

Change 2717513 on 2015/10/06 by Robert.Manuszewski@Robert_Manuszewski_EGUK_M1

	GC and WeakObjectPtr performance optimizations.

	- Moved some of the EObjectFlags to EInternalObjectFlags and merged them with FUObjectArray
	- Moved WeakObjectPtr serial numbersto FUObjectArray
	- Added pre-allocated UObject array

Change 2716517 on 2015/10/05 by Robert.Manuszewski@Robert_Manuszewski_EGUK_M1

	Make SavePackage thread safe UObject-wise so that StaticFindObject etc can't run in parallel when packages are being saved.

Change 2721142 on 2015/10/08 by Mikolaj.Sieluzycki@Dev-Core_D0920

	UHT will now use makefiles to speed up iterative runs.

Change 2726320 on 2015/10/13 by Jaroslaw.Palczynski@jaroslaw.palczynski_D1732_2963

	Hot-reload performance optimizations:
	1. Got rid of redundant touched BPs optimization (which was necessary before major HR fixes submitted earlier).
	2. Parallelized search for old CDOs referencers.

Change 2759032 on 2015/11/09 by Graeme.Thornton@GThornton_DesktopMaster

	Dependency preloading improvements
	 - Asset registry dependencies now resolve asset redirectors
	 - Rearrange runtime loading to put dependency preloads within BeginLoad/EndLoad for the source package

Change 2754342 on 2015/11/04 by Robert.Manuszewski@Robert_Manuszewski_Stream1

	Allow UnfocusedVolumeMultiplier to be set programmatically

Change 2764008 on 2015/11/12 by Robert.Manuszewski@Robert_Manuszewski_Stream1

	When cooking, don't add imports that are outers of objects excluded from the current cook target.

Change 2755562 on 2015/11/05 by Steve.Robb@Dev-Core

	Inline storage for TFunction.
	Fix for delegate inline storage on Win64.
	Some build fixes.
	Visualizer fixes for new TFunction format.

Change 2735084 on 2015/10/20 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec

	CrashReporter Web - Search by Platform
	Added initial support for streams (GetBranchesAsListItems, CopyToJira)

Change 2762387 on 2015/11/11 by Steve.Robb@Dev-Core

	Unnecessary allocation removed when loading empty files in FFileHelper::LoadFileToString.

Change 2762632 on 2015/11/11 by Steve.Robb@Dev-Core

	Some TSet function optimisations:

	Avoiding unnecessary hashing of function arguments if the container is empty (rather than the hash being empty, which is not necessarily equivalent).
	Taking local copies of HashSize during iterations.

Change 2762936 on 2015/11/11 by Steve.Robb@Dev-Core

	BulkData zero byte allocations are now handled by an RAII object which owns the memory.

Change 2765758 on 2015/11/13 by Steve.Robb@Dev-Core

	FName::operator== and != optimised to be a single comparison.

Change 2757195 on 2015/11/06 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec

	PR #1305: Improvements in CrashReporter for Symbol Server usage (Contributed by bozaro)

Change 2760778 on 2015/11/10 by Jaroslaw.Surowiec@Stream.1.JarekSurowiec

	PR #1725: Fixed typos in ProfilerCommon.h; Added comments (Contributed by BGR360)

	Also fixed starting condition.

Change 2739804 on 2015/10/23 by Robert.Manuszewski@Robert_Manuszewski_Stream1

	PR #1470: [UObjectGlobals] Do not overwrite instanced subobjects with ones from CDO (Contributed by slonopotamus)

Change 2744733 on 2015/10/28 by Steve.Robb@Dev-Core

	PR #1540 - Specifying a different Saved folder at launch through a command line parameter

	Integrated and optimized.

#lockdown Nick.Penwarden

[CL 2772222 by Robert Manuszewski in Main branch]
2015-11-18 16:20:49 -05:00
Jaroslaw Palczynski
9703d22f63 Major HotReload fix.
[CL 2710850 by Jaroslaw Palczynski in Main branch]
2015-09-30 05:26:51 -04:00
Jaroslaw Palczynski
2c16d2b417 FStringAssetReference fixes.
All changes regarding e-mail discussion titled "Asset registry shenanigans".

Changes:
1. Engine now actively is getting rid of short asset paths in FStringAssetReference during saving (for all packages) and loading (only for older packages).
2. Deprecated direct access to FStringAssetReference.AssetLongPathname and exposed it via ToString and SetPath -- SetPath is making sure the path is in correct format. If the path can't be found on disk, the path is cleared.
3. Also access to FStringAssetReference.AssetLongPathnam via Blueprints is guarded using custom Make node function that uses SetPath instead of simple assign.
4. StringAssetReferenceMap will now contain only paths to packages (not objects) and ini references
5. GetDependencies now has additional parameter that lets you chose if it should resolve ini references or not. It was left not as default to keep old behaviour.

[CL 2630589 by Jaroslaw Palczynski in Main branch]
2015-07-23 10:49:29 -04:00
Jaroslaw Palczynski
c0ec175019 UE-5946: Cannot compile/save BP after hot reload
[CL 2627395 by Jaroslaw Palczynski in Main branch]
2015-07-21 10:33:15 -04:00
Jaroslaw Palczynski
029c933d47 UE-18307: Hot reloading with a plugin in the project prevents the project from being able to save.
#codereview Robert.Manuszewski

[CL 2618000 by Jaroslaw Palczynski in Main branch]
2015-07-13 07:30:06 -04:00
Jaroslaw Palczynski
f065239148 UE-15366: Hot-reload crashes if you try to change and reload a default subobject's class.
#codereview Robert.Manuszewski, Maciej.Mroz, Ben.Zeigler

[CL 2553253 by Jaroslaw Palczynski in Main branch]
2015-05-15 14:07:44 -04:00
Maciej Mroz
ee6d70dfa1 UE-13981 Input pins of BP node are not updated after a hot reload
#codereview Robert.Manuszewski

[CL 2525773 by Maciej Mroz in Main branch]
2015-04-25 16:18:36 -04:00
Mikolaj Sieluzycki
a96989f147 Add includes to files to remove the need of including Engine.h.
[CL 2508000 by Mikolaj Sieluzycki in Main branch]
2015-04-10 03:30:54 -04:00
Maciej Mroz
4ad81049dd UE-10163 If a custom code class is modified and a Hot Reload performed, any existing unsaved Blueprints derived from that class can no longer be saved.
References to hot-reloaded class are updated in blueprints (before recompiling and reinstancing).
I guess it could be optimized if necessary.

#codereview Robert.Manuszewski

[CL 2478024 by Maciej Mroz in Main branch]
2015-03-12 22:05:56 -04:00
Robert Manuszewski
1edd525fa1 Fixing hot-reload crashing when FStringAssetReference changes during hot-reload
[CL 2476721 by Robert Manuszewski in Main branch]
2015-03-12 09:27:03 -04:00
Robert Manuszewski
005749d028 Fixing ensures when performing hot-reload
#codereview maciej.mroz

[CL 2476709 by Robert Manuszewski in Main branch]
2015-03-12 09:15:15 -04:00
Maciej Mroz
2e71ac300c UE-8677 Adding a protected component to a class and performing a hot reload can crash the Editor if a Blueprint already exists that is derived from that class
Overriden Archetype for old CDO while hot reloading.

#codereview Robert.Manuszewski

[CL 2472887 by Maciej Mroz in Main branch]
2015-03-09 15:41:53 -04:00
Maciej Mroz
934d3ed529 UE-9030 Compiling a BP super class (with a child instance in the level) crashes with REINST class mismatch
All children classes are recompiled before any object is reinstanced.

#codereview Nick.Whiting, Robert.Manuszewski

[CL 2451921 by Maciej Mroz in Main branch]
2015-02-19 13:32:52 -05:00
Robert Manuszewski
b441d7111c Fixing another hot-reload crash: this time when removing code responsible for creating default subobject from the constructor without removing its property from the parent class.
[CL 2434985 by Robert Manuszewski in Main branch]
2015-02-06 02:46:08 -05:00
Robert Manuszewski
aca3d3b8cb Fix for hot-reload not working with Blueprints.
[CL 2431759 by Robert Manuszewski in Main branch]
2015-02-04 10:54:51 -05:00
Robert Manuszewski
fe1ae539c4 Fixing crash when performing hot-reload
[CL 2431697 by Robert Manuszewski in Main branch]
2015-02-04 10:13:13 -05:00
Robert Manuszewski
e07cdd1695 Fix for hot-reload not always detecting DSO changes in the constructor
[CL 2431528 by Robert Manuszewski in Main branch]
2015-02-04 06:43:42 -05:00
Robert Manuszewski
37d4f02451 Fixing hot-reload not updating values on DSO's properties.
UE-8067

[CL 2416765 by Robert Manuszewski in Main branch]
2015-01-23 08:34:49 -05:00
Robert Manuszewski
cb091bcd80 Hot-Reload improvements:
- CDO property values that have changed after hot-reload will now be propagated to the existing instances
- Adding code to a non-code project will no longer require restarting the editor to be able to work with new code (the new module will automatically be compiled and loaded)

[CL 2385307 by Robert Manuszewski in Main branch]
2014-12-11 06:03:58 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Robert Manuszewski
cb66628d7c Hot-Reload: Fixed infinite recursion when serializing CDOs when performing hot-reload
[CL 2344850 by Robert Manuszewski in Main branch]
2014-10-30 09:53:23 -04:00
Robert Manuszewski
99fe836a5a GC will no longer flush streaming and can be run while async loading. Removed GSerializedProperty.
[CL 2344848 by Robert Manuszewski in Main branch]
2014-10-30 09:52:57 -04:00