2016-12-08 08:52:44 -05:00
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
2014-03-14 14:13:41 -04:00
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3209340 on 2016/11/23 by Ben.Marsh
Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h.
Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms.
* Every header now includes everything it needs to compile.
* There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first.
* There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h.
* Every .cpp file includes its matching .h file first.
* This helps validate that each header is including everything it needs to compile.
* No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more.
* You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there.
* There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible.
* No engine code explicitly includes a precompiled header any more.
* We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies.
* PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files.
Tool used to generate this transform is at Engine\Source\Programs\IncludeTool.
[CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
# include "AssetRenameManager.h"
# include "Serialization/ArchiveUObject.h"
# include "UObject/Class.h"
# include "Misc/PackageName.h"
# include "Misc/MessageDialog.h"
# include "HAL/FileManager.h"
# include "Misc/FeedbackContext.h"
# include "Modules/ModuleManager.h"
# include "UObject/UObjectHash.h"
# include "UObject/UObjectIterator.h"
# include "UObject/UnrealType.h"
# include "Layout/Margin.h"
# include "Input/Reply.h"
# include "Widgets/DeclarativeSyntaxSupport.h"
# include "Widgets/SCompoundWidget.h"
# include "Widgets/SBoxPanel.h"
# include "Widgets/SWindow.h"
# include "Layout/WidgetPath.h"
# include "SlateOptMacros.h"
# include "Framework/Application/SlateApplication.h"
# include "Widgets/Layout/SBorder.h"
# include "Widgets/Text/STextBlock.h"
# include "Widgets/Input/SButton.h"
# include "Widgets/Views/STableViewBase.h"
# include "Widgets/Views/STableRow.h"
# include "Widgets/Views/SListView.h"
# include "EditorStyleSet.h"
# include "ISourceControlOperation.h"
# include "SourceControlOperations.h"
2014-03-14 14:13:41 -04:00
# include "ISourceControlModule.h"
# include "FileHelpers.h"
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3209340 on 2016/11/23 by Ben.Marsh
Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h.
Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms.
* Every header now includes everything it needs to compile.
* There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first.
* There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h.
* Every .cpp file includes its matching .h file first.
* This helps validate that each header is including everything it needs to compile.
* No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more.
* You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there.
* There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible.
* No engine code explicitly includes a precompiled header any more.
* We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies.
* PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files.
Tool used to generate this transform is at Engine\Source\Programs\IncludeTool.
[CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
# include "SDiscoveringAssetsDialog.h"
# include "AssetRegistryModule.h"
# include "CollectionManagerTypes.h"
# include "ICollectionManager.h"
# include "CollectionManagerModule.h"
2014-03-14 14:13:41 -04:00
# include "ObjectTools.h"
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3209340 on 2016/11/23 by Ben.Marsh
Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h.
Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms.
* Every header now includes everything it needs to compile.
* There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first.
* There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h.
* Every .cpp file includes its matching .h file first.
* This helps validate that each header is including everything it needs to compile.
* No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more.
* You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there.
* There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible.
* No engine code explicitly includes a precompiled header any more.
* We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies.
* PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files.
Tool used to generate this transform is at Engine\Source\Programs\IncludeTool.
[CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
# include "Interfaces/IMainFrameModule.h"
2015-09-08 07:46:32 -04:00
# include "Kismet2/KismetEditorUtilities.h"
Copying //UE4/Dev-Editor to //UE4/Dev-Main (Source: //UE4/Dev-Editor @ 3279756)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3229490 on 2016/12/09 by Cody.Albert
Integrated fix to support named changelists in SVN
Change 3229574 on 2016/12/09 by Simon.Tourangeau
Fix actor mobility getting changed on scene reimport
#jira UE-39102
Change 3229692 on 2016/12/09 by Cody.Albert
Fixing an XML Parser assert when parsing a root tag that completes on the same line.
#jira UE-30393
Change 3230582 on 2016/12/12 by Matt.Kuhlenschmidt
PR #3024: Correct the outdated error message instructions for how to fix being unable to launch on an iOS device. (Contributed by CleanCut)
Change 3231470 on 2016/12/12 by Matt.Kuhlenschmidt
Eliminate editor sounds that play when you PIE, simulate or possess the player. They get in the way of game sounds, are annoying to hear when you are constantly starting and stopping pie, and flush async loading that the game might be doing when they load.
Change 3231475 on 2016/12/12 by Alex.Delesky
#jira UE-39023 - Using the High Resolution screenshot tool with the "custom depth as mask" option checked should no longer crash the editor or a PIE viewport when the screen percentage is not set to 100.
Change 3231476 on 2016/12/12 by Alex.Delesky
#jira UE-39380 - Thumbnails for static meshes in the foliage paint mode window should now update to show the correct mesh if the thumbnail pool has been exhausted. This also increases the number of foliage thumbnals that can exist onscreen at once.
Change 3231477 on 2016/12/12 by Alex.Delesky
#jira none - Extending the IPluginWizardDefinition interface to allow it to return the descriptor type of the plugin. This fixes a merge conflict from Odin where the new plugin wizard was modified to allow for multiple template selection.
Change 3231479 on 2016/12/12 by Alex.Delesky
#jira UE-39376 - Changing the number of players or changing the dedicated server options in PIE settings should now always persist on editor shutdown.
Change 3231480 on 2016/12/12 by Alex.Delesky
#jira UE-39417 - A texture will now match to update a dropped in file if the source path differs from that of the dropped in file
Change 3231508 on 2016/12/12 by Alex.Delesky
Removing todo comment
#jira none
Change 3231603 on 2016/12/12 by Matt.Kuhlenschmidt
Exposed a 0-1 UV set and the scaled pixel size for Box and Border brushes
Also added a material function that exposes all of the current UV sets with nice names instead of indexed coordinates
Change 3231618 on 2016/12/12 by Alex.Delesky
#jira UE-38732 - When editing a spin box with a delta value, committing the value with the Enter key and then clearing the focus from the spin box will no longer change the internal value to match the snapped value.
Change 3231638 on 2016/12/12 by Matt.Kuhlenschmidt
Add RF_Transactional to the list of default flags for creating or importing new assets. All should be transactional by default
Change 3231642 on 2016/12/12 by Matt.Kuhlenschmidt
Brighten up the output log by default
Change 3231648 on 2016/12/12 by Alex.Delesky
#jira UE-38033 - Selecting a Named Slot that's part of a widget in a Widget Switcher will now show that widget instead of the widget at index 0. This also applies to any content set inside the named slot.
Change 3231666 on 2016/12/12 by Alex.Delesky
#jira UE-38952 - Widgets that have been copied and pasted into the same hierarchy will now retain the same name in the hierarchy. This does not fix widgets that have been previously copied and pasted from other widgets, nor copies of those widgets.
Change 3231674 on 2016/12/12 by Alex.Delesky
#jira UE-37106 - When using or simulating touch for Widget Components, the hover/clicked state will now be accurately determined rather than showing hover on initial touch.
Change 3231745 on 2016/12/12 by Alex.Delesky
Back out changelist 3231477 to fix build error C2259
Change 3232417 on 2016/12/13 by Simon.Tourangeau
Add the following attributes to the Editor.Usage.FBX.Import EngineAnalytics event
- FBX Version
- Filename Hash
- Import Type
#jira UE-37453
Change 3232477 on 2016/12/13 by Michael.Dupuis
#jira UE-39675 : There was an issue when the Neutral Value == the Min or Max value, so we simply prevent using the concept of neutral value if min or max == neutral as it mean you only want a log on one side.
Change 3232571 on 2016/12/13 by Alex.Delesky
Back out changelist 3231745
#jira none - Extending the IPluginWizardDefinition interface to allow it to return the descriptor type of the plugin. This fixes a merge conflict from Odin where the new plugin wizard was modified to allow for multiple template selection.
Change 3232675 on 2016/12/13 by Alexis.Matte
Fix a crash when reordering material with a fbx containing unused materials, add a fbx automation test to prevent similar issue.
#jira UE-39692
Change 3232975 on 2016/12/13 by Alex.Delesky
Fix to build error C2259 for the IPluginWizardDefinition API change.
Change 3233146 on 2016/12/13 by Michael.Dupuis
#jira UE-38766 : Added eye dropper to select flatten height
Fixed a rounding errors resulting in not flattening to the specified height
Fixed a rounding error resulting in LandscapeDataAccess::GetTexHeight not always returning the appropriate value
Change 3233153 on 2016/12/13 by Alexis.Matte
We cannot anymore change the instance override materials array topology, the topology is limited by the mesh materials array
#jira UE-38827
Change 3234406 on 2016/12/14 by Matt.Kuhlenschmidt
Fix window handle and device context being accessed by scene viewports after the underlying window has been destroyed by the OS. This is an invalid state on linux and using some vr devices.
#jira UE-7388
Change 3234485 on 2016/12/14 by Michael.Dupuis
tentative build fix for Mac
Change 3234495 on 2016/12/14 by Matt.Kuhlenschmidt
Made a setting to control if PIE enter and exit sounds are played. Off by default
Change 3236709 on 2016/12/15 by Simon.Tourangeau
Fix camera export rotation offset
#jira UE-34692
#jira UE-39740
Change 3236782 on 2016/12/15 by Jamie.Dale
Fixed EmitTermExpr failing to use the correct package ID
FBPTerminal::Source used to be set to the pin, however when pins were moved away from being UObjects, FBPTerminal::SourcePin was added and FBPTerminal::Source is typically null.
Change 3236853 on 2016/12/15 by Alexis.Matte
Fix the serialization of the staticmesh property FMeshSectionInfoMap
Change 3236890 on 2016/12/15 by Matt.Kuhlenschmidt
Remove old define
Change 3239328 on 2016/12/18 by Richard.TalbotWatkin
Fixed Focus Viewport action in Static Mesh Viewport. Problem was that the conversion to Orbit Camera for storing the camera position was trashing the desired position during cvamera transitions. Orbit camera position is now only stored at the end of a transition.
#jira UE-39825 - Key "F" for Focus acts Sporadically in the Static Mesh Editor Viewport
Change 3239660 on 2016/12/19 by Alex.Delesky
#jira UE-38968, UE-36826 - Components attached to actors can now be directly scaled to negative values using the transform gizmo for that component.
Change 3239662 on 2016/12/19 by Alex.Delesky
#jira UE-39007 - The data table row editor now contains a Reset to Default control.
Change 3239663 on 2016/12/19 by Alex.Delesky
#jira UE-39698 - Importing CSV files will now show the name of the file in the import dialog.
Change 3240696 on 2016/12/20 by Michael.Dupuis
#jira UETOOL-1009:
Added paddiing to columns view
Added auto resize of column when double clicking on splitter handle in the header
Remove right number alignment after discussion with Matt K.
Change 3240758 on 2016/12/20 by Michael.Dupuis
added missing non abstract implementation
Change 3240782 on 2016/12/20 by Michael.Dupuis
Added missing documentation for content browser column auto resizing
Change 3240817 on 2016/12/20 by Alex.Delesky
#jira UE-38940 - Copying a Material-Custom node with a tab character should now correctly render the tab.
Change 3240834 on 2016/12/20 by Michael.Dupuis
tentative fix for build error
Change 3240984 on 2016/12/20 by Michael.Dupuis
Removed unnecessary functions
Change 3241174 on 2016/12/20 by Matt.Kuhlenschmidt
Fix compile errors
Change 3241966 on 2016/12/21 by Chris.Wood
Fixed Typo and changed execution order in "ComboBoxString" Component
[UE-38994] - GitHub 2971 : Fixed Typo and changed execution order in "ComboBoxString" Component
PR #2971: Fixed Typo and changed execution order in "ComboBoxString" Component (Contributed by eXifreXi)
#github https://github.com/EpicGames/UnrealEngine/pull/2971
Change 3242126 on 2016/12/21 by Alexis.Matte
Back out changelist 3236853
We have to back out this change list because the change was implement in the 4.15 release branch and the EditorObjectVersion.h change is now implement in the ReleaseObjectVersion.h.
Change 3244492 on 2017/01/02 by Jamie.Dale
Improved error message
Change 3244545 on 2017/01/02 by Nick.Darnell
Navigation - Making it so we don't attempt to load HotReload during shutdown, we only access it if it's still loaded.
Change 3244549 on 2017/01/02 by Nick.Darnell
Slate - Implementing custom hardware cursor loading across Windows, Mac and Linux and supports loading cursors from PAK files. All platforms support loading PNGs through the FHardwareCursor interface. Some platforms support additional formats, for multiresolution support, but there's a naming convention that can be used on PNGs for the same capability. All of it is documented in the FHardwareCursor header. The platform layer for ICursor, now has support for replacing cursor shapes as an override, and can be reset safely.
The FHardwareCursor supports loading cursors from raw pixel buffers as well, the plan is to allow for the option to UTextures to also be used for hardware cursors.
Now users through C++ can load and replace the hardware cursors with custom ones of their own,
e.g. FSlateApplication::Get().RegisterCursor(EMouseCursor::Default, MakeShareable(new FHardwareCursor(FPaths::GameContentDir() / "Slate/FancyPointer", FIntPoint(0,0))));
The next step is to expose a game friendly layer that supports caching cursors, and letting users change them out by name, without a bunch of destruction of OS resources.
Change 3244845 on 2017/01/03 by Jamie.Dale
Fixing typo
#jira UE-39920
Change 3244903 on 2017/01/03 by Jamie.Dale
PR #3044: fix link error when FAssetData::PrintAssetData() is used in project (Contributed by kayama-shift)
Change 3245125 on 2017/01/03 by Alexis.Matte
Put back the dev-editor version because there was some data create before we back it out
Change 3246106 on 2017/01/04 by Chris.Wood
Removed broken CrashReportReciever pre-upload phase from CrashReportClient.
[UE-40153] - CrashReportClient fails when used in legacy mode with a CrashReportReciever
Change 3246251 on 2017/01/04 by Alex.Delesky
#jira UE-39869 - Moving an asset before saving it and then hitting Save All from the file menu will no longer save the asset in its original location.
Change 3246252 on 2017/01/04 by Alex.Delesky
#jira UE-39793 - Fixes an issue with the AutoReimporter where specifying a non-existent mount point (a directory in the content browser) would cause a crash when attempting to auto-import an asset from a monitored directory, as well as ensuring that valid mount points will be able to create new assets from auto-import.
The "Map Directory To" field when setting directories to monitor for auto-reimport has also been changed to use the content browser path picker instead of relying on the user to manually enter a mount point.
Change 3247620 on 2017/01/05 by Nick.Darnell
Automation - Removing an adjustment to the number of shots we take for high res shots.
Change 3247621 on 2017/01/05 by Nick.Darnell
Automation - Adding a few more rendering tests to the cornell box.
Change 3247629 on 2017/01/05 by Nick.Darnell
Automation - Improving the comparison row display for screenshots so it's obvious what each image represents.
Change 3248811 on 2017/01/05 by Matt.Kuhlenschmidt
PR #3091: Removed unnecessary UPackage casts (Contributed by projectgheist)
Change 3248860 on 2017/01/06 by Matt.Kuhlenschmidt
Made the plugin browser select the "built in" category by default instead of the 2D category. There is no reason for a sub-category to be selected first as it makes searching for plugins globally an extra click because you have to click on the base category first
Change 3249264 on 2017/01/06 by Matt.Kuhlenschmidt
Fixed automation test warnings
#jira UE-40198
Change 3249481 on 2017/01/06 by Michael.Dupuis
#jira UE-37875 : Fill empty layers of components on assignation or creation
Also fill new component added with the tool from neighbours predominance
Change 3249505 on 2017/01/06 by Matt.Kuhlenschmidt
PR #3093: Include guard cleanup (Contributed by projectgheist)
Change 3249544 on 2017/01/06 by Michael.Dupuis
#jira UE-40299: validate if UISettings is valid
Change 3250738 on 2017/01/09 by Nick.Darnell
UMG - The WIC now checks if the Widget is enabled before it claims that it's over an interactable or keyboard focusable widget.
#jira UE-39845
Change 3250865 on 2017/01/09 by Nick.Darnell
Slate - Updating EAutoCenter and ESizingRule to use the newer enum class style enums.
Change 3250867 on 2017/01/09 by Nick.Darnell
Slate - Adding more logging to the hardware cursor code so that it reports more information when it doesn't find an exact match when it comes to cursor size.
Change 3250936 on 2017/01/09 by Nick.Darnell
Automation - Refactoring the screenshot comparison tool to no longer require one one generated report. Doing screenshot comparions now generates individual reports for each failed comparison so that they can be evaluated in bits, and as changes occur as the user reviews aspects, we can remove the reports. There is now async image loading for the comparison view so that it doesn't hitch.
Change 3250937 on 2017/01/09 by Nick.Darnell
Automation - Adding another example to the CornellBox test.
Change 3250958 on 2017/01/09 by Nick.Darnell
Slate - Fixing some other cases where people were referring to ESizingRule::Type.
Change 3251162 on 2017/01/09 by Nick.Darnell
Slate - Fixing some other cases where people were referring to ESizingRule::Type.
Change 3251254 on 2017/01/09 by Matt.Kuhlenschmidt
Attempt to fix static analysis warnings
Change 3251373 on 2017/01/09 by Nick.Darnell
Core - Now writing a log warning instead of ensuring if calling LoadModule wouldn't have been safe to do here, depending on load order.
Change 3251525 on 2017/01/09 by Nick.Darnell
Automation - Fixing a build issue in ImageComparer.
Change 3252321 on 2017/01/10 by Alex.Delesky
#jira UE-40164 - Importing multiple files to overwrite existing assets such as sounds will now correctly persist the "Yes to All" / "No to All" dialog selections.
Change 3252354 on 2017/01/10 by Nick.Darnell
Image Compare - Fixing a potential threading hazard in the image comparer.
Change 3252356 on 2017/01/10 by Nick.Darnell
Automation - The screenshot metadata now captures the commit/CL that the screenshot was taken at and records it in the metadata.
Change 3252601 on 2017/01/10 by Alexis.Matte
Fbx automation test, reload feature implementation
Change 3252761 on 2017/01/10 by Jamie.Dale
Fixing some IWYU errors with PCH disabled
Change 3252765 on 2017/01/10 by Jamie.Dale
Fixing some static analysis warnings
Change 3252793 on 2017/01/10 by Jamie.Dale
Fixing FText natvis
The text data visualizers have to be defined before the text visualizer
Change 3253987 on 2017/01/11 by Matt.Kuhlenschmidt
PR #3108: Git Plugin: use asynchronous "MarkForAdd" and "CheckIn" operations for the initial commit (Contributed by SRombauts)
Change 3254378 on 2017/01/11 by Matt.Kuhlenschmidt
Refactor scene importing to allow for plugins to make scene importers
Change 3254679 on 2017/01/11 by Matt.Kuhlenschmidt
Fix calling LoadModule in perforce source control off the main thread
Change 3256472 on 2017/01/12 by Jamie.Dale
Improved error reporting from IncludeTool
- The error reporting was using zero-based line indices which was misleading.
- The error reporting now includes the offending line to remove ambiguity.
Change 3256725 on 2017/01/13 by Jamie.Dale
IncludeTool can now parse typedef in Fwd headers
Change 3256758 on 2017/01/13 by Jamie.Dale
Added support for String Tables
String Tables provide a way to centralize your localized text into one (or several) known locations, and then reference the entries within a string table from other assets or code in a robust way that allows for easy re-use of localized text.
String Tables can be defined in C++ (using the LOCTABLE family of macros), loaded via CSV file, or created as an asset. They can be referenced in C++ using either the LOCTABLE macro, or the static FText::FromStringTable function. INI files can reference them using the LOCTABLE macro syntax, and FText properties in assets can reference them via the advanced settings combo.
Change 3257018 on 2017/01/13 by Alexis.Matte
FbxAutomationTest fix the import reload operation, it was calling garbagecollect with no keep flag
Change 3257168 on 2017/01/13 by Jamie.Dale
Removed code that was writing null into bytecode during save
Change 3257344 on 2017/01/13 by Jamie.Dale
Backing out changelist 3256725, and excluding my header from the scan instead
Change 3257426 on 2017/01/13 by Nick.Darnell
Slate - Adding the ability to invert alpha when drawing slate textures. Going to be used in the future for rendering render targets for the scene which have inverted alpha.
Change 3257572 on 2017/01/13 by Nick.Darnell
Slate - Fixing a build error.
Change 3257970 on 2017/01/14 by Jamie.Dale
Fixing exclude path
Change 3258458 on 2017/01/16 by Matt.Kuhlenschmidt
PR #3135: GameViewportClient: FOnCloseRequested is now a multicast delegate (Contributed by Nadrin)
Change 3258472 on 2017/01/16 by Matt.Kuhlenschmidt
PR #3126: Fix to load editor style assets (Contributed by projectgheist)
Change 3258473 on 2017/01/16 by Matt.Kuhlenschmidt
PR #3124: Fix wrong result with Image-DrawAsBox with PaperSprite. (Contributed by valval88)
Change 3258539 on 2017/01/16 by Nick.Darnell
Slate - Pixel Snapping has been moved to the GPU for the RHI rendering policy. Additionally, widgets with a render transform of Scale, Rotation or Sheer, and their children are no longer pixel snapped, this should reduce some of jittering seen by users when animations are applied to widgets. NOTE: This only affects render transforms, any transform in layout space is still subject to pixel snapping.
Change 3258607 on 2017/01/16 by Nick.Darnell
Fixing the mac build.
Change 3258661 on 2017/01/16 by Matt.Kuhlenschmidt
Actors with experimental components no longer say
"Uses experimental class: Actor" when selecting the actor root in the details panel
#jira UE-40535
Change 3258678 on 2017/01/16 by Nick.Darnell
Platform - Introducing a way to get the mimetype for a file on Windows. Other platforms don't yet have an implementation outside of returning application/unknown.
Change 3258924 on 2017/01/16 by Nick.Darnell
Platform - Implementing a fallback for the generic platform http, that can do some basic mimetype lookups.
Change 3258929 on 2017/01/16 by Nick.Darnell
UMG - Fixing the animation to finish the evaluation before it notifies that the animation completed.
Change 3259109 on 2017/01/16 by Nick.Darnell
Platform - The GetMimeType function now only takes in FilePath, since some platforms will require that actually resolve to a file on disk in order to determine the true mimetype.
Change 3259111 on 2017/01/16 by Alexis.Matte
Avoid to move the camera when we re-import in the static mesh editor
#jira UE-40613
Change 3259275 on 2017/01/16 by Matt.Kuhlenschmidt
Fix crash when a slate window is resized and calls into a scene viewport during loading code when the scene viewport is not in a slate hierarchy and thus has no widget
Change 3259300 on 2017/01/16 by Nick.Darnell
UMG - Introducing PreConstruct and NativePreConstruct to the base UUserWidget. Users can now visualize non-binding based changes in the designer by evaluating a very limited amount of the blueprint code. In the event your user widget crashes on load, due to calling something unsafe, you can disable evaluation in the editor preferences under Widget Designer.
Change 3259306 on 2017/01/16 by Nick.Darnell
Games - Removing the Game Specific implementations of PreConstruct.
Change 3260182 on 2017/01/17 by Matt.Kuhlenschmidt
Fix static analysis
Change 3261049 on 2017/01/17 by Nick.Darnell
Slate - Putting in some fixes for the non-gpu pixel snapping mode, and disabling gpu snapping while we dig into why it looks weird.
Change 3261434 on 2017/01/17 by Nick.Darnell
Fixing the mac build.
Change 3261435 on 2017/01/17 by Nick.Darnell
Slate - Tweaking some aspects of the slate rounding code on the GPU. There's still some precision loss somewhere causing subtle differences in where the snap occurs, that's different from previously.
Change 3261460 on 2017/01/17 by Nick.Darnell
UMG - Tweaking the defintiions of NativePreConstruct, dropping passing in design time since that is readily available in native code.
Change 3261833 on 2017/01/18 by Alexis.Matte
Fix all warning for fbx automation tests
#jira UE-40208
Change 3261874 on 2017/01/18 by Matt.Kuhlenschmidt
PR #3136: Fix Submit to Source Control Window for Git plugin : use CanCheckIn() to filter out unmodified assets files (Contributed by SRombauts)
Change 3262000 on 2017/01/18 by Jamie.Dale
Updated Slate to allocate widgets using MakeShared
This saves one allocation per-widget
Change 3262003 on 2017/01/18 by Nick.Darnell
UMG - Widget Interaction Components now ignore Visible(false) Widget Components when tracing.
#jira UE-40523
Change 3262052 on 2017/01/18 by Alexis.Matte
Put back the staticmesh skinxx workflow
#jira UE-40782
Change 3262775 on 2017/01/18 by Nick.Darnell
Slate - Ditching moving vertex rounding to the GPU, some precision issues could not be overcome. Ended up writing a clean way to implement it on the CPU.
Change 3262818 on 2017/01/18 by Alex.Delesky
#jira UE-40668 - Editor preferences will now save for data pin styles
Change 3263679 on 2017/01/19 by Nick.Darnell
Slate - Adding some comments to the Slate Vertex Rounder.
Change 3265154 on 2017/01/19 by Nick.Darnell
Slate/UMG - Putting in some more time into pixel snapping. I've re-introduced the old constructors, and decided to go with the templated approach, as to not break old code that relied on the FSlateVertex working a certain way.
Change 3265478 on 2017/01/20 by Chris.Wood
Added config support for hang detection time and switching hang detection on/off in UnrealWatchdog
[UE-40838] - Make hang time configurable and increase default in UnrealWatchdog
Change 3265600 on 2017/01/20 by Nick.Darnell
Slate - Making some const local variables const.
Change 3265714 on 2017/01/20 by Alex.Delesky
#jira UE-40791 - The ForceFeedback thumbnail's Play and Stop icons will now render correctly, and will only be visible while an effect is playing or when the cursor hovers over the icon.
Change 3265865 on 2017/01/20 by Alex.Delesky
#jira UE-40511 - The Content Browser file path will now update when inside a folder that is deleted from the Sources Panel.
Change 3267989 on 2017/01/23 by Jamie.Dale
Exposed String Tables to Blueprints
Change 3268018 on 2017/01/23 by Jamie.Dale
Small API clean-up for string tables
Change 3268455 on 2017/01/23 by Matt.Kuhlenschmidt
Fix SaveAs (Which says SaveCurrentAs) not saving the current level and only saving the persistent level and then reloading everything thus causing work to be lost if editing a sub-level
#jira UE-40930
Change 3269388 on 2017/01/24 by Chris.Wood
Refactored tick timing in UnrealWatchdog to stop bug where it doesn't close.
[UE-40839] - UnrealWatchdog running and blocking use of Unreal Game Sync for internal users
Standalone tool code only - doesn't touch engine
Change 3270205 on 2017/01/24 by Cody.Albert
Updated FUnrealEdMisc::OnMessageTokenActivated to properly traverse up the outer hierarchy of an object.
Change 3270231 on 2017/01/24 by Cody.Albert
Renamed and exposed GetFullScreenAlignment and GetViewportAnchors for consistency with the setters
Change 3271734 on 2017/01/25 by Michael.Dupuis
#jira UE-38631
Add sorting for landscape target layer, user can now sort alphabetical, material based or custom
Added a new vertical box SDragNDropVerticalBox to handle drag & drop of FSlot
Fixed SDropTarget to only consider the drop action if it was started by it
Added visibility toggle to only show used layers in the currently loaded data
Change 3271797 on 2017/01/25 by Jamie.Dale
Renamed HasBeenAlreadyMadeSharable to DoesSharedInstanceExist as the old name was nonsense
Change 3271813 on 2017/01/25 by Jamie.Dale
Fixed bad access of a shared this during widget destruction when a context menu was open
Change 3271988 on 2017/01/25 by Nick.Darnell
Slate - Removing some old checkbox deprecated code from the 4.3 and 4.6 days.
Change 3271992 on 2017/01/25 by Nick.Darnell
Blueprints - Making the checked call better to log out more information when dragging and dropping a missing property.
Change 3272134 on 2017/01/25 by Jamie.Dale
Updated the GatherText commandlet to no longer hold a ConfigFile pointer while it runs
This pointer is internal to GConfig, and may be updated (or invalidated) when other config files are loaded (as can happen via game code while gathering text).
Change 3272301 on 2017/01/25 by Nick.Darnell
Slate - More cleanup from the removal of a old legacy enum that people were still using.
Change 3273070 on 2017/01/26 by Chris.Wood
Fix CIS errors in landscape code from CL 3271734
Change 3273123 on 2017/01/26 by Chris.Wood
Fix crash during init of CRC when running packaged without access to main engine config hierarchy.
Change 3273194 on 2017/01/26 by Nick.Darnell
Fixing some build warnings.
Change 3273242 on 2017/01/26 by Michael.Dupuis
#jira UE-39948 : if we detect there is multiple levels in the current persistent when we add a new foliage asset we ask to save the foliage as an asset to permit paiting over multiple levels
Change 3273279 on 2017/01/26 by Jamie.Dale
String Table INI redirects are now in the "Core.StringTable" section (rather than "/Script/Engine.Engine")
Change 3273483 on 2017/01/26 by Alex.Delesky
#jira UE-32047 - Made changes to the FixupRedirects commandlet to ensure that files that are marked for delete are moved from the default changelist to the pending changelist and submitted when using Perforce.
Also makes a slight change to the ResavePackages commandlet to submit files marked for delete.
Change 3273568 on 2017/01/26 by Alex.Delesky
Modifying changes made to SPluginWizard to have the plugin loading phase determined by the wizard's definition rather than from the first selected template.
#jira none
Change 3273855 on 2017/01/26 by Alex.Delesky
#jira UE-41117 - Updating the tooltip on the "Allow Paint of all LODs" option for mesh paint mode.
Change 3274200 on 2017/01/26 by Alex.Delesky
For IPluginWizardDefinition, temporarily adding function bodies to two methods instead of having them be pure virtual methods.
Change 3274317 on 2017/01/26 by Jamie.Dale
Deleting a seemingly corrupted asset that was accidentially submitted
Change 3275072 on 2017/01/27 by Michael.Dupuis
#jira UE-38631 tweaks
Fix typo error
Iterate all components, not only active one
Force expand the Target Layers widget
Change 3275249 on 2017/01/27 by Alexis.Matte
Color grading controls: Keep the vector ratio when changing the master slider
#jira UETOOL-1098
Change 3275282 on 2017/01/27 by Alexis.Matte
Color grading controls: Cosmetic changes
#jira UETOOL-1099
Change 3275292 on 2017/01/27 by Alexis.Matte
Make sure the build is called once when we import a staticmesh.
#jira UE-40947
Change 3275430 on 2017/01/27 by Alexis.Matte
Add some fbx automation tests
- Import a mesh with no material
- Import corrupted asset with no section in a LOD
- Import morph targets
- Materials name clash
- Max Multimap material ordering
Change 3275683 on 2017/01/27 by Michael.Dupuis
#jira UE-41215 : when saving an asset do not register the transaction, and make sure that the duplicate wont keep a copy in the transaction buffer as an asset can't be undo
Change 3276237 on 2017/01/27 by Jamie.Dale
Deleting a seemingly corrupted asset that was accidentially submitted
Change 3276266 on 2017/01/27 by Jamie.Dale
Fix for accessing a potentially null pointer
Change 3277065 on 2017/01/30 by Chris.Wood
Move crash report temp files to saved config and cleanup on schedule.
[UE-39506] - CrashReportClient ini folders are not cleaned when opening the editor
Change 3277236 on 2017/01/30 by Matt.Kuhlenschmidt
Fix crash when cancelling SaveCurrentLevelAs
#jira UE-41182
Change 3277409 on 2017/01/30 by Jamie.Dale
Improved text rendering when the last resort font is missing
The last resort font is no longer included in shipping builds, so this change makes some improvements to text rendering when it's missing.
- The legacy font cache no longer tries to use the last resort font if it's not available (preventing warnings).
- The Slate font renderer no longer tries to use the last resort font if it's not available.
- Text shaping will use the last resort character if none of the available fonts can render a given character (likely because the last resort font is missing).
- HarfBuzz shaped text now uses the fallback character correctly.
Change 3277749 on 2017/01/30 by Nick.Darnell
Slate - Moving ESlateDrawEffect & ESlateBatchDrawFlag over to be enum class, found cases where users were improperly assuming the enum order, and so now it won't be possible to just treat an int32 or a bool as the draw effect value.
Core - Adding EnumHasAllFlags and EnumHasAnyFlags, templated functions to make it easier to check for the existance of a flag on enum classes.
Change 3277805 on 2017/01/30 by Nick.Darnell
Rendering - Changing some LoadModuleChecked calls to GetModuleChecked, as these calls are not happening on the main thread and are not safe to make.
Change 3277914 on 2017/01/30 by Matt.Kuhlenschmidt
Fix Niagara slate style warning on startup
Change 3278058 on 2017/01/30 by Matt.Kuhlenschmidt
Fixed compile error
Change 3278132 on 2017/01/30 by Nick.Darnell
Fixed compile error
Change 3278133 on 2017/01/30 by Matt.Kuhlenschmidt
Fixed compile errors
Change 3278186 on 2017/01/30 by Nick.Darnell
Fixed compile error
Change 3278525 on 2017/01/30 by Nick.Darnell
Fixed compile error
Change 3278534 on 2017/01/30 by Nick.Darnell
Automation - Clearing up several warnings/errors with automation results, trying to get Automation Tests to at least yellow before integration.
Change 3278941 on 2017/01/31 by Nick.Darnell
Fixing a build warning due to build team refactor.
Change 3278949 on 2017/01/31 by Nick.Darnell
Fixing incrmenetal build issues.
Change 3278953 on 2017/01/31 by Nick.Darnell
Fixing some incrmental linux build issues.
Change 3278964 on 2017/01/31 by Nick.Darnell
FIxing more incremental build issues.
Change 3279256 on 2017/01/31 by Michael.Dupuis
#jira UE-41319
#jira UE-41315
#jira UE-41316
Instead of getting the Landscape Actor, call GetLandscapeProxy so all case are handled, either proxy or landscape actor
Change 3279270 on 2017/01/31 by Chad.Garyet
re-updating the automation test pool
[CL 3279775 by Matt Kuhlenschmidt in Main branch]
2017-01-31 15:22:49 -05:00
# include "Kismet2/BlueprintEditorUtils.h"
2014-03-14 14:13:41 -04:00
# define LOCTEXT_NAMESPACE "AssetRenameManager"
struct FAssetRenameDataWithReferencers : public FAssetRenameData
{
TArray < FName > ReferencingPackageNames ;
FText FailureReason ;
bool bCreateRedirector ;
bool bRenameFailed ;
FAssetRenameDataWithReferencers ( const FAssetRenameData & InRenameData )
: FAssetRenameData ( InRenameData )
, bCreateRedirector ( false )
, bRenameFailed ( false )
{ }
} ;
class SRenameFailures : public SCompoundWidget
{
public :
SLATE_BEGIN_ARGS ( SRenameFailures ) { }
SLATE_ARGUMENT ( TArray < FText > , FailedRenames )
SLATE_END_ARGS ( )
BEGIN_SLATE_FUNCTION_BUILD_OPTIMIZATION
void Construct ( const FArguments & InArgs )
{
for ( auto RenameIt = InArgs . _FailedRenames . CreateConstIterator ( ) ; RenameIt ; + + RenameIt )
{
FailedRenames . Add ( MakeShareable ( new FText ( * RenameIt ) ) ) ;
}
ChildSlot
[
SNew ( SBorder )
. BorderImage ( FEditorStyle : : GetBrush ( " Docking.Tab.ContentAreaBrush " ) )
. Padding ( FMargin ( 4 , 8 , 4 , 4 ) )
[
SNew ( SVerticalBox )
// Title text
+ SVerticalBox : : Slot ( )
. AutoHeight ( )
[
SNew ( STextBlock ) . Text ( LOCTEXT ( " RenameFailureTitle " , " The following assets could not be renamed. " ) )
]
// Failure list
+ SVerticalBox : : Slot ( )
. Padding ( 0 , 8 )
. FillHeight ( 1.f )
[
SNew ( SBorder )
. BorderImage ( FEditorStyle : : GetBrush ( " ToolPanel.GroupBorder " ) )
[
SNew ( SListView < TSharedRef < FText > > )
. ListItemsSource ( & FailedRenames )
. SelectionMode ( ESelectionMode : : None )
. OnGenerateRow ( this , & SRenameFailures : : MakeListViewWidget )
]
]
// Close button
+ SVerticalBox : : Slot ( )
. AutoHeight ( )
. Padding ( 0 , 4 )
. HAlign ( HAlign_Right )
[
SNew ( SButton )
. OnClicked ( this , & SRenameFailures : : CloseClicked )
. Text ( LOCTEXT ( " RenameFailuresCloseButton " , " Close " ) )
]
]
] ;
}
END_SLATE_FUNCTION_BUILD_OPTIMIZATION
static void OpenRenameFailuresDialog ( const TArray < FText > & InFailedRenames )
{
TSharedRef < SWindow > RenameWindow = SNew ( SWindow )
. Title ( LOCTEXT ( " FailedRenamesDialog " , " Failed Renames " ) )
. ClientSize ( FVector2D ( 800 , 400 ) )
. SupportsMaximize ( false )
. SupportsMinimize ( false )
[
SNew ( SRenameFailures ) . FailedRenames ( InFailedRenames )
] ;
IMainFrameModule & MainFrameModule = FModuleManager : : LoadModuleChecked < IMainFrameModule > ( TEXT ( " MainFrame " ) ) ;
if ( MainFrameModule . GetParentWindow ( ) . IsValid ( ) )
{
FSlateApplication : : Get ( ) . AddWindowAsNativeChild ( RenameWindow , MainFrameModule . GetParentWindow ( ) . ToSharedRef ( ) ) ;
}
else
{
FSlateApplication : : Get ( ) . AddWindow ( RenameWindow ) ;
}
}
private :
TSharedRef < ITableRow > MakeListViewWidget ( TSharedRef < FText > Item , const TSharedRef < STableViewBase > & OwnerTable )
{
return
SNew ( STableRow < TSharedRef < FText > > , OwnerTable )
[
SNew ( STextBlock ) . Text ( Item . Get ( ) )
] ;
}
FReply CloseClicked ( )
{
FWidgetPath WidgetPath ;
TSharedPtr < SWindow > Window = FSlateApplication : : Get ( ) . FindWidgetWindow ( AsShared ( ) , WidgetPath ) ;
if ( Window . IsValid ( ) )
{
Window - > RequestDestroyWindow ( ) ;
}
return FReply : : Handled ( ) ;
}
private :
TArray < TSharedRef < FText > > FailedRenames ;
} ;
///////////////////////////
// FAssetRenameManager
///////////////////////////
void FAssetRenameManager : : RenameAssets ( const TArray < FAssetRenameData > & AssetsAndNames ) const
{
// If the asset registry is still loading assets, we cant check for referencers, so we must open the rename dialog
FAssetRegistryModule & AssetRegistryModule = FModuleManager : : LoadModuleChecked < FAssetRegistryModule > ( " AssetRegistry " ) ;
if ( AssetRegistryModule . Get ( ) . IsLoadingAssets ( ) )
{
// Open a dialog asking the user to wait while assets are being discovered
SDiscoveringAssetsDialog : : OpenDiscoveringAssetsDialog (
2015-04-10 06:55:02 -04:00
SDiscoveringAssetsDialog : : FOnAssetsDiscovered : : CreateSP ( this , & FAssetRenameManager : : FixReferencesAndRename , AssetsAndNames )
2014-03-14 14:13:41 -04:00
) ;
}
else
{
// No need to wait, attempt to fix references and rename now.
2015-04-10 06:55:02 -04:00
FixReferencesAndRename ( AssetsAndNames ) ;
2014-03-14 14:13:41 -04:00
}
}
2015-04-10 06:55:02 -04:00
void FAssetRenameManager : : FixReferencesAndRename ( TArray < FAssetRenameData > AssetsAndNames ) const
2014-03-14 14:13:41 -04:00
{
2015-04-10 06:55:02 -04:00
// Prep a list of assets to rename with an extra boolean to determine if they should leave a redirector or not
TArray < FAssetRenameDataWithReferencers > AssetsToRename ;
AssetsToRename . Reset ( AssetsAndNames . Num ( ) ) ;
2015-06-26 13:13:02 -04:00
for ( const FAssetRenameData & AssetRenameData : AssetsAndNames )
2015-04-10 06:55:02 -04:00
{
2015-06-26 13:13:02 -04:00
AssetsToRename . Emplace ( FAssetRenameDataWithReferencers ( AssetRenameData ) ) ;
2015-04-10 06:55:02 -04:00
}
2014-03-14 14:13:41 -04:00
// Warn the user if they are about to rename an asset that is referenced by a CDO
auto CDOAssets = FindCDOReferencedAssets ( AssetsToRename ) ;
// Warn the user if there were any references
if ( CDOAssets . Num ( ) )
{
FString AssetNames ;
for ( auto AssetIt = CDOAssets . CreateConstIterator ( ) ; AssetIt ; + + AssetIt )
{
UObject * Asset = ( * AssetIt ) . Get ( ) ;
if ( Asset )
{
AssetNames + = FString ( " \n " ) + Asset - > GetName ( ) ;
}
}
const FText MessageText = FText : : Format ( LOCTEXT ( " RenameCDOReferences " , " The following assets are referenced by one or more Class Default Objects: \n {0} \n \n Continuing with the rename may require code changes to fix these references. Do you wish to continue? " ) , FText : : FromString ( AssetNames ) ) ;
if ( FMessageDialog : : Open ( EAppMsgType : : YesNo , MessageText ) = = EAppReturnType : : No )
{
return ;
}
}
// Fill out the referencers for the assets we are renaming
PopulateAssetReferencers ( AssetsToRename ) ;
// Update the source control state for the packages containing the assets we are renaming if source control is enabled. If source control is enabled and this fails we can not continue.
if ( UpdatePackageStatus ( AssetsToRename ) )
{
2015-06-26 13:13:02 -04:00
// Detect whether the assets are being referenced by a collection. Assets within a collection must leave a redirector to avoid the collection losing its references.
DetectReferencingCollections ( AssetsToRename ) ;
2014-03-14 14:13:41 -04:00
// Load all referencing packages and mark any assets that must have redirectors.
TArray < UPackage * > ReferencingPackagesToSave ;
LoadReferencingPackages ( AssetsToRename , ReferencingPackagesToSave ) ;
2014-10-14 10:33:22 -04:00
// Prompt to check out source package and all referencing packages, leave redirectors for assets referenced by packages that are not checked out and remove those packages from the save list.
const bool bUserAcceptedCheckout = CheckOutPackages ( AssetsToRename , ReferencingPackagesToSave ) ;
2014-03-14 14:13:41 -04:00
if ( bUserAcceptedCheckout )
{
// If any referencing packages are left read-only, the checkout failed or SCC was not enabled. Trim them from the save list and leave redirectors.
DetectReadOnlyPackages ( AssetsToRename , ReferencingPackagesToSave ) ;
// Perform the rename, leaving redirectors only for assets which need them
PerformAssetRename ( AssetsToRename ) ;
// Save all packages that were referencing any of the assets that were moved without redirectors
SaveReferencingPackages ( ReferencingPackagesToSave ) ;
2015-04-10 06:55:02 -04:00
// Issue post rename event
AssetPostRenameEvent . Broadcast ( AssetsAndNames ) ;
2014-03-14 14:13:41 -04:00
}
}
2014-10-14 10:33:22 -04:00
// Finally, report any failures that happened during the rename
ReportFailures ( AssetsToRename ) ;
2014-03-14 14:13:41 -04:00
}
TArray < TWeakObjectPtr < UObject > > FAssetRenameManager : : FindCDOReferencedAssets ( const TArray < FAssetRenameDataWithReferencers > & AssetsToRename ) const
{
TArray < TWeakObjectPtr < UObject > > CDOAssets , LocalAssetsToRename ;
for ( auto AssetIt = AssetsToRename . CreateConstIterator ( ) ; AssetIt ; + + AssetIt )
{
LocalAssetsToRename . Push ( ( * AssetIt ) . Asset ) ;
}
// Run over all CDOs and check for any references to the assets
for ( TObjectIterator < UClass > ClassDefaultObjectIt ; ClassDefaultObjectIt ; + + ClassDefaultObjectIt )
{
UClass * Cls = ( * ClassDefaultObjectIt ) ;
UObject * CDO = Cls - > ClassDefaultObject ;
2014-04-30 17:34:38 -04:00
if ( ! CDO | | ! CDO - > HasAllFlags ( RF_ClassDefaultObject ) | | Cls - > ClassGeneratedBy ! = NULL )
2014-03-14 14:13:41 -04:00
{
2015-09-08 07:46:32 -04:00
continue ;
}
// Ignore deprecated and temporary trash classes.
if ( Cls - > HasAnyClassFlags ( CLASS_Deprecated | CLASS_NewerVersionExists ) | | FKismetEditorUtilities : : IsClassABlueprintSkeleton ( Cls ) )
{
2014-03-14 14:13:41 -04:00
continue ;
}
for ( TFieldIterator < UObjectProperty > PropertyIt ( Cls ) ; PropertyIt ; + + PropertyIt )
{
const UObject * Object = PropertyIt - > GetPropertyValue ( PropertyIt - > ContainerPtrToValuePtr < UObject > ( CDO ) ) ;
for ( auto AssetIt = LocalAssetsToRename . CreateConstIterator ( ) ; AssetIt ; + + AssetIt )
{
auto Asset = * AssetIt ;
if ( Object = = Asset . Get ( ) )
{
CDOAssets . Push ( Asset ) ;
LocalAssetsToRename . Remove ( Asset ) ;
if ( LocalAssetsToRename . Num ( ) = = 0 )
{
// No more assets to check
return MoveTemp ( CDOAssets ) ;
}
else
{
break ;
}
}
}
}
}
return MoveTemp ( CDOAssets ) ;
}
void FAssetRenameManager : : PopulateAssetReferencers ( TArray < FAssetRenameDataWithReferencers > & AssetsToPopulate ) const
{
FAssetRegistryModule & AssetRegistryModule = FModuleManager : : LoadModuleChecked < FAssetRegistryModule > ( " AssetRegistry " ) ;
TSet < FName > RenamingAssetPackageNames ;
// Get the names of all the packages containing the assets we are renaming so they arent added to the referencing packages list
for ( auto AssetIt = AssetsToPopulate . CreateConstIterator ( ) ; AssetIt ; + + AssetIt )
{
UObject * Asset = ( * AssetIt ) . Asset . Get ( ) ;
if ( Asset )
{
RenamingAssetPackageNames . Add ( FName ( * Asset - > GetOutermost ( ) - > GetName ( ) ) ) ;
}
}
// Gather all referencing packages for all assets that are being renamed
for ( auto AssetIt = AssetsToPopulate . CreateIterator ( ) ; AssetIt ; + + AssetIt )
{
( * AssetIt ) . ReferencingPackageNames . Empty ( ) ;
UObject * Asset = ( * AssetIt ) . Asset . Get ( ) ;
if ( Asset )
{
TArray < FName > Referencers ;
AssetRegistryModule . Get ( ) . GetReferencers ( Asset - > GetOutermost ( ) - > GetFName ( ) , Referencers ) ;
for ( auto ReferenceIt = Referencers . CreateConstIterator ( ) ; ReferenceIt ; + + ReferenceIt )
{
const FName & ReferencingPackageName = * ReferenceIt ;
if ( ! RenamingAssetPackageNames . Contains ( ReferencingPackageName ) )
{
( * AssetIt ) . ReferencingPackageNames . AddUnique ( ReferencingPackageName ) ;
}
}
}
}
}
bool FAssetRenameManager : : UpdatePackageStatus ( const TArray < FAssetRenameDataWithReferencers > & AssetsToRename ) const
{
if ( ISourceControlModule : : Get ( ) . IsEnabled ( ) )
{
ISourceControlProvider & SourceControlProvider = ISourceControlModule : : Get ( ) . GetProvider ( ) ;
// Update the source control server availability to make sure we can do the rename operation
SourceControlProvider . Login ( ) ;
if ( ! SourceControlProvider . IsAvailable ( ) )
{
FMessageDialog : : Open ( EAppMsgType : : Ok , NSLOCTEXT ( " UnrealEd " , " SourceControl_ServerUnresponsive " , " Source Control is unresponsive. Please check your connection and try again. " ) ) ;
return false ;
}
// Gather asset package names to update SCC states in a single SCC request
TArray < UPackage * > PackagesToUpdate ;
for ( auto AssetIt = AssetsToRename . CreateConstIterator ( ) ; AssetIt ; + + AssetIt )
{
UObject * Asset = ( * AssetIt ) . Asset . Get ( ) ;
if ( Asset )
{
PackagesToUpdate . AddUnique ( Asset - > GetOutermost ( ) ) ;
}
}
SourceControlProvider . Execute ( ISourceControlOperation : : Create < FUpdateStatus > ( ) , PackagesToUpdate ) ;
}
return true ;
}
void FAssetRenameManager : : LoadReferencingPackages ( TArray < FAssetRenameDataWithReferencers > & AssetsToRename , TArray < UPackage * > & OutReferencingPackagesToSave ) const
{
const FText ReferenceUpdateSlowTask = LOCTEXT ( " ReferenceUpdateSlowTask " , " Updating Asset References " ) ;
GWarn - > BeginSlowTask ( ReferenceUpdateSlowTask , true ) ;
ISourceControlProvider & SourceControlProvider = ISourceControlModule : : Get ( ) . GetProvider ( ) ;
for ( int32 AssetIdx = 0 ; AssetIdx < AssetsToRename . Num ( ) ; + + AssetIdx )
{
GWarn - > StatusUpdate ( AssetIdx , AssetsToRename . Num ( ) , ReferenceUpdateSlowTask ) ;
FAssetRenameDataWithReferencers & RenameData = AssetsToRename [ AssetIdx ] ;
UObject * Asset = RenameData . Asset . Get ( ) ;
if ( Asset )
{
// Make sure this asset is local. Only local assets should be renamed without a redirector
FSourceControlStatePtr SourceControlState = SourceControlProvider . GetState ( Asset - > GetOutermost ( ) , EStateCacheUsage : : ForceUpdate ) ;
const bool bLocalFile = ! SourceControlState . IsValid ( ) | | SourceControlState - > IsAdded ( ) | | ! SourceControlState - > IsSourceControlled ( ) | | SourceControlState - > IsIgnored ( ) ;
if ( ! bLocalFile )
{
Copying //UE4/Fortnite-Staging to //UE4/Dev-Main (Source: //Fortnite/Main @ 3212531)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3212485 on 2016/11/28 by Dmitry.Rekman
Update libwebsockets to use -fPIC.
Change 3212280 on 2016/11/28 by Guillaume.Abadie
Fixes static lighting regression caused by selective outputs fix.
Change 3211095 on 2016/11/28 by Ian.Fox
#UE4 - Add nullptr check to cookonthefly server ini check
Change 3211042 on 2016/11/28 by Bob.Tellez
#UE4 Add an option to reset a particle system comp on a camera lens emitter when it is retriggered
Change 3209336 on 2016/11/23 by Rob.Cannaday
Fix shutdown crash trying to cancel an HTTP request after the HTTP module has been unloaded
Move the cancel call to the PreUnload step
#jira FORT-33515
Change 3208350 on 2016/11/22 by Jeff.Campeau
Added bVirtualKeyboardDisplayOnFocus to Slate settings defaulted to true (old behavior)
Always open a virtual keyboard when the facebutton bottom is pressed on an active text field
Do not open a virtual keyboard on focus gained by any method other than mouse if bVirtualKeyboardDisplayOnFocus is set to false
#jira FORT-30722
Change 3207430 on 2016/11/22 by James.Hopkin
#fortnite Applied changes from CL#3161737 (UE4/Main) to stage and package SSL certificate bundles.
Change 3207422 on 2016/11/22 by Ben.Woodhouse
* Fix UpdateTexture3D to create a staging texture of the region to update rather than the whole texture. This prevents distance fields crashing during update (allocating 18GB per frame in some cases)
* Put UpdateTexture2D DMA support onto a cvar, disabled by default (corruption issues reported by licensees, plus not sure it's actually faster - could be slower due to reduced bandwidth; issues reported by licensees)
* Fix UpdateTexture2D to only create a staging texture of the region to update, saving memory
#jira UE-38609
Change 3206301 on 2016/11/21 by Ben.Woodhouse
Fixed GPU hang in Zone Map view. Was an issue with RenderThread using the device context without appropriate RHIThread flushes.
#jira FORT-31616
#code_review keith.judge
Change 3206144 on 2016/11/21 by Lukasz.Furman
improved path following sticking to tether bounds
#jira FORT-32097
Change 3206142 on 2016/11/21 by Lukasz.Furman
added post processing to navigation filters for making filter-bound paths (feedback iteration)
#fortnite
Change 3206053 on 2016/11/21 by Lukasz.Furman
added post processing to navigation filters for making filter-bound paths
#fortnite
Change 3205790 on 2016/11/21 by Lukasz.Furman
pass on flow field usage by EQS
Change 3205764 on 2016/11/21 by Lukasz.Furman
seeding AIModule's random stream from world manager, using random stream in EQS
#fortnite
Change 3205763 on 2016/11/21 by Lukasz.Furman
added random stream to AIModule
copy of CL# 3150031
Change 3205162 on 2016/11/19 by James.Hopkin
Added missiing depending on SSL to Linux HTTP. Fixes CrashReportClient linker errors.
Change 3205124 on 2016/11/19 by James.Hopkin
Enabled websockets and Stomp for Linux
Change 3205121 on 2016/11/19 by James.Hopkin
From Nick Shin's Dev-Platform shelf: upgrade/rebuild of libcrypto, libcurl, libssl, libwebsockets and zlib for Linux
#fyi Nick.Shin,Dmitry.Rekman,Bob.Tellez
Change 3205119 on 2016/11/19 by James.Hopkin
Added OpenSSL version 1.0.2h headers for x86_64-unknown-linux-gnu
#fyi Nick.Shin,Dmitry.Rekman,Bob.Tellez
Change 3204994 on 2016/11/18 by Billy.Bramer
- Sort the function results that show up in the blueprint "Copy signature from:" combo box
Change 3203688 on 2016/11/18 by James.Hopkin
#stomp Lower-cased FName strings before encoding to prevent random case at runtime.
Change 3201533 on 2016/11/16 by Mark.Satterthwaite
More auto-release pool/memory-handling fixes for Metal's debug layer, which depends upon ARC:
- Better handling of parallel context creation & pooling in MetalRHI.
- Metal queries return the actual value so that we can use local autorelease pools to capture ARC retain/autorelease calls in the debug layer.
- Similarly EndEncoding needs a local autorelease pool to handle the debug layer's ARC retain/autorelease calls.
#jira FORT-32706
Change 3201077 on 2016/11/16 by Mark.Satterthwaite
Trivial command-buffer fencing to avoid render-queries keeping MTLCommandBuffer's alive after they are completed, reducing total memory use.
#jira FORT-32706
Change 3200269 on 2016/11/16 by John.Abercrombie
Made GetPredictionData_Client_Character and GetPredictionData_Server_Character public
- Removed unnecessary code duplication in FortIndicator as a result
Change 3198230 on 2016/11/15 by James.Hopkin
#stomp Added dedicated server support to Stomp connection manager. Also fixed heartbeats and change retry strategy to retry forever, first retry after 5 seconds, doubling up to max interval of every minute.
Change 3197273 on 2016/11/14 by Mark.Satterthwaite
Fix Metal related memory leaks.
#jira FORT-32706
Change 3196974 on 2016/11/14 by Lukasz.Furman
increased distance to focal point for path following
copy of CL# 3196971
#jira FORT-32048
Change 3196885 on 2016/11/14 by John.Pollard
FORT-33019 - Fix crash when updating unmapped properties on replicator that was dormant
Change 3196772 on 2016/11/14 by John.Pollard
Speculative fix for assert when shutting down replicators
Change 3196617 on 2016/11/14 by Lukasz.Furman
improved readability of EQS results in gameplay debugger's table view
#fortnite
Change 3195394 on 2016/11/11 by John.Pollard
UE-37866 - Fix replication issue where unmapped properties wouldl fail to map if the replicator goes away due to dormancy
Change 3195272 on 2016/11/11 by Bob.Tellez
#Fortnite Fix warning output in UDataTable for missing row
Change 3195152 on 2016/11/11 by Lukasz.Furman
fixed target selection in gameplay debugger's spectator
#fortnite
Change 3195071 on 2016/11/11 by Lukasz.Furman
pass on EQS category of gameplay debugger
#fortnite
Change 3194111 on 2016/11/10 by Bob.Tellez
#UE4 if you have a checked out or out of date file in your rename list it is now properly skipped and reported after the rename.
Change 3193547 on 2016/11/10 by Bob.Tellez
#UE4 LODGroup is now AssetRegistrySearchable
Change 3193545 on 2016/11/10 by Bob.Tellez
#UE4 Allow setting the default LODGroup when importing a mesh
Change 3193541 on 2016/11/10 by Bob.Tellez
#UE4 LODGroup settings application on load. Enable this behavior by setting r.StaticMesh.UpdateMeshLODGroupSettingsAtLoad=1
Change 3192035 on 2016/11/09 by Saad.Nader
#engine Updated Migration of properties to handle static arrays properly from previous check-in.
Change 3191062 on 2016/11/08 by Saul.Abreu
Added accessor for all items in list views.
Change 3190998 on 2016/11/08 by Chris.Gagnon
Partially fixes a problem with the scale bax ignore inherited scale isn't working properly.
There is more to fix by adding float InScale or similar to the GetRelativeLayoutScale() call chain.
This portion will be handled by the tools team.
Change 3190812 on 2016/11/08 by Lukasz.Furman
fixed crash on path string pulling when path corridor is empty
#jira FORT-32811
Change 3190800 on 2016/11/08 by Saad.Nader
#engine Fixed a case where a static array uproperty wasn't being migrated properly since it was being treated as a single value.
Change 3189573 on 2016/11/07 by Bob.Tellez
#UE4 Since LightComponents now respect hiddeningame, I changed ALight to default to not be hidden in game. All components in the class that should not be seen are already bHiddenInGame=true on the component.
Change 3189268 on 2016/11/07 by Michael.Trepka
Check is MacApplication is still valid when making a deferred call to OnApplicationActivationChanged
Change 3189179 on 2016/11/07 by Michael.Trepka
Don't skip Mac windowDidResize: when switching between window modes. Fixes issues with screen not resizing properly when changing from windowed to windowed fullscreen
Change 3189154 on 2016/11/07 by Lukasz.Furman
added unbound exploration mode to A* solver
#ue4
Change 3189072 on 2016/11/07 by Saad.Nader
#commonui Added ability to skip the stack of activatable panels so that global input handling can handle input for dynamically created buttons on a modal. Updated name of base button style as its name was conflicting with legacy ui base button style.
Change 3188769 on 2016/11/07 by Guillaume.Abadie
Fixes r.SelectiveBasePassOutput and use it in Fortnite.
This CL adds a selective base pass optimization not drawing scene color when r.SelectiveBasePassOutput=1 on materials that doesn't emit color.
Use r.SelectiveBasePassOutput in Fortnite and avoid computing the fog in base pass to actually avoid drawing scene color.
#review-3187180 @brian.karis
Change 3187864 on 2016/11/04 by Bob.Tellez
#UE4 Better handling for setting return values in error cases where a function cannot be executed.
Change 3187815 on 2016/11/04 by Bob.Tellez
#UE4 Fix for SetLODGroup to trim LODs that are not needed.
Change 3187309 on 2016/11/04 by Lukasz.Furman
added projection and pathfinding to navigation graph
#fortnite
Change 3186304 on 2016/11/03 by Saul.Abreu
Made a pass on Common UI widgets, setting their widget palette category property or overriding the relevant virtual method in order to have a consistent value across all Common UI widgets.
Change 3186301 on 2016/11/03 by Saul.Abreu
Exposed ability to compare Slate brushes in Blueprints. Helpful for Icon Text Button to be able to hide its icon image if the icon brush is identical to the default (which is intentionally 0-sized/draw-type none).
Change 3185979 on 2016/11/03 by David.Hamm
Conditional gameplay effects with required tags were considering target tags in code, rather than source tags as presented in the editor. Updating the code allows the Bearricade tag to be seen, triggering the desired slow effect.
#jira FORT-32141
Change 3185534 on 2016/11/03 by Daniel.Broder
Made GameplayDebuggerCategory_EQS log the description of filtered items rather than just their index (which doesn't tell much).
#UE4 #NoReleaseNotes
Change 3185386 on 2016/11/03 by Daniel.Broder
"Actors of Class" EQS Generator now supports returning all actors matching the class rather than only actors within the radius based on a new checkbox "Generate Only Actors In Radius". For backwards compatibility, it defaults to true.
#UE4 #ReleaseNoteAbove
Change 3185370 on 2016/11/03 by Mark.Satterthwaite
Revert the only change to Metal texture uploads made in the merge leading up to 16/09/16 and disable more recent changes to reuse texture objects in the hope that this cures FORT-30180. If not then this will need to be handled by Apple/Nvidia as we're not doing anything obviously wrong on our side.
#jira FORT-30180
Change 3185249 on 2016/11/03 by Lukasz.Furman
added caching for neighbor count in template A* solver
#fortnite
Change 3184403 on 2016/11/02 by Daniel.Broder
Updated EnvQueryTest_GameplayTags to support Gameplay Tag Queries.
^^ReleaseNoteAbove
Data is automatically converted to the query from the old data format.
Gameplay Tag Queries give much more flexibility for how to mach the queries, since they can include entire expressions of what must match and/or not match.
#UE4 #ReleaseNoteAbove
Change 3184311 on 2016/11/02 by Daniel.Broder
Removed unnecessary if/else that was calling identical code in both parts! (Now it just calls the code directly).
Fixed spelling of ReturnValueAddress (from ReturnValueAdress).
#UE #NoReleaseNotes
Change 3183823 on 2016/11/02 by Mark.Satterthwaite
Record Metal resource & state objects used in a command-buffer when rhi.Metal.RuntimeDebugLevel is set to 3 or higher. The object labels, types & descriptions will be printed on failure - if the object is deleted prior to this then we have a lifetime error and it will crash at this point and can be debugged further using our -metalretainrefs command-line option or Xcode's zombie-objects.
Used to verify that FORT-31649 is not a simple resource lifetime error and thereby speed up Apple/vendor investigations.
#jira FORT-31649
Change 3183807 on 2016/11/02 by Mark.Satterthwaite
Change the way we access the Metal viewport's backbuffer, to reduce possible causes of FORT-31649:
- Added console variable "rhi.Metal.SupportsIntermediateBackBuffer" to control whether to use an extra render-target so we can support screenshots & movie capture, or render directly to the back-buffer to save memory & GPU performance. Still defaults to ON for Mac & OFF for iOS/tvOS.
- Change the way we handle updates to the back-buffer size to ensure that the different threads access their intended version.
#jira FORT-31649
Change 3183470 on 2016/11/02 by Bob.Tellez
#UE4 Lights with 0 intensity are now removed from the scene
Change 3183230 on 2016/11/02 by Bob.Tellez
#UE4 Console history no longer keeps duplicate entries
Change 3182547 on 2016/11/01 by Bob.Tellez
#UE4 Fixed an old bug which was causing thumbnail scenes to have incorrect lighting.
Change 3182498 on 2016/11/01 by Chris.Gagnon
Added ItemIcon widget and ItemCountTextBlock widget.
EpicCMSScreen derives from COmmonActivatable Panel.
Added CommonUIUtils with function to get a owning userwidget or contexts.
Begining of the new Topbar, and a number of supporting widgets.
Change 3182497 on 2016/11/01 by Chris.Gagnon
Engine:
GameViewportClient now has a global toggle to turn software cursor mapping on and off.
Fortnite:
Added software cursor, when using the gamepad we turn on the software cursor mapping. The asset is invisible.
This allows us to hide the cursor without all the baggage and undesired behavior that comes with that.
Change 3181853 on 2016/11/01 by Saad.Nader
#commonui
Added uproperty annotations to prevent garbage collection.
Updated code to cleanup internal caches to happen earlier.
Change 3181782 on 2016/11/01 by Bob.Tellez
#UE4 LightComponents now respect bHiddenInGame (and other visibility flags) when determining whether they should be added to the scene.
Change 3181516 on 2016/11/01 by Saad.Nader
#commonui
Added an action handler interface that I have been wanting for awhile.
Updated action widget to ignore design time changes since it relies on a common ui context instance.
Cleaned up activatable panel interface and commited events on a input action registered to be handled. Our activatable handle automatically handles things for now without asking blueprint if we should.
Cleanedup up miscellaneous activatable panel internals
Activatable panels can now choose to expose input actions registered to that panel.
Replaced activatable panel reflector with common input reflector
Added a common global input handler that implements the action handler interface
Updated common button and common tablist widgets appropriately to register with global input handler for appropriate actions.
Buttons now have separate triggering actions vs. triggered actions. Triggering actions can only be set during creation of the button whereas triggered actions can be set anytime.
Moved a lot of the boilerplate code for action button into common button to trigger and listen for actions, or register with the global input handler for triggering actions.
Fixed typos in common ui types.
Updated CommonUITestBed with new changes.
Change 3179753 on 2016/10/31 by Lukasz.Furman
replaced ensure with vlog warning in GameplayTask processing
#jira FORT-32324
Change 3178028 on 2016/10/28 by Lukasz.Furman
attempt to fix rare crash in crowd simulation
#jira FORT-27847
Change 3177966 on 2016/10/28 by James.Hopkin
Removed some redundant text/string copies and conversions in 'Find in Blueprints'
Change 3176795 on 2016/10/27 by Fred.Kimberley
Fixed the code path that grabs tooltip data for ability system components to respect the flag that shows buffs in the front end instead of final values.
#jira FORT-30491
Change 3175818 on 2016/10/26 by Bob.Tellez
#UE4 Protecting against a nullptr access in FVisibilityPropertySection::GenerateSectionLayout. More investigation is needed to determine if this should be allowed to be null.
Change 3175615 on 2016/10/26 by Michael.Trepka
Check if MacApplication is valid in FMacApplication::OnCursorLock() block that's called asynchronously and can be executed after MacApplication was destroyed. Fixes FORT-32075
Change 3175369 on 2016/10/26 by Saul.Abreu
Refactored CreateWidget functions to share UserWidgetClass validation logic and fixed a missing early-out return statement.
Change 3175233 on 2016/10/26 by Saul.Abreu
#fortnite
Common Button now properly handles its interactibility changing when it's toggleability has changed - previously, being selected when toggling is turned on would leave the button non-interactible and thus not practically toggleable.
Change 3174285 on 2016/10/25 by Mark.Satterthwaite
Fix command-buffer failures when resizing windows on Mac - we have to capture windowWillResize: events in our window delegate and then forward on a call to Slate's OnResizingWindow event handler, that internally causes rendering to flush. If we wait to do this in windowDidResize then the actual device back-buffer resource will have been reallocated and we presumably end up trying to render into garbage memory on the GPU, causing the intermittent command-buffer failures.
#jira FORT-31649
Change 3173872 on 2016/10/25 by Bob.Tellez
#UE4 Fixed an issue where if you have a map with actors that produce a ZeroVector bounds size, SetActorTransform complains.
Change 3172828 on 2016/10/24 by Saul.Abreu
Added useful contextual information to the message log errors provided when attempting to create widgets but failing.
Change 3172649 on 2016/10/24 by Michael.Trepka
Call setMinSize and setMaxSize in FMacApplication::OnCursorLock() on the main thread
#jira FORT-30177
Change 3172568 on 2016/10/24 by Saad.Nader
#commonui Exposed a flag to reflector to not show actions for an activtable panel if we don't want them exposed.
Change 3172341 on 2016/10/24 by Mark.Satterthwaite
Fix FORT-31526 by setting appropriate defaults for FEditorCompositingParameters when the feature isn't being used, as Metal still requires something be bound for the values. This all stems from Fortnite using GizmoMaterial somehow when whacking Llamas to reveal the cards contained within - I suspect the 'real' fix is not to use an Editor material in the game client...
#jira FORT-31526
Change 3172304 on 2016/10/24 by James.Longstreet
#fortnite #jira FORT-31090 Add setting to configure whether the virtual keyboard sends TextChanged or TextCommitted when complete.
Add SlateSettings to project settings, for settings that need to be accessed from Slate -- the Slate module doesn't depend on Engine, so it can't access UserInterfaceSettings or InputSettings.
Default to TextChanged in Fortnite.
Change 3171630 on 2016/10/24 by Saul.Abreu
#fortnite
Added API export to Common List View.
Added support to Common List View for changing selection modes.
Added delegate to Common List View to support hook-ups on creation of new list item widgets.
Improved Common List View handling of item widgets that are buttons - no need to handle manually hooking up the list item clicked callback to the button.
Change 3171474 on 2016/10/22 by Saul.Abreu
#fortnite
New numeric text block.
Change 3171463 on 2016/10/22 by Saad.Nader
#commonui
Added the common action widget which can visualize the input of an activatable panel or button.
Added the common activatable panel reflector widget so we can build a bar widget which can visualize the actions an activatable panel have registered to handle.
Cleaned up the input manager's handling of pushing and poping activatable panels
Updated widget switcher to completely push or pop tabs on or off the stack so that the stack is clean of any items not in the current tab.
Updated common ui context to expose API blueprint.
Updated input action data to make better sense in common ui types
Added a viewport client to redirect input for the common ui test bed.
Added a completion delegate for listeners such as a button in a activatable panel reflector widget.
Added test harness for activatable panel, activatable panel reflector, action widget
Change 3170868 on 2016/10/21 by Jeff.Campeau
AutoSDK props included earlier
Change 3170663 on 2016/10/21 by Mark.Satterthwaite
Further changes to finally fix the underlying cause of FORT-25473 and all future potential instances: SetStreamSource overrides the stride from the vertex declaration and MetalRHI wasn't properly considering what to do with Stride=0, which should disabling vertex attribute stepping. This also requires fixing some gotcha's in the StateCache.
#jira FORT-25473
Change 3170020 on 2016/10/20 by Bob.Tellez
#UE4 Render scale was off by one when setting via buckets in the editor widget.
Change 3169764 on 2016/10/20 by Mark.Satterthwaite
Fixed automatic conversion of G8_sRGB into RGBA8_sRGB required for Mac Metal, which fixes FORT-27627.
#jira FORT-27627
Change 3169631 on 2016/10/20 by Mark.Satterthwaite
Fix a potential crash due to unnecessary reinitialisation of the MetalRenderPipelineDesc mutex.
Change 3169614 on 2016/10/20 by Mark.Satterthwaite
Fix FORT-25473 caused by incorrect handling of vertex attributes in Metal: FParticleSpriteVertexFactory specifies the dynamic particle parameter attribute (VA 5) with a non-zero stride, which implies vertex or instance stepping - but for the P_Rocket_ColdMist_FXV effect only a single float4 is provided with the intent that this be constant for all instances. Other APIs may implicitly wrap the VA read back around but Metal does not and simply reads garbage off the end of the buffer - potentially this could even cause a GPU crash. MetalRHI now detects when the buffer bound to an attribute can't support more than one instance and if needed updates the vertex declaration to make such attributes constant.
#jira FORT-25473
Change 3169163 on 2016/10/20 by Fred.Kimberley
Added UIProxyActor. This is intended as a single proxy actor to replace the existing, class specific, proxy actors.
Change 3168732 on 2016/10/20 by Saul.Abreu
Exposed style references in UCommonTextBlock. Allows widgets to look at the styles on the CDO.
Change 3168713 on 2016/10/20 by Saul.Abreu
Fixed unconditional inclusion of Developer module headers (settings module) in client builds from Common UI module.
Change 3168659 on 2016/10/20 by Saul.Abreu
Created and exposed SetMinDesiredWidth on UTextBlock, following the example set by other setters in the class.
Change 3168658 on 2016/10/20 by Saul.Abreu
The Common UI plugin now has a settings object which will appear in the project settings window. It exposes setting default styles for both CommonTextBlock and CommonButton in the Game config file.
Change 3167632 on 2016/10/19 by John.Pollard
Fix FN replay scrubbing issues
* Solution for net startup actors that need to be "rolled back" during scrubbing if they've been modified
* Solution for when net startup actors should be deleted past checkpoints
* Added version support to load older replays that don't save out deleted net startup actors in checkpoints
Change 3166065 on 2016/10/18 by Saad.Nader
#commonui renaming UCommonActivatableManager to UCommonInputManager, added ability to change input method for desktop and console.
Change 3166049 on 2016/10/18 by Lukasz.Furman
added navmesh exploration helpers in FortNavMesh
#fortnite
Change 3165085 on 2016/10/17 by Saad.Nader
#blueprintcontext fixed log output for created blueprint context
Change 3163115 on 2016/10/14 by James.Hopkin
Prevented variable combo box clipping long type names in blueprint details panel
[UE-19710]
Change 3162629 on 2016/10/13 by Saul.Abreu
#fortnite
#jira FORT-31489
Ported Paragon's tile view widget over to the Common UI Plugin as Common Tile View. Added exemplar/test case in Common UI testbed.
Change 3162624 on 2016/10/13 by Saul.Abreu
Improved "Create Event" node with text showing the function signature in a friendly manner.
Change 3162114 on 2016/10/13 by Guillaume.Abadie
Implements r.EarlyZPassOnlyMaterialMasking.
Fortnite grass/trees is using masked material. However masked materials are doing clip in early z pass and base pass, both preventing the pixel shader from using the early depth test. This CL execute material's mask opacity only in the early z pass to keep early depth test on expensive mask material's base pass pixel shader.
Change 3161479 on 2016/10/13 by Saad.Nader
#commonui Updated Common button to be able to handle a bound common input action by causing the button to get clicked.
Updated Activatable panel to ignore input if it is not activated
Added helper functions to common widget switcher for activating/deactivating the active widget if it is a activatable panel.
Change 3161092 on 2016/10/13 by Saul.Abreu
#fortnite
Common Tab List widget now exposes access to its linked switcher as well as overridable events before and after the linked switcher is set. OnCreateNewTab can now be implemented in native code or blueprints. Buttons added as tabs in the tab list will now have their selectabilty and toggleability set as necessary.
Change 3160762 on 2016/10/12 by Billy.Bramer
- Make UAbilitySystemComponent::AreAbilityTagsBlocked virtual so games can provide a custom implementation
Change 3160736 on 2016/10/12 by Lukasz.Furman
fixed some gameplay debugger's categories not rendering correctly in simulate mode
#fortnite
Change 3160417 on 2016/10/12 by Mark.Satterthwaite
Disable DistanceField AO & Shadowing support on Intel GPUs under Metal - there are driver bugs that prevent them from working currently.
#jira FORT-31268
Change 3160314 on 2016/10/12 by Michael.Trepka
Fixed incorrect rect initialization in Mac GetDisplayMetrics
Change 3160309 on 2016/10/12 by Lukasz.Furman
pass on gameplay debugger in Simulate in Editor mode
copy of CL 3160014
#ue4
Change 3159892 on 2016/10/12 by John.Abercrombie
Fixed the Blackboard component pausing but never being unpaused if we ended up restarting the Behavior Tree instead of continuing
#ue4
Change 3159630 on 2016/10/12 by Jamie.Dale
Fixed an issue where async and non-async loading could result in the package being given a different name
Async loading would always use the non-localized name (which is correct), but non-async loading would sometimes use the localized name (which is incorrect); now they both do the same thing.
Change 3159249 on 2016/10/11 by Jonathan.Lindquist
fixing a potential uv bug related to their names
Change 3159145 on 2016/10/11 by Lukasz.Furman
fixed behavior tree task restart conditions
#ue4
Change 3158846 on 2016/10/11 by John.Pollard
Add ability to override network async loading for replays
Change 3158551 on 2016/10/11 by Saad.Nader
#commonui remove checks for common tab list widget when set listening for input occurs.
Change 3157727 on 2016/10/10 by Saul.Abreu
#fortnite
Common button style now has minimum width and minimum height properties and common button will use the maximum of its own and the style's minimums.
Change 3157364 on 2016/10/10 by Jamie.Dale
Split localized package redirection out of FCoreDelegates::PackageNameResolvers
They're different enough in behavior that the delegate resolution was breaking the localized package resolution by resolving in too many places and causing the localized package to be loaded with its real localized name as well as the fake non-localized name.
#jira FORT-31207
Change 3156616 on 2016/10/10 by Lukasz.Furman
added more failsafes to crowd simulation crash
#jira FORT-27847
Change 3155092 on 2016/10/07 by Chris.Gagnon
SlateApplication
- Added more control over where navigation originates from with the ENavigationSource enumeration piped in through the FReply
- Added custom handling support for the navigation responce using the FCustomNavigationHandler
Fortnite
- Added Input Preprocessor for generating navigation events and handling the "virtual cursor" position
- Added the Input mode switching support for gamepad <-> keyboard (Currently disabled)
Change 3154721 on 2016/10/07 by Lukasz.Furman
automation fix for AI tests with multiple spawn sets
copy of CL# 3154035
#jira FORT-31106
Change 3154466 on 2016/10/07 by Saul.Abreu
#fortnite
Additional logging and checking to help diagnose cause of current build breakage, possibly related to blueprint context OR unrelated but coincidental and related to game data or homebase manager.
Change 3154349 on 2016/10/06 by Saul.Abreu
#fortnite
Relocate BP context and common UI plugins to Engine (NotForLicensees).
Change 3152396 on 2016/10/05 by Lukasz.Furman
fixed RECAST_ASYNC_REBUILDING define being ignored by navmesh generator
#ue4
Change 3152390 on 2016/10/05 by Lukasz.Furman
including AgentRadius in area modifier bounds in layer's intersection test
fixes modifier cuts at tile boundary
#jira FORT-31051
Change 3151999 on 2016/10/05 by Lukasz.Furman
added vlogs for applying and removing gameplay effects
#jira FORT-30982
Change 3150947 on 2016/10/04 by Bob.Tellez
#UE4 Fix to find the title.json file in the correct game folder.
Change 3149775 on 2016/10/03 by Bob.Tellez
#UE4 Added property editor code support for doubles.
Change 3148729 on 2016/10/03 by Lukasz.Furman
fixed memory corruption in DemoNetDriver
#fortnite
Change 3146148 on 2016/09/29 by Bob.Tellez
#UE4 Fixed a case where the LastRecordedHittestIndex would remain zero, causing the widget path to get truncated and result in the mainframe window when determining if you should spawn a tooltip, causing us to try to create a tooltip outside of our tooltip presenter widget, causing a new window to be created and a crash to happen on consoles.
#JIRA FORT-30378
Change 3146016 on 2016/09/29 by Daniel.Broder
Added BlueprintGameplayTagLibrary function "Get All Actors of Class Matching Query".
It uses TActorIterator to find only all actors derived from the specified class and then further winnows them by whether they match a GameplayTagQuery. If any actor does NOT implement IGameplayTagAssetInterface, the function will log ONCE a warning that the class in question doesn't implement the required interface to be able to check for matching tags. (NOTE: This function can be extremely expensive if there are a large number of actors of the class requested, so be cautious using it.
It can be used at initialization time to find a specific subset of actors to act on (for example).
#UE4 #ReleaseNote
Change 3145827 on 2016/09/29 by Lukasz.Furman
added sanity checks to EQS tick
#jira FORT-30755
Change 3145520 on 2016/09/29 by Chad.Garyet
changing notifications to require there be a type to verify the user exists
#jira FORT-30754
Change 3145428 on 2016/09/29 by Bob.Tellez
#UE4 Made plugin loaded log statements verbose.
Change 3145229 on 2016/09/29 by Bob.Tellez
#UE4 Fix for only running the first test on commandline
Change 3142730 on 2016/09/27 by Bob.Tellez
#UE4 Removing needless scope on a virtual function call that made it seem static and made UpdateResolutionQuality protected so it can be called from subclasses that may be procedurally determining DesiredScreenWidth and DesiredScreenHeight
Change 3142632 on 2016/09/27 by Saul.Abreu
#fortnite
Improved data table row struct post-data-import method with more context provided through parameters. Used to fixup homebase node display names to have stable keys generated from the row name.
Change 3140907 on 2016/09/26 by Bob.Tellez
#UE4 Allowing movie files to be renamed to match platform requirements
Change 3140399 on 2016/09/26 by Lukasz.Furman
fixed uninitialized configs of gameplay debugger
#jira FORT-30439
Change 3138880 on 2016/09/23 by Fred.Kimberley
Added source tag requirements to conditional gameplay effects.
#jira FORT-29772
Change 3138262 on 2016/09/23 by Chad.Garyet
Integrating codesign fix into Fortnite/Main
Change 3137164 on 2016/09/22 by Mark.Satterthwaite
Add stats to track exactly how many command buffers are allocated and committed each frame to work out why Fortnite on AMD is hanging, which turns out to be because each texture update/reallocation ends up in its own command-buffer. This needs to be rethought to pack these into fewer command buffers with the same synchronisation requirements to minimise command-buffer splits but for now we'll just make the default sufficiently large that we shouldn't see the hang until the work is done. Also ensure that command-buffer failure is always fatal - there is no way to recover or continue if a command-buffer fails.
#jira FORT-30377
Change 3136720 on 2016/09/22 by Rob.Cannaday
Fix crash in FCurlHttpRequest::DebugCallback
+ Specify the string length to FString's constructor as the result from StringCast is not null terminated if the string's length is specified (instead of assuming null termination).
#jira OGS-428
Change 3136391 on 2016/09/22 by Lukasz.Furman
fixed crowd path section switch rejecting navlinks at end of path
#jira FORT-30400, FORT-30402
Change 3136295 on 2016/09/22 by Lukasz.Furman
fixed navlinks not connecting to navmesh correctly in "snap to cheapest area" mode,
adjusted scoring in navmesh projection - findNearestPoly2D
#jira FORT-30358
Change 3136033 on 2016/09/22 by Mark.Satterthwaite
To fix the Fortnite login screen force Nvidia Macs to use the set*Bytes API for small buffer updates even on El Capitan. We can't do this globally as Intel didn't implement these functions until macOS Sierra.
Fix GPU selection code in MetalRHI to confirm everything is working.
#jira FORT-30385
Change 3135237 on 2016/09/21 by Mark.Satterthwaite
Metal validation layer fix: under Metal if there are no reads from the vertex stage-in buffers we should use the Empty vertex declaration, not the filter declaration, otherwise we have to bind a redundant vertex stream buffer to silence the validation layer.
Change 3135177 on 2016/09/21 by Rob.Cannaday
Demote "Missing party state during exit" log from warning to display, as order of operations cause this to always be triggered when voluntarily leaving a party
#jira FORT-22575
Change 3135176 on 2016/09/21 by Rob.Cannaday
When returning to front-end, re-evaluate pending party joins that were in the waiting for beacon reservation state.
#jira FORT-27737
Change 3135174 on 2016/09/21 by Mark.Satterthwaite
- Copy MetalRHI & MetalShaderFormat from Dev-Rendering CL #3132772
Provides significant performance improvements on CPU due to improved vertex declaration handling & much reduced GPU heap fragmentation + more stats.
Definitely fixes:
#jira FORT-29430
Change 3135169 on 2016/09/21 by Mark.Satterthwaite
Correct Metal texture creation for AVF media framework - we can't provide a render-targetable version of the texture without blitting. The native texture we get is a GPU copy that can be made CPU accessible (i.e. it is not tiled).
Change 3135157 on 2016/09/21 by Mark.Satterthwaite
Fix one cause of Metal crashes loading into a zone - the PlanarReflection shader code needs to always set the IsStereoParameter so that the shader can perform the if-test without causing an invalid GPU access.
#jira FORT-30061
Change 3135136 on 2016/09/21 by Bob.Tellez
#UE4 Added GetPackageDependenciesForManifestGenerator delegate for games to be able to determine package dependencies however they deem fit.
Change 3135132 on 2016/09/21 by Bob.Tellez
#UE4 Better final cook platform path creation. WindowsClient was incorrectly forming a path to WindowsNoEditor when looking for chunk manifests
Change 3134313 on 2016/09/21 by Lukasz.Furman
attempt to fix crash in navmesh generation
#jira FORT-30340
Change 3134091 on 2016/09/21 by Rob.Cannaday
Fix crash in lib curl debug callback because the string parameter provided by libcurl is not null terminated
#jira OGS-428
Change 3133949 on 2016/09/21 by Lukasz.Furman
crowd agents will use shorter path corridor when one of two last polys are navlink
(corridor part switch happens with 2 or less polys left, we don't want to switch while on navlink)
#jira FORT-29880
Change 3133219 on 2016/09/20 by Lukasz.Furman
fixed broken navlink's "snap to cheapest area" mode
#fortnite
Change 3133087 on 2016/09/20 by Saul.Abreu
Updated comments on FARFilter to more explicitly express interactions between class filtering settings.
Change 3132990 on 2016/09/20 by Saul.Abreu
#fortnite
Overhaul of asset crawling localizable text gathering commandlet. Added feature for filtering processed assets based on membership in a collection.
Change 3132627 on 2016/09/20 by Bob.Tellez
#Fortnite Added XLoc language ID for for zh-CN
Change 3132616 on 2016/09/20 by Lukasz.Furman
added tolerance to navmesh project point 2D query
added overrides for accessing projection with tolerance during navwalking height checks, should be replaced with navdata flags later on
#jira FORT-29474
Change 3130819 on 2016/09/19 by Ben.Marsh
UBT: Read additional configuration settings for BuildConfiguration and UEBuildConfiguration from the engine config settings. Allows setting project-specific config values.
Change 3130639 on 2016/09/19 by Lukasz.Furman
pass on crowd simulation
- husks should move faster through funnels now
- husks can clip each other a bit more often :(
#fortnite
Change 3130625 on 2016/09/19 by Bob.Tellez
#UE4 Added an ensure to further track down invalid usage of playerinput
#JIRA FORT-30183
Change 3128884 on 2016/09/16 by Ben.Salem
Repair nightly FTest runs. FTests are now namespaced differently as of new main merge, and had to uncomment a load-bearing wait that exists to enable the way we run our nightlies (nullrhi w/ execcmds) to start the test properly.
Change 3128874 on 2016/09/16 by Daniel.Lamb
Testing to see if memory changes have injured fortnite cook times.
Change 3127175 on 2016/09/15 by John.Abercrombie
GameplayCueInterface's TagToFunctionMap is now keyed by FObjectKey of a UClass, rather than using the UClass as the key
- Since UClass-es can be unloaded at run-time, and then loaded again later in a different spot in memory, this is a better solution
Clear out the TagToFunctionMap whenever we cleanup a world
Move the TagToFunctionMap into a namespace
#jira FORT-29194 - Crash during Fight the Storm Defense
Change 3126840 on 2016/09/15 by Bob.Tellez
#UE4 Added a hack to aid in the conversion from the "USA" and "Poland" region names to "NA" and "EU"
Change 3125944 on 2016/09/14 by Billy.Bramer
- Fix for FJsonObjectWrapper incorrectly exporting to JSON in a string representation instead of an object representation now that it has an implementation of export text
Change 3125764 on 2016/09/14 by Saul.Abreu
Change to enum and struct registration so that their packages are all created before either set gets to run their registration logic.
Change 3125719 on 2016/09/14 by Bob.Tellez
#UE4 Windows in nullrhi do not have OS handles and not initializing you parent window causes a crash when you start PIE (needed for headless automation testing)
Change 3125504 on 2016/09/14 by jonathan.lindquist
adding a comment to the exclude wpo offsets input
Change 3124203 on 2016/09/13 by Bob.Tellez
Temporarily removing IOS.Automation.csproj dependency on MobileDeviceInterface since it is causing warnings in UGS right now.
Change 3124192 on 2016/09/13 by Tim.Tillotson
Fix bad format string in FLinkerLoad::VerifyImport
Warning:
[2016.09.13-18.49.05:928][927]LogText:Warning: Failed to parse argument "ImportClass" as a number (using "0" as a fallback). Please check your format string for
errors: ": Failed import for {ImportClass}".
Change 3124083 on 2016/09/13 by Bob.Tellez
#UE4 Re-disabling EQFilter for all machines. This is a temporary solution until a more efficient method is found that does not cause machines to lag.
Change 3123783 on 2016/09/13 by Jonathan.Lindquist
Subtacting 1 from the VAT tools output texture file name uv number to match unreals 0-based system.
Change 3122223 on 2016/09/12 by Jonathan.Lindquist
Adding optional uv controls for the texture based animations
Change 3122220 on 2016/09/12 by jonathan.lindquist
adding an optional uv input for the Vertex animation toolset
Change 3122070 on 2016/09/12 by John.Abercrombie
Added nav links to corner walls, rather than depending on a nav area to traverse the low edge of the corner
Made crowd folowing component use the velocity while traversing a link, except if we're falling
AIs will not update their paths while following a nav link
Lowered the step height of all AIs from 90 to 72
#jira FORT-29786 - Husks can move over the balcony wall on floor structures.
Change 3121098 on 2016/09/12 by Chris.Wood
Increased Linux timeout when waiting for CRC to complete.
[UE-30259] - Some server crashes are missing from crashreporter database
#jira UE-30259
Change 3120694 on 2016/09/12 by Saul.Abreu
#fortnite
Refactored CMS reader to support URLs with protocols (http, https, and file). URIs (URL sans protocol) will no longer work, but we can add in smart fallback logic later, as this is only in Fortnite currently and the only CMS data available currently is via local file. Console command will handle URLs using double quotes, since the colon trips up existing console command parsing logic (it seems).
Change 3120686 on 2016/09/11 by Saul.Abreu
#fortnite
Deleting erroneous config files in EpicCMS plugin.
Change 3120659 on 2016/09/11 by Saul.Abreu
Added support to widget carousel for getting a callback when the active widget changes. (Not sure who the original author was, but the oldest tracked revision codereview'd Justin Sargent.)
Change 3120658 on 2016/09/11 by Saul.Abreu
Fixed UMG grid panel to properly set the padding on the slots it creates.
Change 3118466 on 2016/09/08 by Bob.Tellez
#UE4 There is now an option to exclude all UMG widgets and slots from dedicated server builds. Set bLoadWidgetsOnDedicatedServer=false for this behavior
Change 3118149 on 2016/09/08 by Bob.Tellez
#UE4 Dont cook non-native CDO references that are excluded for your target
Change 3117604 on 2016/09/08 by John.Abercrombie
FortGameModeFTesting no longer spawns a pawn
Added automated test setting to FortGameMode so we can avoid waiting for a pawn before removing the loading screen
Made the FunctionalTest set the view target to the Observation Point if we don't have a pawn, note that this only works on Player Controllers that aren't Debug Camera Controllers so we don't annoy any user who's moving around
Change 3116964 on 2016/09/07 by Bob.Tellez
#Fortnite We are now building crashreportclient for linux instead of using the stale binary in P4
Change 3116284 on 2016/09/07 by Tim.Tillotson
#fortnite Add support for quest objectives that track player ability activation.
As part of this also:
+Added a bWasCancelled parameter to GameplayAbility::EndAbility. This allows us to determine if an ability was ended prematurely.
+Added a OnAbilitySucceeded delegate for determining when an ability was successfully ended.
Some additional improvements thanks to code review feedback from Fred.Kimberley.
After discussing with Matt Hancy we decided to keep the OnAbilityCompleted delegate for now. We may be able to deprecate and remove it in the future if we rewrite all the existing abilities that use it.
Change 3116039 on 2016/09/07 by John.Abercrombie
Fix crash when you change the blueprint of a class referenced by a gameplay cue between PIE runs
[CL 3215544 by Bob Tellez in Main branch]
2016-11-30 14:12:57 -05:00
// If this asset is locked or not current, mark it failed to prevent it from being renamed
if ( SourceControlState - > IsCheckedOutOther ( ) )
{
RenameData . bRenameFailed = true ;
RenameData . FailureReason = LOCTEXT ( " RenameFailedCheckedOutByOther " , " Checked out by another user. " ) ;
}
else if ( ! SourceControlState - > IsCurrent ( ) )
{
RenameData . bRenameFailed = true ;
RenameData . FailureReason = LOCTEXT ( " RenameFailedNotCurrent " , " Out of date. " ) ;
}
2014-03-14 14:13:41 -04:00
// This asset is not local. It is not safe to rename it without leaving a redirector
RenameData . bCreateRedirector = true ;
continue ;
}
}
else
{
// The asset for this rename must have been GCed or is otherwise invalid. Skip it
continue ;
}
TArray < UPackage * > PackagesToSaveForThisAsset ;
bool bAllPackagesLoadedForThisAsset = true ;
for ( auto PackageNameIt = RenameData . ReferencingPackageNames . CreateConstIterator ( ) ; PackageNameIt ; + + PackageNameIt )
{
const FString PackageName = ( * PackageNameIt ) . ToString ( ) ;
// Check if the package is a map before loading it!
if ( FEditorFileUtils : : IsMapPackageAsset ( PackageName ) )
{
// This reference was a map package, don't load it and leave a redirector for this asset
RenameData . bCreateRedirector = true ;
bAllPackagesLoadedForThisAsset = false ;
break ;
}
UPackage * Package = LoadPackage ( NULL , * PackageName , LOAD_None ) ;
if ( Package )
{
PackagesToSaveForThisAsset . Add ( Package ) ;
}
else
{
RenameData . bCreateRedirector = true ;
bAllPackagesLoadedForThisAsset = false ;
break ;
}
}
if ( bAllPackagesLoadedForThisAsset )
{
OutReferencingPackagesToSave . Append ( PackagesToSaveForThisAsset ) ;
}
}
GWarn - > EndSlowTask ( ) ;
}
2014-10-14 10:33:22 -04:00
bool FAssetRenameManager : : CheckOutPackages ( TArray < FAssetRenameDataWithReferencers > & AssetsToRename , TArray < UPackage * > & InOutReferencingPackagesToSave ) const
2014-03-14 14:13:41 -04:00
{
bool bUserAcceptedCheckout = true ;
2014-10-14 10:33:22 -04:00
// Build list of packages to check out: the source package and any referencing packages (in the case that we do not create a redirector)
TArray < UPackage * > PackagesToCheckOut ;
PackagesToCheckOut . Reset ( AssetsToRename . Num ( ) + InOutReferencingPackagesToSave . Num ( ) ) ;
Copying //UE4/Fortnite-Staging to //UE4/Dev-Main (Source: //Fortnite/Main @ 3212531)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3212485 on 2016/11/28 by Dmitry.Rekman
Update libwebsockets to use -fPIC.
Change 3212280 on 2016/11/28 by Guillaume.Abadie
Fixes static lighting regression caused by selective outputs fix.
Change 3211095 on 2016/11/28 by Ian.Fox
#UE4 - Add nullptr check to cookonthefly server ini check
Change 3211042 on 2016/11/28 by Bob.Tellez
#UE4 Add an option to reset a particle system comp on a camera lens emitter when it is retriggered
Change 3209336 on 2016/11/23 by Rob.Cannaday
Fix shutdown crash trying to cancel an HTTP request after the HTTP module has been unloaded
Move the cancel call to the PreUnload step
#jira FORT-33515
Change 3208350 on 2016/11/22 by Jeff.Campeau
Added bVirtualKeyboardDisplayOnFocus to Slate settings defaulted to true (old behavior)
Always open a virtual keyboard when the facebutton bottom is pressed on an active text field
Do not open a virtual keyboard on focus gained by any method other than mouse if bVirtualKeyboardDisplayOnFocus is set to false
#jira FORT-30722
Change 3207430 on 2016/11/22 by James.Hopkin
#fortnite Applied changes from CL#3161737 (UE4/Main) to stage and package SSL certificate bundles.
Change 3207422 on 2016/11/22 by Ben.Woodhouse
* Fix UpdateTexture3D to create a staging texture of the region to update rather than the whole texture. This prevents distance fields crashing during update (allocating 18GB per frame in some cases)
* Put UpdateTexture2D DMA support onto a cvar, disabled by default (corruption issues reported by licensees, plus not sure it's actually faster - could be slower due to reduced bandwidth; issues reported by licensees)
* Fix UpdateTexture2D to only create a staging texture of the region to update, saving memory
#jira UE-38609
Change 3206301 on 2016/11/21 by Ben.Woodhouse
Fixed GPU hang in Zone Map view. Was an issue with RenderThread using the device context without appropriate RHIThread flushes.
#jira FORT-31616
#code_review keith.judge
Change 3206144 on 2016/11/21 by Lukasz.Furman
improved path following sticking to tether bounds
#jira FORT-32097
Change 3206142 on 2016/11/21 by Lukasz.Furman
added post processing to navigation filters for making filter-bound paths (feedback iteration)
#fortnite
Change 3206053 on 2016/11/21 by Lukasz.Furman
added post processing to navigation filters for making filter-bound paths
#fortnite
Change 3205790 on 2016/11/21 by Lukasz.Furman
pass on flow field usage by EQS
Change 3205764 on 2016/11/21 by Lukasz.Furman
seeding AIModule's random stream from world manager, using random stream in EQS
#fortnite
Change 3205763 on 2016/11/21 by Lukasz.Furman
added random stream to AIModule
copy of CL# 3150031
Change 3205162 on 2016/11/19 by James.Hopkin
Added missiing depending on SSL to Linux HTTP. Fixes CrashReportClient linker errors.
Change 3205124 on 2016/11/19 by James.Hopkin
Enabled websockets and Stomp for Linux
Change 3205121 on 2016/11/19 by James.Hopkin
From Nick Shin's Dev-Platform shelf: upgrade/rebuild of libcrypto, libcurl, libssl, libwebsockets and zlib for Linux
#fyi Nick.Shin,Dmitry.Rekman,Bob.Tellez
Change 3205119 on 2016/11/19 by James.Hopkin
Added OpenSSL version 1.0.2h headers for x86_64-unknown-linux-gnu
#fyi Nick.Shin,Dmitry.Rekman,Bob.Tellez
Change 3204994 on 2016/11/18 by Billy.Bramer
- Sort the function results that show up in the blueprint "Copy signature from:" combo box
Change 3203688 on 2016/11/18 by James.Hopkin
#stomp Lower-cased FName strings before encoding to prevent random case at runtime.
Change 3201533 on 2016/11/16 by Mark.Satterthwaite
More auto-release pool/memory-handling fixes for Metal's debug layer, which depends upon ARC:
- Better handling of parallel context creation & pooling in MetalRHI.
- Metal queries return the actual value so that we can use local autorelease pools to capture ARC retain/autorelease calls in the debug layer.
- Similarly EndEncoding needs a local autorelease pool to handle the debug layer's ARC retain/autorelease calls.
#jira FORT-32706
Change 3201077 on 2016/11/16 by Mark.Satterthwaite
Trivial command-buffer fencing to avoid render-queries keeping MTLCommandBuffer's alive after they are completed, reducing total memory use.
#jira FORT-32706
Change 3200269 on 2016/11/16 by John.Abercrombie
Made GetPredictionData_Client_Character and GetPredictionData_Server_Character public
- Removed unnecessary code duplication in FortIndicator as a result
Change 3198230 on 2016/11/15 by James.Hopkin
#stomp Added dedicated server support to Stomp connection manager. Also fixed heartbeats and change retry strategy to retry forever, first retry after 5 seconds, doubling up to max interval of every minute.
Change 3197273 on 2016/11/14 by Mark.Satterthwaite
Fix Metal related memory leaks.
#jira FORT-32706
Change 3196974 on 2016/11/14 by Lukasz.Furman
increased distance to focal point for path following
copy of CL# 3196971
#jira FORT-32048
Change 3196885 on 2016/11/14 by John.Pollard
FORT-33019 - Fix crash when updating unmapped properties on replicator that was dormant
Change 3196772 on 2016/11/14 by John.Pollard
Speculative fix for assert when shutting down replicators
Change 3196617 on 2016/11/14 by Lukasz.Furman
improved readability of EQS results in gameplay debugger's table view
#fortnite
Change 3195394 on 2016/11/11 by John.Pollard
UE-37866 - Fix replication issue where unmapped properties wouldl fail to map if the replicator goes away due to dormancy
Change 3195272 on 2016/11/11 by Bob.Tellez
#Fortnite Fix warning output in UDataTable for missing row
Change 3195152 on 2016/11/11 by Lukasz.Furman
fixed target selection in gameplay debugger's spectator
#fortnite
Change 3195071 on 2016/11/11 by Lukasz.Furman
pass on EQS category of gameplay debugger
#fortnite
Change 3194111 on 2016/11/10 by Bob.Tellez
#UE4 if you have a checked out or out of date file in your rename list it is now properly skipped and reported after the rename.
Change 3193547 on 2016/11/10 by Bob.Tellez
#UE4 LODGroup is now AssetRegistrySearchable
Change 3193545 on 2016/11/10 by Bob.Tellez
#UE4 Allow setting the default LODGroup when importing a mesh
Change 3193541 on 2016/11/10 by Bob.Tellez
#UE4 LODGroup settings application on load. Enable this behavior by setting r.StaticMesh.UpdateMeshLODGroupSettingsAtLoad=1
Change 3192035 on 2016/11/09 by Saad.Nader
#engine Updated Migration of properties to handle static arrays properly from previous check-in.
Change 3191062 on 2016/11/08 by Saul.Abreu
Added accessor for all items in list views.
Change 3190998 on 2016/11/08 by Chris.Gagnon
Partially fixes a problem with the scale bax ignore inherited scale isn't working properly.
There is more to fix by adding float InScale or similar to the GetRelativeLayoutScale() call chain.
This portion will be handled by the tools team.
Change 3190812 on 2016/11/08 by Lukasz.Furman
fixed crash on path string pulling when path corridor is empty
#jira FORT-32811
Change 3190800 on 2016/11/08 by Saad.Nader
#engine Fixed a case where a static array uproperty wasn't being migrated properly since it was being treated as a single value.
Change 3189573 on 2016/11/07 by Bob.Tellez
#UE4 Since LightComponents now respect hiddeningame, I changed ALight to default to not be hidden in game. All components in the class that should not be seen are already bHiddenInGame=true on the component.
Change 3189268 on 2016/11/07 by Michael.Trepka
Check is MacApplication is still valid when making a deferred call to OnApplicationActivationChanged
Change 3189179 on 2016/11/07 by Michael.Trepka
Don't skip Mac windowDidResize: when switching between window modes. Fixes issues with screen not resizing properly when changing from windowed to windowed fullscreen
Change 3189154 on 2016/11/07 by Lukasz.Furman
added unbound exploration mode to A* solver
#ue4
Change 3189072 on 2016/11/07 by Saad.Nader
#commonui Added ability to skip the stack of activatable panels so that global input handling can handle input for dynamically created buttons on a modal. Updated name of base button style as its name was conflicting with legacy ui base button style.
Change 3188769 on 2016/11/07 by Guillaume.Abadie
Fixes r.SelectiveBasePassOutput and use it in Fortnite.
This CL adds a selective base pass optimization not drawing scene color when r.SelectiveBasePassOutput=1 on materials that doesn't emit color.
Use r.SelectiveBasePassOutput in Fortnite and avoid computing the fog in base pass to actually avoid drawing scene color.
#review-3187180 @brian.karis
Change 3187864 on 2016/11/04 by Bob.Tellez
#UE4 Better handling for setting return values in error cases where a function cannot be executed.
Change 3187815 on 2016/11/04 by Bob.Tellez
#UE4 Fix for SetLODGroup to trim LODs that are not needed.
Change 3187309 on 2016/11/04 by Lukasz.Furman
added projection and pathfinding to navigation graph
#fortnite
Change 3186304 on 2016/11/03 by Saul.Abreu
Made a pass on Common UI widgets, setting their widget palette category property or overriding the relevant virtual method in order to have a consistent value across all Common UI widgets.
Change 3186301 on 2016/11/03 by Saul.Abreu
Exposed ability to compare Slate brushes in Blueprints. Helpful for Icon Text Button to be able to hide its icon image if the icon brush is identical to the default (which is intentionally 0-sized/draw-type none).
Change 3185979 on 2016/11/03 by David.Hamm
Conditional gameplay effects with required tags were considering target tags in code, rather than source tags as presented in the editor. Updating the code allows the Bearricade tag to be seen, triggering the desired slow effect.
#jira FORT-32141
Change 3185534 on 2016/11/03 by Daniel.Broder
Made GameplayDebuggerCategory_EQS log the description of filtered items rather than just their index (which doesn't tell much).
#UE4 #NoReleaseNotes
Change 3185386 on 2016/11/03 by Daniel.Broder
"Actors of Class" EQS Generator now supports returning all actors matching the class rather than only actors within the radius based on a new checkbox "Generate Only Actors In Radius". For backwards compatibility, it defaults to true.
#UE4 #ReleaseNoteAbove
Change 3185370 on 2016/11/03 by Mark.Satterthwaite
Revert the only change to Metal texture uploads made in the merge leading up to 16/09/16 and disable more recent changes to reuse texture objects in the hope that this cures FORT-30180. If not then this will need to be handled by Apple/Nvidia as we're not doing anything obviously wrong on our side.
#jira FORT-30180
Change 3185249 on 2016/11/03 by Lukasz.Furman
added caching for neighbor count in template A* solver
#fortnite
Change 3184403 on 2016/11/02 by Daniel.Broder
Updated EnvQueryTest_GameplayTags to support Gameplay Tag Queries.
^^ReleaseNoteAbove
Data is automatically converted to the query from the old data format.
Gameplay Tag Queries give much more flexibility for how to mach the queries, since they can include entire expressions of what must match and/or not match.
#UE4 #ReleaseNoteAbove
Change 3184311 on 2016/11/02 by Daniel.Broder
Removed unnecessary if/else that was calling identical code in both parts! (Now it just calls the code directly).
Fixed spelling of ReturnValueAddress (from ReturnValueAdress).
#UE #NoReleaseNotes
Change 3183823 on 2016/11/02 by Mark.Satterthwaite
Record Metal resource & state objects used in a command-buffer when rhi.Metal.RuntimeDebugLevel is set to 3 or higher. The object labels, types & descriptions will be printed on failure - if the object is deleted prior to this then we have a lifetime error and it will crash at this point and can be debugged further using our -metalretainrefs command-line option or Xcode's zombie-objects.
Used to verify that FORT-31649 is not a simple resource lifetime error and thereby speed up Apple/vendor investigations.
#jira FORT-31649
Change 3183807 on 2016/11/02 by Mark.Satterthwaite
Change the way we access the Metal viewport's backbuffer, to reduce possible causes of FORT-31649:
- Added console variable "rhi.Metal.SupportsIntermediateBackBuffer" to control whether to use an extra render-target so we can support screenshots & movie capture, or render directly to the back-buffer to save memory & GPU performance. Still defaults to ON for Mac & OFF for iOS/tvOS.
- Change the way we handle updates to the back-buffer size to ensure that the different threads access their intended version.
#jira FORT-31649
Change 3183470 on 2016/11/02 by Bob.Tellez
#UE4 Lights with 0 intensity are now removed from the scene
Change 3183230 on 2016/11/02 by Bob.Tellez
#UE4 Console history no longer keeps duplicate entries
Change 3182547 on 2016/11/01 by Bob.Tellez
#UE4 Fixed an old bug which was causing thumbnail scenes to have incorrect lighting.
Change 3182498 on 2016/11/01 by Chris.Gagnon
Added ItemIcon widget and ItemCountTextBlock widget.
EpicCMSScreen derives from COmmonActivatable Panel.
Added CommonUIUtils with function to get a owning userwidget or contexts.
Begining of the new Topbar, and a number of supporting widgets.
Change 3182497 on 2016/11/01 by Chris.Gagnon
Engine:
GameViewportClient now has a global toggle to turn software cursor mapping on and off.
Fortnite:
Added software cursor, when using the gamepad we turn on the software cursor mapping. The asset is invisible.
This allows us to hide the cursor without all the baggage and undesired behavior that comes with that.
Change 3181853 on 2016/11/01 by Saad.Nader
#commonui
Added uproperty annotations to prevent garbage collection.
Updated code to cleanup internal caches to happen earlier.
Change 3181782 on 2016/11/01 by Bob.Tellez
#UE4 LightComponents now respect bHiddenInGame (and other visibility flags) when determining whether they should be added to the scene.
Change 3181516 on 2016/11/01 by Saad.Nader
#commonui
Added an action handler interface that I have been wanting for awhile.
Updated action widget to ignore design time changes since it relies on a common ui context instance.
Cleaned up activatable panel interface and commited events on a input action registered to be handled. Our activatable handle automatically handles things for now without asking blueprint if we should.
Cleanedup up miscellaneous activatable panel internals
Activatable panels can now choose to expose input actions registered to that panel.
Replaced activatable panel reflector with common input reflector
Added a common global input handler that implements the action handler interface
Updated common button and common tablist widgets appropriately to register with global input handler for appropriate actions.
Buttons now have separate triggering actions vs. triggered actions. Triggering actions can only be set during creation of the button whereas triggered actions can be set anytime.
Moved a lot of the boilerplate code for action button into common button to trigger and listen for actions, or register with the global input handler for triggering actions.
Fixed typos in common ui types.
Updated CommonUITestBed with new changes.
Change 3179753 on 2016/10/31 by Lukasz.Furman
replaced ensure with vlog warning in GameplayTask processing
#jira FORT-32324
Change 3178028 on 2016/10/28 by Lukasz.Furman
attempt to fix rare crash in crowd simulation
#jira FORT-27847
Change 3177966 on 2016/10/28 by James.Hopkin
Removed some redundant text/string copies and conversions in 'Find in Blueprints'
Change 3176795 on 2016/10/27 by Fred.Kimberley
Fixed the code path that grabs tooltip data for ability system components to respect the flag that shows buffs in the front end instead of final values.
#jira FORT-30491
Change 3175818 on 2016/10/26 by Bob.Tellez
#UE4 Protecting against a nullptr access in FVisibilityPropertySection::GenerateSectionLayout. More investigation is needed to determine if this should be allowed to be null.
Change 3175615 on 2016/10/26 by Michael.Trepka
Check if MacApplication is valid in FMacApplication::OnCursorLock() block that's called asynchronously and can be executed after MacApplication was destroyed. Fixes FORT-32075
Change 3175369 on 2016/10/26 by Saul.Abreu
Refactored CreateWidget functions to share UserWidgetClass validation logic and fixed a missing early-out return statement.
Change 3175233 on 2016/10/26 by Saul.Abreu
#fortnite
Common Button now properly handles its interactibility changing when it's toggleability has changed - previously, being selected when toggling is turned on would leave the button non-interactible and thus not practically toggleable.
Change 3174285 on 2016/10/25 by Mark.Satterthwaite
Fix command-buffer failures when resizing windows on Mac - we have to capture windowWillResize: events in our window delegate and then forward on a call to Slate's OnResizingWindow event handler, that internally causes rendering to flush. If we wait to do this in windowDidResize then the actual device back-buffer resource will have been reallocated and we presumably end up trying to render into garbage memory on the GPU, causing the intermittent command-buffer failures.
#jira FORT-31649
Change 3173872 on 2016/10/25 by Bob.Tellez
#UE4 Fixed an issue where if you have a map with actors that produce a ZeroVector bounds size, SetActorTransform complains.
Change 3172828 on 2016/10/24 by Saul.Abreu
Added useful contextual information to the message log errors provided when attempting to create widgets but failing.
Change 3172649 on 2016/10/24 by Michael.Trepka
Call setMinSize and setMaxSize in FMacApplication::OnCursorLock() on the main thread
#jira FORT-30177
Change 3172568 on 2016/10/24 by Saad.Nader
#commonui Exposed a flag to reflector to not show actions for an activtable panel if we don't want them exposed.
Change 3172341 on 2016/10/24 by Mark.Satterthwaite
Fix FORT-31526 by setting appropriate defaults for FEditorCompositingParameters when the feature isn't being used, as Metal still requires something be bound for the values. This all stems from Fortnite using GizmoMaterial somehow when whacking Llamas to reveal the cards contained within - I suspect the 'real' fix is not to use an Editor material in the game client...
#jira FORT-31526
Change 3172304 on 2016/10/24 by James.Longstreet
#fortnite #jira FORT-31090 Add setting to configure whether the virtual keyboard sends TextChanged or TextCommitted when complete.
Add SlateSettings to project settings, for settings that need to be accessed from Slate -- the Slate module doesn't depend on Engine, so it can't access UserInterfaceSettings or InputSettings.
Default to TextChanged in Fortnite.
Change 3171630 on 2016/10/24 by Saul.Abreu
#fortnite
Added API export to Common List View.
Added support to Common List View for changing selection modes.
Added delegate to Common List View to support hook-ups on creation of new list item widgets.
Improved Common List View handling of item widgets that are buttons - no need to handle manually hooking up the list item clicked callback to the button.
Change 3171474 on 2016/10/22 by Saul.Abreu
#fortnite
New numeric text block.
Change 3171463 on 2016/10/22 by Saad.Nader
#commonui
Added the common action widget which can visualize the input of an activatable panel or button.
Added the common activatable panel reflector widget so we can build a bar widget which can visualize the actions an activatable panel have registered to handle.
Cleaned up the input manager's handling of pushing and poping activatable panels
Updated widget switcher to completely push or pop tabs on or off the stack so that the stack is clean of any items not in the current tab.
Updated common ui context to expose API blueprint.
Updated input action data to make better sense in common ui types
Added a viewport client to redirect input for the common ui test bed.
Added a completion delegate for listeners such as a button in a activatable panel reflector widget.
Added test harness for activatable panel, activatable panel reflector, action widget
Change 3170868 on 2016/10/21 by Jeff.Campeau
AutoSDK props included earlier
Change 3170663 on 2016/10/21 by Mark.Satterthwaite
Further changes to finally fix the underlying cause of FORT-25473 and all future potential instances: SetStreamSource overrides the stride from the vertex declaration and MetalRHI wasn't properly considering what to do with Stride=0, which should disabling vertex attribute stepping. This also requires fixing some gotcha's in the StateCache.
#jira FORT-25473
Change 3170020 on 2016/10/20 by Bob.Tellez
#UE4 Render scale was off by one when setting via buckets in the editor widget.
Change 3169764 on 2016/10/20 by Mark.Satterthwaite
Fixed automatic conversion of G8_sRGB into RGBA8_sRGB required for Mac Metal, which fixes FORT-27627.
#jira FORT-27627
Change 3169631 on 2016/10/20 by Mark.Satterthwaite
Fix a potential crash due to unnecessary reinitialisation of the MetalRenderPipelineDesc mutex.
Change 3169614 on 2016/10/20 by Mark.Satterthwaite
Fix FORT-25473 caused by incorrect handling of vertex attributes in Metal: FParticleSpriteVertexFactory specifies the dynamic particle parameter attribute (VA 5) with a non-zero stride, which implies vertex or instance stepping - but for the P_Rocket_ColdMist_FXV effect only a single float4 is provided with the intent that this be constant for all instances. Other APIs may implicitly wrap the VA read back around but Metal does not and simply reads garbage off the end of the buffer - potentially this could even cause a GPU crash. MetalRHI now detects when the buffer bound to an attribute can't support more than one instance and if needed updates the vertex declaration to make such attributes constant.
#jira FORT-25473
Change 3169163 on 2016/10/20 by Fred.Kimberley
Added UIProxyActor. This is intended as a single proxy actor to replace the existing, class specific, proxy actors.
Change 3168732 on 2016/10/20 by Saul.Abreu
Exposed style references in UCommonTextBlock. Allows widgets to look at the styles on the CDO.
Change 3168713 on 2016/10/20 by Saul.Abreu
Fixed unconditional inclusion of Developer module headers (settings module) in client builds from Common UI module.
Change 3168659 on 2016/10/20 by Saul.Abreu
Created and exposed SetMinDesiredWidth on UTextBlock, following the example set by other setters in the class.
Change 3168658 on 2016/10/20 by Saul.Abreu
The Common UI plugin now has a settings object which will appear in the project settings window. It exposes setting default styles for both CommonTextBlock and CommonButton in the Game config file.
Change 3167632 on 2016/10/19 by John.Pollard
Fix FN replay scrubbing issues
* Solution for net startup actors that need to be "rolled back" during scrubbing if they've been modified
* Solution for when net startup actors should be deleted past checkpoints
* Added version support to load older replays that don't save out deleted net startup actors in checkpoints
Change 3166065 on 2016/10/18 by Saad.Nader
#commonui renaming UCommonActivatableManager to UCommonInputManager, added ability to change input method for desktop and console.
Change 3166049 on 2016/10/18 by Lukasz.Furman
added navmesh exploration helpers in FortNavMesh
#fortnite
Change 3165085 on 2016/10/17 by Saad.Nader
#blueprintcontext fixed log output for created blueprint context
Change 3163115 on 2016/10/14 by James.Hopkin
Prevented variable combo box clipping long type names in blueprint details panel
[UE-19710]
Change 3162629 on 2016/10/13 by Saul.Abreu
#fortnite
#jira FORT-31489
Ported Paragon's tile view widget over to the Common UI Plugin as Common Tile View. Added exemplar/test case in Common UI testbed.
Change 3162624 on 2016/10/13 by Saul.Abreu
Improved "Create Event" node with text showing the function signature in a friendly manner.
Change 3162114 on 2016/10/13 by Guillaume.Abadie
Implements r.EarlyZPassOnlyMaterialMasking.
Fortnite grass/trees is using masked material. However masked materials are doing clip in early z pass and base pass, both preventing the pixel shader from using the early depth test. This CL execute material's mask opacity only in the early z pass to keep early depth test on expensive mask material's base pass pixel shader.
Change 3161479 on 2016/10/13 by Saad.Nader
#commonui Updated Common button to be able to handle a bound common input action by causing the button to get clicked.
Updated Activatable panel to ignore input if it is not activated
Added helper functions to common widget switcher for activating/deactivating the active widget if it is a activatable panel.
Change 3161092 on 2016/10/13 by Saul.Abreu
#fortnite
Common Tab List widget now exposes access to its linked switcher as well as overridable events before and after the linked switcher is set. OnCreateNewTab can now be implemented in native code or blueprints. Buttons added as tabs in the tab list will now have their selectabilty and toggleability set as necessary.
Change 3160762 on 2016/10/12 by Billy.Bramer
- Make UAbilitySystemComponent::AreAbilityTagsBlocked virtual so games can provide a custom implementation
Change 3160736 on 2016/10/12 by Lukasz.Furman
fixed some gameplay debugger's categories not rendering correctly in simulate mode
#fortnite
Change 3160417 on 2016/10/12 by Mark.Satterthwaite
Disable DistanceField AO & Shadowing support on Intel GPUs under Metal - there are driver bugs that prevent them from working currently.
#jira FORT-31268
Change 3160314 on 2016/10/12 by Michael.Trepka
Fixed incorrect rect initialization in Mac GetDisplayMetrics
Change 3160309 on 2016/10/12 by Lukasz.Furman
pass on gameplay debugger in Simulate in Editor mode
copy of CL 3160014
#ue4
Change 3159892 on 2016/10/12 by John.Abercrombie
Fixed the Blackboard component pausing but never being unpaused if we ended up restarting the Behavior Tree instead of continuing
#ue4
Change 3159630 on 2016/10/12 by Jamie.Dale
Fixed an issue where async and non-async loading could result in the package being given a different name
Async loading would always use the non-localized name (which is correct), but non-async loading would sometimes use the localized name (which is incorrect); now they both do the same thing.
Change 3159249 on 2016/10/11 by Jonathan.Lindquist
fixing a potential uv bug related to their names
Change 3159145 on 2016/10/11 by Lukasz.Furman
fixed behavior tree task restart conditions
#ue4
Change 3158846 on 2016/10/11 by John.Pollard
Add ability to override network async loading for replays
Change 3158551 on 2016/10/11 by Saad.Nader
#commonui remove checks for common tab list widget when set listening for input occurs.
Change 3157727 on 2016/10/10 by Saul.Abreu
#fortnite
Common button style now has minimum width and minimum height properties and common button will use the maximum of its own and the style's minimums.
Change 3157364 on 2016/10/10 by Jamie.Dale
Split localized package redirection out of FCoreDelegates::PackageNameResolvers
They're different enough in behavior that the delegate resolution was breaking the localized package resolution by resolving in too many places and causing the localized package to be loaded with its real localized name as well as the fake non-localized name.
#jira FORT-31207
Change 3156616 on 2016/10/10 by Lukasz.Furman
added more failsafes to crowd simulation crash
#jira FORT-27847
Change 3155092 on 2016/10/07 by Chris.Gagnon
SlateApplication
- Added more control over where navigation originates from with the ENavigationSource enumeration piped in through the FReply
- Added custom handling support for the navigation responce using the FCustomNavigationHandler
Fortnite
- Added Input Preprocessor for generating navigation events and handling the "virtual cursor" position
- Added the Input mode switching support for gamepad <-> keyboard (Currently disabled)
Change 3154721 on 2016/10/07 by Lukasz.Furman
automation fix for AI tests with multiple spawn sets
copy of CL# 3154035
#jira FORT-31106
Change 3154466 on 2016/10/07 by Saul.Abreu
#fortnite
Additional logging and checking to help diagnose cause of current build breakage, possibly related to blueprint context OR unrelated but coincidental and related to game data or homebase manager.
Change 3154349 on 2016/10/06 by Saul.Abreu
#fortnite
Relocate BP context and common UI plugins to Engine (NotForLicensees).
Change 3152396 on 2016/10/05 by Lukasz.Furman
fixed RECAST_ASYNC_REBUILDING define being ignored by navmesh generator
#ue4
Change 3152390 on 2016/10/05 by Lukasz.Furman
including AgentRadius in area modifier bounds in layer's intersection test
fixes modifier cuts at tile boundary
#jira FORT-31051
Change 3151999 on 2016/10/05 by Lukasz.Furman
added vlogs for applying and removing gameplay effects
#jira FORT-30982
Change 3150947 on 2016/10/04 by Bob.Tellez
#UE4 Fix to find the title.json file in the correct game folder.
Change 3149775 on 2016/10/03 by Bob.Tellez
#UE4 Added property editor code support for doubles.
Change 3148729 on 2016/10/03 by Lukasz.Furman
fixed memory corruption in DemoNetDriver
#fortnite
Change 3146148 on 2016/09/29 by Bob.Tellez
#UE4 Fixed a case where the LastRecordedHittestIndex would remain zero, causing the widget path to get truncated and result in the mainframe window when determining if you should spawn a tooltip, causing us to try to create a tooltip outside of our tooltip presenter widget, causing a new window to be created and a crash to happen on consoles.
#JIRA FORT-30378
Change 3146016 on 2016/09/29 by Daniel.Broder
Added BlueprintGameplayTagLibrary function "Get All Actors of Class Matching Query".
It uses TActorIterator to find only all actors derived from the specified class and then further winnows them by whether they match a GameplayTagQuery. If any actor does NOT implement IGameplayTagAssetInterface, the function will log ONCE a warning that the class in question doesn't implement the required interface to be able to check for matching tags. (NOTE: This function can be extremely expensive if there are a large number of actors of the class requested, so be cautious using it.
It can be used at initialization time to find a specific subset of actors to act on (for example).
#UE4 #ReleaseNote
Change 3145827 on 2016/09/29 by Lukasz.Furman
added sanity checks to EQS tick
#jira FORT-30755
Change 3145520 on 2016/09/29 by Chad.Garyet
changing notifications to require there be a type to verify the user exists
#jira FORT-30754
Change 3145428 on 2016/09/29 by Bob.Tellez
#UE4 Made plugin loaded log statements verbose.
Change 3145229 on 2016/09/29 by Bob.Tellez
#UE4 Fix for only running the first test on commandline
Change 3142730 on 2016/09/27 by Bob.Tellez
#UE4 Removing needless scope on a virtual function call that made it seem static and made UpdateResolutionQuality protected so it can be called from subclasses that may be procedurally determining DesiredScreenWidth and DesiredScreenHeight
Change 3142632 on 2016/09/27 by Saul.Abreu
#fortnite
Improved data table row struct post-data-import method with more context provided through parameters. Used to fixup homebase node display names to have stable keys generated from the row name.
Change 3140907 on 2016/09/26 by Bob.Tellez
#UE4 Allowing movie files to be renamed to match platform requirements
Change 3140399 on 2016/09/26 by Lukasz.Furman
fixed uninitialized configs of gameplay debugger
#jira FORT-30439
Change 3138880 on 2016/09/23 by Fred.Kimberley
Added source tag requirements to conditional gameplay effects.
#jira FORT-29772
Change 3138262 on 2016/09/23 by Chad.Garyet
Integrating codesign fix into Fortnite/Main
Change 3137164 on 2016/09/22 by Mark.Satterthwaite
Add stats to track exactly how many command buffers are allocated and committed each frame to work out why Fortnite on AMD is hanging, which turns out to be because each texture update/reallocation ends up in its own command-buffer. This needs to be rethought to pack these into fewer command buffers with the same synchronisation requirements to minimise command-buffer splits but for now we'll just make the default sufficiently large that we shouldn't see the hang until the work is done. Also ensure that command-buffer failure is always fatal - there is no way to recover or continue if a command-buffer fails.
#jira FORT-30377
Change 3136720 on 2016/09/22 by Rob.Cannaday
Fix crash in FCurlHttpRequest::DebugCallback
+ Specify the string length to FString's constructor as the result from StringCast is not null terminated if the string's length is specified (instead of assuming null termination).
#jira OGS-428
Change 3136391 on 2016/09/22 by Lukasz.Furman
fixed crowd path section switch rejecting navlinks at end of path
#jira FORT-30400, FORT-30402
Change 3136295 on 2016/09/22 by Lukasz.Furman
fixed navlinks not connecting to navmesh correctly in "snap to cheapest area" mode,
adjusted scoring in navmesh projection - findNearestPoly2D
#jira FORT-30358
Change 3136033 on 2016/09/22 by Mark.Satterthwaite
To fix the Fortnite login screen force Nvidia Macs to use the set*Bytes API for small buffer updates even on El Capitan. We can't do this globally as Intel didn't implement these functions until macOS Sierra.
Fix GPU selection code in MetalRHI to confirm everything is working.
#jira FORT-30385
Change 3135237 on 2016/09/21 by Mark.Satterthwaite
Metal validation layer fix: under Metal if there are no reads from the vertex stage-in buffers we should use the Empty vertex declaration, not the filter declaration, otherwise we have to bind a redundant vertex stream buffer to silence the validation layer.
Change 3135177 on 2016/09/21 by Rob.Cannaday
Demote "Missing party state during exit" log from warning to display, as order of operations cause this to always be triggered when voluntarily leaving a party
#jira FORT-22575
Change 3135176 on 2016/09/21 by Rob.Cannaday
When returning to front-end, re-evaluate pending party joins that were in the waiting for beacon reservation state.
#jira FORT-27737
Change 3135174 on 2016/09/21 by Mark.Satterthwaite
- Copy MetalRHI & MetalShaderFormat from Dev-Rendering CL #3132772
Provides significant performance improvements on CPU due to improved vertex declaration handling & much reduced GPU heap fragmentation + more stats.
Definitely fixes:
#jira FORT-29430
Change 3135169 on 2016/09/21 by Mark.Satterthwaite
Correct Metal texture creation for AVF media framework - we can't provide a render-targetable version of the texture without blitting. The native texture we get is a GPU copy that can be made CPU accessible (i.e. it is not tiled).
Change 3135157 on 2016/09/21 by Mark.Satterthwaite
Fix one cause of Metal crashes loading into a zone - the PlanarReflection shader code needs to always set the IsStereoParameter so that the shader can perform the if-test without causing an invalid GPU access.
#jira FORT-30061
Change 3135136 on 2016/09/21 by Bob.Tellez
#UE4 Added GetPackageDependenciesForManifestGenerator delegate for games to be able to determine package dependencies however they deem fit.
Change 3135132 on 2016/09/21 by Bob.Tellez
#UE4 Better final cook platform path creation. WindowsClient was incorrectly forming a path to WindowsNoEditor when looking for chunk manifests
Change 3134313 on 2016/09/21 by Lukasz.Furman
attempt to fix crash in navmesh generation
#jira FORT-30340
Change 3134091 on 2016/09/21 by Rob.Cannaday
Fix crash in lib curl debug callback because the string parameter provided by libcurl is not null terminated
#jira OGS-428
Change 3133949 on 2016/09/21 by Lukasz.Furman
crowd agents will use shorter path corridor when one of two last polys are navlink
(corridor part switch happens with 2 or less polys left, we don't want to switch while on navlink)
#jira FORT-29880
Change 3133219 on 2016/09/20 by Lukasz.Furman
fixed broken navlink's "snap to cheapest area" mode
#fortnite
Change 3133087 on 2016/09/20 by Saul.Abreu
Updated comments on FARFilter to more explicitly express interactions between class filtering settings.
Change 3132990 on 2016/09/20 by Saul.Abreu
#fortnite
Overhaul of asset crawling localizable text gathering commandlet. Added feature for filtering processed assets based on membership in a collection.
Change 3132627 on 2016/09/20 by Bob.Tellez
#Fortnite Added XLoc language ID for for zh-CN
Change 3132616 on 2016/09/20 by Lukasz.Furman
added tolerance to navmesh project point 2D query
added overrides for accessing projection with tolerance during navwalking height checks, should be replaced with navdata flags later on
#jira FORT-29474
Change 3130819 on 2016/09/19 by Ben.Marsh
UBT: Read additional configuration settings for BuildConfiguration and UEBuildConfiguration from the engine config settings. Allows setting project-specific config values.
Change 3130639 on 2016/09/19 by Lukasz.Furman
pass on crowd simulation
- husks should move faster through funnels now
- husks can clip each other a bit more often :(
#fortnite
Change 3130625 on 2016/09/19 by Bob.Tellez
#UE4 Added an ensure to further track down invalid usage of playerinput
#JIRA FORT-30183
Change 3128884 on 2016/09/16 by Ben.Salem
Repair nightly FTest runs. FTests are now namespaced differently as of new main merge, and had to uncomment a load-bearing wait that exists to enable the way we run our nightlies (nullrhi w/ execcmds) to start the test properly.
Change 3128874 on 2016/09/16 by Daniel.Lamb
Testing to see if memory changes have injured fortnite cook times.
Change 3127175 on 2016/09/15 by John.Abercrombie
GameplayCueInterface's TagToFunctionMap is now keyed by FObjectKey of a UClass, rather than using the UClass as the key
- Since UClass-es can be unloaded at run-time, and then loaded again later in a different spot in memory, this is a better solution
Clear out the TagToFunctionMap whenever we cleanup a world
Move the TagToFunctionMap into a namespace
#jira FORT-29194 - Crash during Fight the Storm Defense
Change 3126840 on 2016/09/15 by Bob.Tellez
#UE4 Added a hack to aid in the conversion from the "USA" and "Poland" region names to "NA" and "EU"
Change 3125944 on 2016/09/14 by Billy.Bramer
- Fix for FJsonObjectWrapper incorrectly exporting to JSON in a string representation instead of an object representation now that it has an implementation of export text
Change 3125764 on 2016/09/14 by Saul.Abreu
Change to enum and struct registration so that their packages are all created before either set gets to run their registration logic.
Change 3125719 on 2016/09/14 by Bob.Tellez
#UE4 Windows in nullrhi do not have OS handles and not initializing you parent window causes a crash when you start PIE (needed for headless automation testing)
Change 3125504 on 2016/09/14 by jonathan.lindquist
adding a comment to the exclude wpo offsets input
Change 3124203 on 2016/09/13 by Bob.Tellez
Temporarily removing IOS.Automation.csproj dependency on MobileDeviceInterface since it is causing warnings in UGS right now.
Change 3124192 on 2016/09/13 by Tim.Tillotson
Fix bad format string in FLinkerLoad::VerifyImport
Warning:
[2016.09.13-18.49.05:928][927]LogText:Warning: Failed to parse argument "ImportClass" as a number (using "0" as a fallback). Please check your format string for
errors: ": Failed import for {ImportClass}".
Change 3124083 on 2016/09/13 by Bob.Tellez
#UE4 Re-disabling EQFilter for all machines. This is a temporary solution until a more efficient method is found that does not cause machines to lag.
Change 3123783 on 2016/09/13 by Jonathan.Lindquist
Subtacting 1 from the VAT tools output texture file name uv number to match unreals 0-based system.
Change 3122223 on 2016/09/12 by Jonathan.Lindquist
Adding optional uv controls for the texture based animations
Change 3122220 on 2016/09/12 by jonathan.lindquist
adding an optional uv input for the Vertex animation toolset
Change 3122070 on 2016/09/12 by John.Abercrombie
Added nav links to corner walls, rather than depending on a nav area to traverse the low edge of the corner
Made crowd folowing component use the velocity while traversing a link, except if we're falling
AIs will not update their paths while following a nav link
Lowered the step height of all AIs from 90 to 72
#jira FORT-29786 - Husks can move over the balcony wall on floor structures.
Change 3121098 on 2016/09/12 by Chris.Wood
Increased Linux timeout when waiting for CRC to complete.
[UE-30259] - Some server crashes are missing from crashreporter database
#jira UE-30259
Change 3120694 on 2016/09/12 by Saul.Abreu
#fortnite
Refactored CMS reader to support URLs with protocols (http, https, and file). URIs (URL sans protocol) will no longer work, but we can add in smart fallback logic later, as this is only in Fortnite currently and the only CMS data available currently is via local file. Console command will handle URLs using double quotes, since the colon trips up existing console command parsing logic (it seems).
Change 3120686 on 2016/09/11 by Saul.Abreu
#fortnite
Deleting erroneous config files in EpicCMS plugin.
Change 3120659 on 2016/09/11 by Saul.Abreu
Added support to widget carousel for getting a callback when the active widget changes. (Not sure who the original author was, but the oldest tracked revision codereview'd Justin Sargent.)
Change 3120658 on 2016/09/11 by Saul.Abreu
Fixed UMG grid panel to properly set the padding on the slots it creates.
Change 3118466 on 2016/09/08 by Bob.Tellez
#UE4 There is now an option to exclude all UMG widgets and slots from dedicated server builds. Set bLoadWidgetsOnDedicatedServer=false for this behavior
Change 3118149 on 2016/09/08 by Bob.Tellez
#UE4 Dont cook non-native CDO references that are excluded for your target
Change 3117604 on 2016/09/08 by John.Abercrombie
FortGameModeFTesting no longer spawns a pawn
Added automated test setting to FortGameMode so we can avoid waiting for a pawn before removing the loading screen
Made the FunctionalTest set the view target to the Observation Point if we don't have a pawn, note that this only works on Player Controllers that aren't Debug Camera Controllers so we don't annoy any user who's moving around
Change 3116964 on 2016/09/07 by Bob.Tellez
#Fortnite We are now building crashreportclient for linux instead of using the stale binary in P4
Change 3116284 on 2016/09/07 by Tim.Tillotson
#fortnite Add support for quest objectives that track player ability activation.
As part of this also:
+Added a bWasCancelled parameter to GameplayAbility::EndAbility. This allows us to determine if an ability was ended prematurely.
+Added a OnAbilitySucceeded delegate for determining when an ability was successfully ended.
Some additional improvements thanks to code review feedback from Fred.Kimberley.
After discussing with Matt Hancy we decided to keep the OnAbilityCompleted delegate for now. We may be able to deprecate and remove it in the future if we rewrite all the existing abilities that use it.
Change 3116039 on 2016/09/07 by John.Abercrombie
Fix crash when you change the blueprint of a class referenced by a gameplay cue between PIE runs
[CL 3215544 by Bob Tellez in Main branch]
2016-11-30 14:12:57 -05:00
for ( const FAssetRenameDataWithReferencers & AssetToRename : AssetsToRename )
2014-10-14 10:33:22 -04:00
{
Copying //UE4/Fortnite-Staging to //UE4/Dev-Main (Source: //Fortnite/Main @ 3212531)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3212485 on 2016/11/28 by Dmitry.Rekman
Update libwebsockets to use -fPIC.
Change 3212280 on 2016/11/28 by Guillaume.Abadie
Fixes static lighting regression caused by selective outputs fix.
Change 3211095 on 2016/11/28 by Ian.Fox
#UE4 - Add nullptr check to cookonthefly server ini check
Change 3211042 on 2016/11/28 by Bob.Tellez
#UE4 Add an option to reset a particle system comp on a camera lens emitter when it is retriggered
Change 3209336 on 2016/11/23 by Rob.Cannaday
Fix shutdown crash trying to cancel an HTTP request after the HTTP module has been unloaded
Move the cancel call to the PreUnload step
#jira FORT-33515
Change 3208350 on 2016/11/22 by Jeff.Campeau
Added bVirtualKeyboardDisplayOnFocus to Slate settings defaulted to true (old behavior)
Always open a virtual keyboard when the facebutton bottom is pressed on an active text field
Do not open a virtual keyboard on focus gained by any method other than mouse if bVirtualKeyboardDisplayOnFocus is set to false
#jira FORT-30722
Change 3207430 on 2016/11/22 by James.Hopkin
#fortnite Applied changes from CL#3161737 (UE4/Main) to stage and package SSL certificate bundles.
Change 3207422 on 2016/11/22 by Ben.Woodhouse
* Fix UpdateTexture3D to create a staging texture of the region to update rather than the whole texture. This prevents distance fields crashing during update (allocating 18GB per frame in some cases)
* Put UpdateTexture2D DMA support onto a cvar, disabled by default (corruption issues reported by licensees, plus not sure it's actually faster - could be slower due to reduced bandwidth; issues reported by licensees)
* Fix UpdateTexture2D to only create a staging texture of the region to update, saving memory
#jira UE-38609
Change 3206301 on 2016/11/21 by Ben.Woodhouse
Fixed GPU hang in Zone Map view. Was an issue with RenderThread using the device context without appropriate RHIThread flushes.
#jira FORT-31616
#code_review keith.judge
Change 3206144 on 2016/11/21 by Lukasz.Furman
improved path following sticking to tether bounds
#jira FORT-32097
Change 3206142 on 2016/11/21 by Lukasz.Furman
added post processing to navigation filters for making filter-bound paths (feedback iteration)
#fortnite
Change 3206053 on 2016/11/21 by Lukasz.Furman
added post processing to navigation filters for making filter-bound paths
#fortnite
Change 3205790 on 2016/11/21 by Lukasz.Furman
pass on flow field usage by EQS
Change 3205764 on 2016/11/21 by Lukasz.Furman
seeding AIModule's random stream from world manager, using random stream in EQS
#fortnite
Change 3205763 on 2016/11/21 by Lukasz.Furman
added random stream to AIModule
copy of CL# 3150031
Change 3205162 on 2016/11/19 by James.Hopkin
Added missiing depending on SSL to Linux HTTP. Fixes CrashReportClient linker errors.
Change 3205124 on 2016/11/19 by James.Hopkin
Enabled websockets and Stomp for Linux
Change 3205121 on 2016/11/19 by James.Hopkin
From Nick Shin's Dev-Platform shelf: upgrade/rebuild of libcrypto, libcurl, libssl, libwebsockets and zlib for Linux
#fyi Nick.Shin,Dmitry.Rekman,Bob.Tellez
Change 3205119 on 2016/11/19 by James.Hopkin
Added OpenSSL version 1.0.2h headers for x86_64-unknown-linux-gnu
#fyi Nick.Shin,Dmitry.Rekman,Bob.Tellez
Change 3204994 on 2016/11/18 by Billy.Bramer
- Sort the function results that show up in the blueprint "Copy signature from:" combo box
Change 3203688 on 2016/11/18 by James.Hopkin
#stomp Lower-cased FName strings before encoding to prevent random case at runtime.
Change 3201533 on 2016/11/16 by Mark.Satterthwaite
More auto-release pool/memory-handling fixes for Metal's debug layer, which depends upon ARC:
- Better handling of parallel context creation & pooling in MetalRHI.
- Metal queries return the actual value so that we can use local autorelease pools to capture ARC retain/autorelease calls in the debug layer.
- Similarly EndEncoding needs a local autorelease pool to handle the debug layer's ARC retain/autorelease calls.
#jira FORT-32706
Change 3201077 on 2016/11/16 by Mark.Satterthwaite
Trivial command-buffer fencing to avoid render-queries keeping MTLCommandBuffer's alive after they are completed, reducing total memory use.
#jira FORT-32706
Change 3200269 on 2016/11/16 by John.Abercrombie
Made GetPredictionData_Client_Character and GetPredictionData_Server_Character public
- Removed unnecessary code duplication in FortIndicator as a result
Change 3198230 on 2016/11/15 by James.Hopkin
#stomp Added dedicated server support to Stomp connection manager. Also fixed heartbeats and change retry strategy to retry forever, first retry after 5 seconds, doubling up to max interval of every minute.
Change 3197273 on 2016/11/14 by Mark.Satterthwaite
Fix Metal related memory leaks.
#jira FORT-32706
Change 3196974 on 2016/11/14 by Lukasz.Furman
increased distance to focal point for path following
copy of CL# 3196971
#jira FORT-32048
Change 3196885 on 2016/11/14 by John.Pollard
FORT-33019 - Fix crash when updating unmapped properties on replicator that was dormant
Change 3196772 on 2016/11/14 by John.Pollard
Speculative fix for assert when shutting down replicators
Change 3196617 on 2016/11/14 by Lukasz.Furman
improved readability of EQS results in gameplay debugger's table view
#fortnite
Change 3195394 on 2016/11/11 by John.Pollard
UE-37866 - Fix replication issue where unmapped properties wouldl fail to map if the replicator goes away due to dormancy
Change 3195272 on 2016/11/11 by Bob.Tellez
#Fortnite Fix warning output in UDataTable for missing row
Change 3195152 on 2016/11/11 by Lukasz.Furman
fixed target selection in gameplay debugger's spectator
#fortnite
Change 3195071 on 2016/11/11 by Lukasz.Furman
pass on EQS category of gameplay debugger
#fortnite
Change 3194111 on 2016/11/10 by Bob.Tellez
#UE4 if you have a checked out or out of date file in your rename list it is now properly skipped and reported after the rename.
Change 3193547 on 2016/11/10 by Bob.Tellez
#UE4 LODGroup is now AssetRegistrySearchable
Change 3193545 on 2016/11/10 by Bob.Tellez
#UE4 Allow setting the default LODGroup when importing a mesh
Change 3193541 on 2016/11/10 by Bob.Tellez
#UE4 LODGroup settings application on load. Enable this behavior by setting r.StaticMesh.UpdateMeshLODGroupSettingsAtLoad=1
Change 3192035 on 2016/11/09 by Saad.Nader
#engine Updated Migration of properties to handle static arrays properly from previous check-in.
Change 3191062 on 2016/11/08 by Saul.Abreu
Added accessor for all items in list views.
Change 3190998 on 2016/11/08 by Chris.Gagnon
Partially fixes a problem with the scale bax ignore inherited scale isn't working properly.
There is more to fix by adding float InScale or similar to the GetRelativeLayoutScale() call chain.
This portion will be handled by the tools team.
Change 3190812 on 2016/11/08 by Lukasz.Furman
fixed crash on path string pulling when path corridor is empty
#jira FORT-32811
Change 3190800 on 2016/11/08 by Saad.Nader
#engine Fixed a case where a static array uproperty wasn't being migrated properly since it was being treated as a single value.
Change 3189573 on 2016/11/07 by Bob.Tellez
#UE4 Since LightComponents now respect hiddeningame, I changed ALight to default to not be hidden in game. All components in the class that should not be seen are already bHiddenInGame=true on the component.
Change 3189268 on 2016/11/07 by Michael.Trepka
Check is MacApplication is still valid when making a deferred call to OnApplicationActivationChanged
Change 3189179 on 2016/11/07 by Michael.Trepka
Don't skip Mac windowDidResize: when switching between window modes. Fixes issues with screen not resizing properly when changing from windowed to windowed fullscreen
Change 3189154 on 2016/11/07 by Lukasz.Furman
added unbound exploration mode to A* solver
#ue4
Change 3189072 on 2016/11/07 by Saad.Nader
#commonui Added ability to skip the stack of activatable panels so that global input handling can handle input for dynamically created buttons on a modal. Updated name of base button style as its name was conflicting with legacy ui base button style.
Change 3188769 on 2016/11/07 by Guillaume.Abadie
Fixes r.SelectiveBasePassOutput and use it in Fortnite.
This CL adds a selective base pass optimization not drawing scene color when r.SelectiveBasePassOutput=1 on materials that doesn't emit color.
Use r.SelectiveBasePassOutput in Fortnite and avoid computing the fog in base pass to actually avoid drawing scene color.
#review-3187180 @brian.karis
Change 3187864 on 2016/11/04 by Bob.Tellez
#UE4 Better handling for setting return values in error cases where a function cannot be executed.
Change 3187815 on 2016/11/04 by Bob.Tellez
#UE4 Fix for SetLODGroup to trim LODs that are not needed.
Change 3187309 on 2016/11/04 by Lukasz.Furman
added projection and pathfinding to navigation graph
#fortnite
Change 3186304 on 2016/11/03 by Saul.Abreu
Made a pass on Common UI widgets, setting their widget palette category property or overriding the relevant virtual method in order to have a consistent value across all Common UI widgets.
Change 3186301 on 2016/11/03 by Saul.Abreu
Exposed ability to compare Slate brushes in Blueprints. Helpful for Icon Text Button to be able to hide its icon image if the icon brush is identical to the default (which is intentionally 0-sized/draw-type none).
Change 3185979 on 2016/11/03 by David.Hamm
Conditional gameplay effects with required tags were considering target tags in code, rather than source tags as presented in the editor. Updating the code allows the Bearricade tag to be seen, triggering the desired slow effect.
#jira FORT-32141
Change 3185534 on 2016/11/03 by Daniel.Broder
Made GameplayDebuggerCategory_EQS log the description of filtered items rather than just their index (which doesn't tell much).
#UE4 #NoReleaseNotes
Change 3185386 on 2016/11/03 by Daniel.Broder
"Actors of Class" EQS Generator now supports returning all actors matching the class rather than only actors within the radius based on a new checkbox "Generate Only Actors In Radius". For backwards compatibility, it defaults to true.
#UE4 #ReleaseNoteAbove
Change 3185370 on 2016/11/03 by Mark.Satterthwaite
Revert the only change to Metal texture uploads made in the merge leading up to 16/09/16 and disable more recent changes to reuse texture objects in the hope that this cures FORT-30180. If not then this will need to be handled by Apple/Nvidia as we're not doing anything obviously wrong on our side.
#jira FORT-30180
Change 3185249 on 2016/11/03 by Lukasz.Furman
added caching for neighbor count in template A* solver
#fortnite
Change 3184403 on 2016/11/02 by Daniel.Broder
Updated EnvQueryTest_GameplayTags to support Gameplay Tag Queries.
^^ReleaseNoteAbove
Data is automatically converted to the query from the old data format.
Gameplay Tag Queries give much more flexibility for how to mach the queries, since they can include entire expressions of what must match and/or not match.
#UE4 #ReleaseNoteAbove
Change 3184311 on 2016/11/02 by Daniel.Broder
Removed unnecessary if/else that was calling identical code in both parts! (Now it just calls the code directly).
Fixed spelling of ReturnValueAddress (from ReturnValueAdress).
#UE #NoReleaseNotes
Change 3183823 on 2016/11/02 by Mark.Satterthwaite
Record Metal resource & state objects used in a command-buffer when rhi.Metal.RuntimeDebugLevel is set to 3 or higher. The object labels, types & descriptions will be printed on failure - if the object is deleted prior to this then we have a lifetime error and it will crash at this point and can be debugged further using our -metalretainrefs command-line option or Xcode's zombie-objects.
Used to verify that FORT-31649 is not a simple resource lifetime error and thereby speed up Apple/vendor investigations.
#jira FORT-31649
Change 3183807 on 2016/11/02 by Mark.Satterthwaite
Change the way we access the Metal viewport's backbuffer, to reduce possible causes of FORT-31649:
- Added console variable "rhi.Metal.SupportsIntermediateBackBuffer" to control whether to use an extra render-target so we can support screenshots & movie capture, or render directly to the back-buffer to save memory & GPU performance. Still defaults to ON for Mac & OFF for iOS/tvOS.
- Change the way we handle updates to the back-buffer size to ensure that the different threads access their intended version.
#jira FORT-31649
Change 3183470 on 2016/11/02 by Bob.Tellez
#UE4 Lights with 0 intensity are now removed from the scene
Change 3183230 on 2016/11/02 by Bob.Tellez
#UE4 Console history no longer keeps duplicate entries
Change 3182547 on 2016/11/01 by Bob.Tellez
#UE4 Fixed an old bug which was causing thumbnail scenes to have incorrect lighting.
Change 3182498 on 2016/11/01 by Chris.Gagnon
Added ItemIcon widget and ItemCountTextBlock widget.
EpicCMSScreen derives from COmmonActivatable Panel.
Added CommonUIUtils with function to get a owning userwidget or contexts.
Begining of the new Topbar, and a number of supporting widgets.
Change 3182497 on 2016/11/01 by Chris.Gagnon
Engine:
GameViewportClient now has a global toggle to turn software cursor mapping on and off.
Fortnite:
Added software cursor, when using the gamepad we turn on the software cursor mapping. The asset is invisible.
This allows us to hide the cursor without all the baggage and undesired behavior that comes with that.
Change 3181853 on 2016/11/01 by Saad.Nader
#commonui
Added uproperty annotations to prevent garbage collection.
Updated code to cleanup internal caches to happen earlier.
Change 3181782 on 2016/11/01 by Bob.Tellez
#UE4 LightComponents now respect bHiddenInGame (and other visibility flags) when determining whether they should be added to the scene.
Change 3181516 on 2016/11/01 by Saad.Nader
#commonui
Added an action handler interface that I have been wanting for awhile.
Updated action widget to ignore design time changes since it relies on a common ui context instance.
Cleaned up activatable panel interface and commited events on a input action registered to be handled. Our activatable handle automatically handles things for now without asking blueprint if we should.
Cleanedup up miscellaneous activatable panel internals
Activatable panels can now choose to expose input actions registered to that panel.
Replaced activatable panel reflector with common input reflector
Added a common global input handler that implements the action handler interface
Updated common button and common tablist widgets appropriately to register with global input handler for appropriate actions.
Buttons now have separate triggering actions vs. triggered actions. Triggering actions can only be set during creation of the button whereas triggered actions can be set anytime.
Moved a lot of the boilerplate code for action button into common button to trigger and listen for actions, or register with the global input handler for triggering actions.
Fixed typos in common ui types.
Updated CommonUITestBed with new changes.
Change 3179753 on 2016/10/31 by Lukasz.Furman
replaced ensure with vlog warning in GameplayTask processing
#jira FORT-32324
Change 3178028 on 2016/10/28 by Lukasz.Furman
attempt to fix rare crash in crowd simulation
#jira FORT-27847
Change 3177966 on 2016/10/28 by James.Hopkin
Removed some redundant text/string copies and conversions in 'Find in Blueprints'
Change 3176795 on 2016/10/27 by Fred.Kimberley
Fixed the code path that grabs tooltip data for ability system components to respect the flag that shows buffs in the front end instead of final values.
#jira FORT-30491
Change 3175818 on 2016/10/26 by Bob.Tellez
#UE4 Protecting against a nullptr access in FVisibilityPropertySection::GenerateSectionLayout. More investigation is needed to determine if this should be allowed to be null.
Change 3175615 on 2016/10/26 by Michael.Trepka
Check if MacApplication is valid in FMacApplication::OnCursorLock() block that's called asynchronously and can be executed after MacApplication was destroyed. Fixes FORT-32075
Change 3175369 on 2016/10/26 by Saul.Abreu
Refactored CreateWidget functions to share UserWidgetClass validation logic and fixed a missing early-out return statement.
Change 3175233 on 2016/10/26 by Saul.Abreu
#fortnite
Common Button now properly handles its interactibility changing when it's toggleability has changed - previously, being selected when toggling is turned on would leave the button non-interactible and thus not practically toggleable.
Change 3174285 on 2016/10/25 by Mark.Satterthwaite
Fix command-buffer failures when resizing windows on Mac - we have to capture windowWillResize: events in our window delegate and then forward on a call to Slate's OnResizingWindow event handler, that internally causes rendering to flush. If we wait to do this in windowDidResize then the actual device back-buffer resource will have been reallocated and we presumably end up trying to render into garbage memory on the GPU, causing the intermittent command-buffer failures.
#jira FORT-31649
Change 3173872 on 2016/10/25 by Bob.Tellez
#UE4 Fixed an issue where if you have a map with actors that produce a ZeroVector bounds size, SetActorTransform complains.
Change 3172828 on 2016/10/24 by Saul.Abreu
Added useful contextual information to the message log errors provided when attempting to create widgets but failing.
Change 3172649 on 2016/10/24 by Michael.Trepka
Call setMinSize and setMaxSize in FMacApplication::OnCursorLock() on the main thread
#jira FORT-30177
Change 3172568 on 2016/10/24 by Saad.Nader
#commonui Exposed a flag to reflector to not show actions for an activtable panel if we don't want them exposed.
Change 3172341 on 2016/10/24 by Mark.Satterthwaite
Fix FORT-31526 by setting appropriate defaults for FEditorCompositingParameters when the feature isn't being used, as Metal still requires something be bound for the values. This all stems from Fortnite using GizmoMaterial somehow when whacking Llamas to reveal the cards contained within - I suspect the 'real' fix is not to use an Editor material in the game client...
#jira FORT-31526
Change 3172304 on 2016/10/24 by James.Longstreet
#fortnite #jira FORT-31090 Add setting to configure whether the virtual keyboard sends TextChanged or TextCommitted when complete.
Add SlateSettings to project settings, for settings that need to be accessed from Slate -- the Slate module doesn't depend on Engine, so it can't access UserInterfaceSettings or InputSettings.
Default to TextChanged in Fortnite.
Change 3171630 on 2016/10/24 by Saul.Abreu
#fortnite
Added API export to Common List View.
Added support to Common List View for changing selection modes.
Added delegate to Common List View to support hook-ups on creation of new list item widgets.
Improved Common List View handling of item widgets that are buttons - no need to handle manually hooking up the list item clicked callback to the button.
Change 3171474 on 2016/10/22 by Saul.Abreu
#fortnite
New numeric text block.
Change 3171463 on 2016/10/22 by Saad.Nader
#commonui
Added the common action widget which can visualize the input of an activatable panel or button.
Added the common activatable panel reflector widget so we can build a bar widget which can visualize the actions an activatable panel have registered to handle.
Cleaned up the input manager's handling of pushing and poping activatable panels
Updated widget switcher to completely push or pop tabs on or off the stack so that the stack is clean of any items not in the current tab.
Updated common ui context to expose API blueprint.
Updated input action data to make better sense in common ui types
Added a viewport client to redirect input for the common ui test bed.
Added a completion delegate for listeners such as a button in a activatable panel reflector widget.
Added test harness for activatable panel, activatable panel reflector, action widget
Change 3170868 on 2016/10/21 by Jeff.Campeau
AutoSDK props included earlier
Change 3170663 on 2016/10/21 by Mark.Satterthwaite
Further changes to finally fix the underlying cause of FORT-25473 and all future potential instances: SetStreamSource overrides the stride from the vertex declaration and MetalRHI wasn't properly considering what to do with Stride=0, which should disabling vertex attribute stepping. This also requires fixing some gotcha's in the StateCache.
#jira FORT-25473
Change 3170020 on 2016/10/20 by Bob.Tellez
#UE4 Render scale was off by one when setting via buckets in the editor widget.
Change 3169764 on 2016/10/20 by Mark.Satterthwaite
Fixed automatic conversion of G8_sRGB into RGBA8_sRGB required for Mac Metal, which fixes FORT-27627.
#jira FORT-27627
Change 3169631 on 2016/10/20 by Mark.Satterthwaite
Fix a potential crash due to unnecessary reinitialisation of the MetalRenderPipelineDesc mutex.
Change 3169614 on 2016/10/20 by Mark.Satterthwaite
Fix FORT-25473 caused by incorrect handling of vertex attributes in Metal: FParticleSpriteVertexFactory specifies the dynamic particle parameter attribute (VA 5) with a non-zero stride, which implies vertex or instance stepping - but for the P_Rocket_ColdMist_FXV effect only a single float4 is provided with the intent that this be constant for all instances. Other APIs may implicitly wrap the VA read back around but Metal does not and simply reads garbage off the end of the buffer - potentially this could even cause a GPU crash. MetalRHI now detects when the buffer bound to an attribute can't support more than one instance and if needed updates the vertex declaration to make such attributes constant.
#jira FORT-25473
Change 3169163 on 2016/10/20 by Fred.Kimberley
Added UIProxyActor. This is intended as a single proxy actor to replace the existing, class specific, proxy actors.
Change 3168732 on 2016/10/20 by Saul.Abreu
Exposed style references in UCommonTextBlock. Allows widgets to look at the styles on the CDO.
Change 3168713 on 2016/10/20 by Saul.Abreu
Fixed unconditional inclusion of Developer module headers (settings module) in client builds from Common UI module.
Change 3168659 on 2016/10/20 by Saul.Abreu
Created and exposed SetMinDesiredWidth on UTextBlock, following the example set by other setters in the class.
Change 3168658 on 2016/10/20 by Saul.Abreu
The Common UI plugin now has a settings object which will appear in the project settings window. It exposes setting default styles for both CommonTextBlock and CommonButton in the Game config file.
Change 3167632 on 2016/10/19 by John.Pollard
Fix FN replay scrubbing issues
* Solution for net startup actors that need to be "rolled back" during scrubbing if they've been modified
* Solution for when net startup actors should be deleted past checkpoints
* Added version support to load older replays that don't save out deleted net startup actors in checkpoints
Change 3166065 on 2016/10/18 by Saad.Nader
#commonui renaming UCommonActivatableManager to UCommonInputManager, added ability to change input method for desktop and console.
Change 3166049 on 2016/10/18 by Lukasz.Furman
added navmesh exploration helpers in FortNavMesh
#fortnite
Change 3165085 on 2016/10/17 by Saad.Nader
#blueprintcontext fixed log output for created blueprint context
Change 3163115 on 2016/10/14 by James.Hopkin
Prevented variable combo box clipping long type names in blueprint details panel
[UE-19710]
Change 3162629 on 2016/10/13 by Saul.Abreu
#fortnite
#jira FORT-31489
Ported Paragon's tile view widget over to the Common UI Plugin as Common Tile View. Added exemplar/test case in Common UI testbed.
Change 3162624 on 2016/10/13 by Saul.Abreu
Improved "Create Event" node with text showing the function signature in a friendly manner.
Change 3162114 on 2016/10/13 by Guillaume.Abadie
Implements r.EarlyZPassOnlyMaterialMasking.
Fortnite grass/trees is using masked material. However masked materials are doing clip in early z pass and base pass, both preventing the pixel shader from using the early depth test. This CL execute material's mask opacity only in the early z pass to keep early depth test on expensive mask material's base pass pixel shader.
Change 3161479 on 2016/10/13 by Saad.Nader
#commonui Updated Common button to be able to handle a bound common input action by causing the button to get clicked.
Updated Activatable panel to ignore input if it is not activated
Added helper functions to common widget switcher for activating/deactivating the active widget if it is a activatable panel.
Change 3161092 on 2016/10/13 by Saul.Abreu
#fortnite
Common Tab List widget now exposes access to its linked switcher as well as overridable events before and after the linked switcher is set. OnCreateNewTab can now be implemented in native code or blueprints. Buttons added as tabs in the tab list will now have their selectabilty and toggleability set as necessary.
Change 3160762 on 2016/10/12 by Billy.Bramer
- Make UAbilitySystemComponent::AreAbilityTagsBlocked virtual so games can provide a custom implementation
Change 3160736 on 2016/10/12 by Lukasz.Furman
fixed some gameplay debugger's categories not rendering correctly in simulate mode
#fortnite
Change 3160417 on 2016/10/12 by Mark.Satterthwaite
Disable DistanceField AO & Shadowing support on Intel GPUs under Metal - there are driver bugs that prevent them from working currently.
#jira FORT-31268
Change 3160314 on 2016/10/12 by Michael.Trepka
Fixed incorrect rect initialization in Mac GetDisplayMetrics
Change 3160309 on 2016/10/12 by Lukasz.Furman
pass on gameplay debugger in Simulate in Editor mode
copy of CL 3160014
#ue4
Change 3159892 on 2016/10/12 by John.Abercrombie
Fixed the Blackboard component pausing but never being unpaused if we ended up restarting the Behavior Tree instead of continuing
#ue4
Change 3159630 on 2016/10/12 by Jamie.Dale
Fixed an issue where async and non-async loading could result in the package being given a different name
Async loading would always use the non-localized name (which is correct), but non-async loading would sometimes use the localized name (which is incorrect); now they both do the same thing.
Change 3159249 on 2016/10/11 by Jonathan.Lindquist
fixing a potential uv bug related to their names
Change 3159145 on 2016/10/11 by Lukasz.Furman
fixed behavior tree task restart conditions
#ue4
Change 3158846 on 2016/10/11 by John.Pollard
Add ability to override network async loading for replays
Change 3158551 on 2016/10/11 by Saad.Nader
#commonui remove checks for common tab list widget when set listening for input occurs.
Change 3157727 on 2016/10/10 by Saul.Abreu
#fortnite
Common button style now has minimum width and minimum height properties and common button will use the maximum of its own and the style's minimums.
Change 3157364 on 2016/10/10 by Jamie.Dale
Split localized package redirection out of FCoreDelegates::PackageNameResolvers
They're different enough in behavior that the delegate resolution was breaking the localized package resolution by resolving in too many places and causing the localized package to be loaded with its real localized name as well as the fake non-localized name.
#jira FORT-31207
Change 3156616 on 2016/10/10 by Lukasz.Furman
added more failsafes to crowd simulation crash
#jira FORT-27847
Change 3155092 on 2016/10/07 by Chris.Gagnon
SlateApplication
- Added more control over where navigation originates from with the ENavigationSource enumeration piped in through the FReply
- Added custom handling support for the navigation responce using the FCustomNavigationHandler
Fortnite
- Added Input Preprocessor for generating navigation events and handling the "virtual cursor" position
- Added the Input mode switching support for gamepad <-> keyboard (Currently disabled)
Change 3154721 on 2016/10/07 by Lukasz.Furman
automation fix for AI tests with multiple spawn sets
copy of CL# 3154035
#jira FORT-31106
Change 3154466 on 2016/10/07 by Saul.Abreu
#fortnite
Additional logging and checking to help diagnose cause of current build breakage, possibly related to blueprint context OR unrelated but coincidental and related to game data or homebase manager.
Change 3154349 on 2016/10/06 by Saul.Abreu
#fortnite
Relocate BP context and common UI plugins to Engine (NotForLicensees).
Change 3152396 on 2016/10/05 by Lukasz.Furman
fixed RECAST_ASYNC_REBUILDING define being ignored by navmesh generator
#ue4
Change 3152390 on 2016/10/05 by Lukasz.Furman
including AgentRadius in area modifier bounds in layer's intersection test
fixes modifier cuts at tile boundary
#jira FORT-31051
Change 3151999 on 2016/10/05 by Lukasz.Furman
added vlogs for applying and removing gameplay effects
#jira FORT-30982
Change 3150947 on 2016/10/04 by Bob.Tellez
#UE4 Fix to find the title.json file in the correct game folder.
Change 3149775 on 2016/10/03 by Bob.Tellez
#UE4 Added property editor code support for doubles.
Change 3148729 on 2016/10/03 by Lukasz.Furman
fixed memory corruption in DemoNetDriver
#fortnite
Change 3146148 on 2016/09/29 by Bob.Tellez
#UE4 Fixed a case where the LastRecordedHittestIndex would remain zero, causing the widget path to get truncated and result in the mainframe window when determining if you should spawn a tooltip, causing us to try to create a tooltip outside of our tooltip presenter widget, causing a new window to be created and a crash to happen on consoles.
#JIRA FORT-30378
Change 3146016 on 2016/09/29 by Daniel.Broder
Added BlueprintGameplayTagLibrary function "Get All Actors of Class Matching Query".
It uses TActorIterator to find only all actors derived from the specified class and then further winnows them by whether they match a GameplayTagQuery. If any actor does NOT implement IGameplayTagAssetInterface, the function will log ONCE a warning that the class in question doesn't implement the required interface to be able to check for matching tags. (NOTE: This function can be extremely expensive if there are a large number of actors of the class requested, so be cautious using it.
It can be used at initialization time to find a specific subset of actors to act on (for example).
#UE4 #ReleaseNote
Change 3145827 on 2016/09/29 by Lukasz.Furman
added sanity checks to EQS tick
#jira FORT-30755
Change 3145520 on 2016/09/29 by Chad.Garyet
changing notifications to require there be a type to verify the user exists
#jira FORT-30754
Change 3145428 on 2016/09/29 by Bob.Tellez
#UE4 Made plugin loaded log statements verbose.
Change 3145229 on 2016/09/29 by Bob.Tellez
#UE4 Fix for only running the first test on commandline
Change 3142730 on 2016/09/27 by Bob.Tellez
#UE4 Removing needless scope on a virtual function call that made it seem static and made UpdateResolutionQuality protected so it can be called from subclasses that may be procedurally determining DesiredScreenWidth and DesiredScreenHeight
Change 3142632 on 2016/09/27 by Saul.Abreu
#fortnite
Improved data table row struct post-data-import method with more context provided through parameters. Used to fixup homebase node display names to have stable keys generated from the row name.
Change 3140907 on 2016/09/26 by Bob.Tellez
#UE4 Allowing movie files to be renamed to match platform requirements
Change 3140399 on 2016/09/26 by Lukasz.Furman
fixed uninitialized configs of gameplay debugger
#jira FORT-30439
Change 3138880 on 2016/09/23 by Fred.Kimberley
Added source tag requirements to conditional gameplay effects.
#jira FORT-29772
Change 3138262 on 2016/09/23 by Chad.Garyet
Integrating codesign fix into Fortnite/Main
Change 3137164 on 2016/09/22 by Mark.Satterthwaite
Add stats to track exactly how many command buffers are allocated and committed each frame to work out why Fortnite on AMD is hanging, which turns out to be because each texture update/reallocation ends up in its own command-buffer. This needs to be rethought to pack these into fewer command buffers with the same synchronisation requirements to minimise command-buffer splits but for now we'll just make the default sufficiently large that we shouldn't see the hang until the work is done. Also ensure that command-buffer failure is always fatal - there is no way to recover or continue if a command-buffer fails.
#jira FORT-30377
Change 3136720 on 2016/09/22 by Rob.Cannaday
Fix crash in FCurlHttpRequest::DebugCallback
+ Specify the string length to FString's constructor as the result from StringCast is not null terminated if the string's length is specified (instead of assuming null termination).
#jira OGS-428
Change 3136391 on 2016/09/22 by Lukasz.Furman
fixed crowd path section switch rejecting navlinks at end of path
#jira FORT-30400, FORT-30402
Change 3136295 on 2016/09/22 by Lukasz.Furman
fixed navlinks not connecting to navmesh correctly in "snap to cheapest area" mode,
adjusted scoring in navmesh projection - findNearestPoly2D
#jira FORT-30358
Change 3136033 on 2016/09/22 by Mark.Satterthwaite
To fix the Fortnite login screen force Nvidia Macs to use the set*Bytes API for small buffer updates even on El Capitan. We can't do this globally as Intel didn't implement these functions until macOS Sierra.
Fix GPU selection code in MetalRHI to confirm everything is working.
#jira FORT-30385
Change 3135237 on 2016/09/21 by Mark.Satterthwaite
Metal validation layer fix: under Metal if there are no reads from the vertex stage-in buffers we should use the Empty vertex declaration, not the filter declaration, otherwise we have to bind a redundant vertex stream buffer to silence the validation layer.
Change 3135177 on 2016/09/21 by Rob.Cannaday
Demote "Missing party state during exit" log from warning to display, as order of operations cause this to always be triggered when voluntarily leaving a party
#jira FORT-22575
Change 3135176 on 2016/09/21 by Rob.Cannaday
When returning to front-end, re-evaluate pending party joins that were in the waiting for beacon reservation state.
#jira FORT-27737
Change 3135174 on 2016/09/21 by Mark.Satterthwaite
- Copy MetalRHI & MetalShaderFormat from Dev-Rendering CL #3132772
Provides significant performance improvements on CPU due to improved vertex declaration handling & much reduced GPU heap fragmentation + more stats.
Definitely fixes:
#jira FORT-29430
Change 3135169 on 2016/09/21 by Mark.Satterthwaite
Correct Metal texture creation for AVF media framework - we can't provide a render-targetable version of the texture without blitting. The native texture we get is a GPU copy that can be made CPU accessible (i.e. it is not tiled).
Change 3135157 on 2016/09/21 by Mark.Satterthwaite
Fix one cause of Metal crashes loading into a zone - the PlanarReflection shader code needs to always set the IsStereoParameter so that the shader can perform the if-test without causing an invalid GPU access.
#jira FORT-30061
Change 3135136 on 2016/09/21 by Bob.Tellez
#UE4 Added GetPackageDependenciesForManifestGenerator delegate for games to be able to determine package dependencies however they deem fit.
Change 3135132 on 2016/09/21 by Bob.Tellez
#UE4 Better final cook platform path creation. WindowsClient was incorrectly forming a path to WindowsNoEditor when looking for chunk manifests
Change 3134313 on 2016/09/21 by Lukasz.Furman
attempt to fix crash in navmesh generation
#jira FORT-30340
Change 3134091 on 2016/09/21 by Rob.Cannaday
Fix crash in lib curl debug callback because the string parameter provided by libcurl is not null terminated
#jira OGS-428
Change 3133949 on 2016/09/21 by Lukasz.Furman
crowd agents will use shorter path corridor when one of two last polys are navlink
(corridor part switch happens with 2 or less polys left, we don't want to switch while on navlink)
#jira FORT-29880
Change 3133219 on 2016/09/20 by Lukasz.Furman
fixed broken navlink's "snap to cheapest area" mode
#fortnite
Change 3133087 on 2016/09/20 by Saul.Abreu
Updated comments on FARFilter to more explicitly express interactions between class filtering settings.
Change 3132990 on 2016/09/20 by Saul.Abreu
#fortnite
Overhaul of asset crawling localizable text gathering commandlet. Added feature for filtering processed assets based on membership in a collection.
Change 3132627 on 2016/09/20 by Bob.Tellez
#Fortnite Added XLoc language ID for for zh-CN
Change 3132616 on 2016/09/20 by Lukasz.Furman
added tolerance to navmesh project point 2D query
added overrides for accessing projection with tolerance during navwalking height checks, should be replaced with navdata flags later on
#jira FORT-29474
Change 3130819 on 2016/09/19 by Ben.Marsh
UBT: Read additional configuration settings for BuildConfiguration and UEBuildConfiguration from the engine config settings. Allows setting project-specific config values.
Change 3130639 on 2016/09/19 by Lukasz.Furman
pass on crowd simulation
- husks should move faster through funnels now
- husks can clip each other a bit more often :(
#fortnite
Change 3130625 on 2016/09/19 by Bob.Tellez
#UE4 Added an ensure to further track down invalid usage of playerinput
#JIRA FORT-30183
Change 3128884 on 2016/09/16 by Ben.Salem
Repair nightly FTest runs. FTests are now namespaced differently as of new main merge, and had to uncomment a load-bearing wait that exists to enable the way we run our nightlies (nullrhi w/ execcmds) to start the test properly.
Change 3128874 on 2016/09/16 by Daniel.Lamb
Testing to see if memory changes have injured fortnite cook times.
Change 3127175 on 2016/09/15 by John.Abercrombie
GameplayCueInterface's TagToFunctionMap is now keyed by FObjectKey of a UClass, rather than using the UClass as the key
- Since UClass-es can be unloaded at run-time, and then loaded again later in a different spot in memory, this is a better solution
Clear out the TagToFunctionMap whenever we cleanup a world
Move the TagToFunctionMap into a namespace
#jira FORT-29194 - Crash during Fight the Storm Defense
Change 3126840 on 2016/09/15 by Bob.Tellez
#UE4 Added a hack to aid in the conversion from the "USA" and "Poland" region names to "NA" and "EU"
Change 3125944 on 2016/09/14 by Billy.Bramer
- Fix for FJsonObjectWrapper incorrectly exporting to JSON in a string representation instead of an object representation now that it has an implementation of export text
Change 3125764 on 2016/09/14 by Saul.Abreu
Change to enum and struct registration so that their packages are all created before either set gets to run their registration logic.
Change 3125719 on 2016/09/14 by Bob.Tellez
#UE4 Windows in nullrhi do not have OS handles and not initializing you parent window causes a crash when you start PIE (needed for headless automation testing)
Change 3125504 on 2016/09/14 by jonathan.lindquist
adding a comment to the exclude wpo offsets input
Change 3124203 on 2016/09/13 by Bob.Tellez
Temporarily removing IOS.Automation.csproj dependency on MobileDeviceInterface since it is causing warnings in UGS right now.
Change 3124192 on 2016/09/13 by Tim.Tillotson
Fix bad format string in FLinkerLoad::VerifyImport
Warning:
[2016.09.13-18.49.05:928][927]LogText:Warning: Failed to parse argument "ImportClass" as a number (using "0" as a fallback). Please check your format string for
errors: ": Failed import for {ImportClass}".
Change 3124083 on 2016/09/13 by Bob.Tellez
#UE4 Re-disabling EQFilter for all machines. This is a temporary solution until a more efficient method is found that does not cause machines to lag.
Change 3123783 on 2016/09/13 by Jonathan.Lindquist
Subtacting 1 from the VAT tools output texture file name uv number to match unreals 0-based system.
Change 3122223 on 2016/09/12 by Jonathan.Lindquist
Adding optional uv controls for the texture based animations
Change 3122220 on 2016/09/12 by jonathan.lindquist
adding an optional uv input for the Vertex animation toolset
Change 3122070 on 2016/09/12 by John.Abercrombie
Added nav links to corner walls, rather than depending on a nav area to traverse the low edge of the corner
Made crowd folowing component use the velocity while traversing a link, except if we're falling
AIs will not update their paths while following a nav link
Lowered the step height of all AIs from 90 to 72
#jira FORT-29786 - Husks can move over the balcony wall on floor structures.
Change 3121098 on 2016/09/12 by Chris.Wood
Increased Linux timeout when waiting for CRC to complete.
[UE-30259] - Some server crashes are missing from crashreporter database
#jira UE-30259
Change 3120694 on 2016/09/12 by Saul.Abreu
#fortnite
Refactored CMS reader to support URLs with protocols (http, https, and file). URIs (URL sans protocol) will no longer work, but we can add in smart fallback logic later, as this is only in Fortnite currently and the only CMS data available currently is via local file. Console command will handle URLs using double quotes, since the colon trips up existing console command parsing logic (it seems).
Change 3120686 on 2016/09/11 by Saul.Abreu
#fortnite
Deleting erroneous config files in EpicCMS plugin.
Change 3120659 on 2016/09/11 by Saul.Abreu
Added support to widget carousel for getting a callback when the active widget changes. (Not sure who the original author was, but the oldest tracked revision codereview'd Justin Sargent.)
Change 3120658 on 2016/09/11 by Saul.Abreu
Fixed UMG grid panel to properly set the padding on the slots it creates.
Change 3118466 on 2016/09/08 by Bob.Tellez
#UE4 There is now an option to exclude all UMG widgets and slots from dedicated server builds. Set bLoadWidgetsOnDedicatedServer=false for this behavior
Change 3118149 on 2016/09/08 by Bob.Tellez
#UE4 Dont cook non-native CDO references that are excluded for your target
Change 3117604 on 2016/09/08 by John.Abercrombie
FortGameModeFTesting no longer spawns a pawn
Added automated test setting to FortGameMode so we can avoid waiting for a pawn before removing the loading screen
Made the FunctionalTest set the view target to the Observation Point if we don't have a pawn, note that this only works on Player Controllers that aren't Debug Camera Controllers so we don't annoy any user who's moving around
Change 3116964 on 2016/09/07 by Bob.Tellez
#Fortnite We are now building crashreportclient for linux instead of using the stale binary in P4
Change 3116284 on 2016/09/07 by Tim.Tillotson
#fortnite Add support for quest objectives that track player ability activation.
As part of this also:
+Added a bWasCancelled parameter to GameplayAbility::EndAbility. This allows us to determine if an ability was ended prematurely.
+Added a OnAbilitySucceeded delegate for determining when an ability was successfully ended.
Some additional improvements thanks to code review feedback from Fred.Kimberley.
After discussing with Matt Hancy we decided to keep the OnAbilityCompleted delegate for now. We may be able to deprecate and remove it in the future if we rewrite all the existing abilities that use it.
Change 3116039 on 2016/09/07 by John.Abercrombie
Fix crash when you change the blueprint of a class referenced by a gameplay cue between PIE runs
[CL 3215544 by Bob Tellez in Main branch]
2016-11-30 14:12:57 -05:00
if ( ! AssetToRename . bRenameFailed & & AssetToRename . Asset . IsValid ( ) )
2014-10-14 10:33:22 -04:00
{
PackagesToCheckOut . Add ( AssetToRename . Asset - > GetOutermost ( ) ) ;
}
}
for ( UPackage * ReferencingPackage : InOutReferencingPackagesToSave )
{
PackagesToCheckOut . Add ( ReferencingPackage ) ;
}
// Check out the packages
if ( PackagesToCheckOut . Num ( ) > 0 )
2014-03-14 14:13:41 -04:00
{
2015-01-19 12:51:54 -05:00
TArray < UPackage * > PackagesCheckedOutOrMadeWritable ;
TArray < UPackage * > PackagesNotNeedingCheckout ;
bUserAcceptedCheckout = FEditorFileUtils : : PromptToCheckoutPackages ( false , PackagesToCheckOut , & PackagesCheckedOutOrMadeWritable , & PackagesNotNeedingCheckout ) ;
if ( bUserAcceptedCheckout )
2014-03-14 14:13:41 -04:00
{
2015-01-19 12:51:54 -05:00
// Make a list of any packages in the list which weren't checked out for some reason
TArray < UPackage * > PackagesThatCouldNotBeCheckedOut = PackagesToCheckOut ;
for ( auto PackageIt = PackagesCheckedOutOrMadeWritable . CreateConstIterator ( ) ; PackageIt ; + + PackageIt )
2014-03-14 14:13:41 -04:00
{
2015-01-19 12:51:54 -05:00
PackagesThatCouldNotBeCheckedOut . Remove ( * PackageIt ) ;
}
2014-03-14 14:13:41 -04:00
2015-01-19 12:51:54 -05:00
for ( auto PackageIt = PackagesNotNeedingCheckout . CreateConstIterator ( ) ; PackageIt ; + + PackageIt )
{
PackagesThatCouldNotBeCheckedOut . Remove ( * PackageIt ) ;
}
2014-03-14 14:13:41 -04:00
2015-01-19 12:51:54 -05:00
// If there's anything which couldn't be checked out, abort the operation.
if ( PackagesThatCouldNotBeCheckedOut . Num ( ) > 0 )
{
bUserAcceptedCheckout = false ;
2014-03-14 14:13:41 -04:00
}
}
}
return bUserAcceptedCheckout ;
}
2015-06-26 13:13:02 -04:00
void FAssetRenameManager : : DetectReferencingCollections ( TArray < FAssetRenameDataWithReferencers > & AssetsToRename ) const
{
FCollectionManagerModule & CollectionManagerModule = FCollectionManagerModule : : GetModule ( ) ;
for ( auto & AssetToRename : AssetsToRename )
{
if ( AssetToRename . Asset . IsValid ( ) )
{
TArray < FCollectionNameType > ReferencingCollections ;
CollectionManagerModule . Get ( ) . GetCollectionsContainingObject ( * AssetToRename . Asset - > GetPathName ( ) , ReferencingCollections ) ;
if ( ReferencingCollections . Num ( ) > 0 )
{
AssetToRename . bCreateRedirector = true ;
}
}
}
}
2014-03-14 14:13:41 -04:00
void FAssetRenameManager : : DetectReadOnlyPackages ( TArray < FAssetRenameDataWithReferencers > & AssetsToRename , TArray < UPackage * > & InOutReferencingPackagesToSave ) const
{
// For each valid package...
for ( int32 PackageIdx = InOutReferencingPackagesToSave . Num ( ) - 1 ; PackageIdx > = 0 ; - - PackageIdx )
{
UPackage * Package = InOutReferencingPackagesToSave [ PackageIdx ] ;
if ( Package )
{
// Find the package filename
FString Filename ;
if ( FPackageName : : DoesPackageExist ( Package - > GetName ( ) , NULL , & Filename ) )
{
// If the file is read only
if ( IFileManager : : Get ( ) . IsReadOnly ( * Filename ) )
{
FName PackageName = Package - > GetFName ( ) ;
// Find all assets that were referenced by this package to create a redirector when named
for ( auto RenameDataIt = AssetsToRename . CreateIterator ( ) ; RenameDataIt ; + + RenameDataIt )
{
FAssetRenameDataWithReferencers & RenameData = * RenameDataIt ;
if ( RenameData . ReferencingPackageNames . Contains ( PackageName ) )
{
RenameData . bCreateRedirector = true ;
}
}
// Remove the package from the save list
InOutReferencingPackagesToSave . RemoveAt ( PackageIdx ) ;
}
}
}
}
}
2014-07-24 13:25:23 -04:00
/**
* Function that renames all FStringAssetReference object with the old asset path to the new one .
*
* @ param PackagesToCheck Packages to check for referencing FStringAssetReference .
* @ param OldAssetPath Old path .
* @ param NewAssetPath New path .
*/
void FAssetRenameManager : : RenameReferencingStringAssetReferences ( const TArray < UPackage * > PackagesToCheck , const FString & OldAssetPath , const FString & NewAssetPath )
{
struct FStringAssetReferenceRenameSerializer : public FArchiveUObject
{
2015-03-03 17:20:43 -05:00
FStringAssetReferenceRenameSerializer ( const FString & InOldAssetPath , const FString & InNewAssetPath )
: OldAssetPath ( InOldAssetPath ) , NewAssetPath ( InNewAssetPath )
2016-01-27 12:09:53 -05:00
{
// Mark it as saving to correctly process all references
ArIsSaving = true ;
}
2014-07-24 13:25:23 -04:00
FArchive & operator < < ( FStringAssetReference & Reference ) override
{
2015-07-23 10:49:29 -04:00
if ( Reference . ToString ( ) = = OldAssetPath )
2014-07-24 13:25:23 -04:00
{
2015-07-23 10:49:29 -04:00
Reference . SetPath ( NewAssetPath ) ;
2014-07-24 13:25:23 -04:00
}
// Generated class path support.
2015-07-23 10:49:29 -04:00
if ( Reference . ToString ( ) = = OldAssetPath + " _C " )
2014-07-24 13:25:23 -04:00
{
2015-07-23 10:49:29 -04:00
Reference . SetPath ( NewAssetPath + " _C " ) ;
2014-07-24 13:25:23 -04:00
}
return * this ;
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3227619)
#rb none
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3198996 on 2016/11/15 by Marc.Audy
BeginPlay calls will now be dispatched in a consistent order regardless of placed in persistent level, streamed in level, or dynamically spawned
AActor::BeginPlay is now protected, you should call DispatchBeginPlay instead.
#jira UE-21136
Change 3199019 on 2016/11/15 by Marc.Audy
Mark user-facing BeginPlay calls as protected
Change 3200128 on 2016/11/16 by Thomas.Sarkanen
Dont propgate threaded update flag from UAnimBluepint to CDO if we fail thread safety checks
Also fully deprecated (with _DEPRECATED) older flags in UAnimInstance.
#jira UE-38362 - Disable multi-threaded update when anim blueprints are not thread-safe
Change 3200133 on 2016/11/16 by Martin.Wilson
Fix Set Anim Instance Class not working on the second attempt (InitAnim would not be called)
#jira UE-18798
Change 3200167 on 2016/11/16 by Martin.Wilson
Newly added virtual bones are now selected in the skeleton tree
#jira UE-37776
Change 3200255 on 2016/11/16 by James.Golding
Stop SkeletalMeshTypes.h being globally included
Change 3200289 on 2016/11/16 by Jurre.deBaare
Hidden Material References from Mesh Components Fix
#fix Make sure that in PostEditChangeProp we reset the override material arrays
#misc changed a property comparison to use GET_MEMBER_NAME_CHECKED instead
#jira UE-38108
Change 3200291 on 2016/11/16 by Jurre.deBaare
Imported Alembic skeletal anims have cut-off shadow due to moving out of the bounds
#fix retrieve bounds from alembic archive at various levels (global, transform, meshes) and build archive bounds which is set on the animation sequence
#jira UE-37274
Change 3200293 on 2016/11/16 by Jurre.deBaare
Overlapping UV's cause merge actor texture baking issues
#fix Only look for overlapping UVs if vertex data baking is actually expected/enabled
#jira UE-37220
Change 3200294 on 2016/11/16 by Jurre.deBaare
Scrubbing Playback Speed under Geometry Cache in the details panel is too sensitive
#fix Make the UIMin/Max smaller than the clamping value for proper user interaction while sliding (thanks James for the tip!)
#jira UE-36679
Change 3200295 on 2016/11/16 by Jurre.deBaare
Merge Actor Specific LOD level can be set to 8
#fix Change clamping value and added UI clamp metadata
#jira UE-37134
Change 3200296 on 2016/11/16 by Jurre.deBaare
In Merge Actors if you select use specific Lod level you have access to all the merge material settings
#fix Added edit condition to non-grayed out material settings
#jira UE-36667
Change 3200303 on 2016/11/16 by Thomas.Sarkanen
Fixed diagonal current scrub value in anim curves
#jira UE-35787 - The red time indicator for viewing curves in persona is slightly tilted
Change 3200304 on 2016/11/16 by Thomas.Sarkanen
Rezero is now explicit about what it does (current vs. specified frame)
Also no longer ingores Z-offset (legacy feature - root motion can have any translation, not just 2D).
#jira UE-35985 - Rezero doesn't work by frame
Change 3200307 on 2016/11/16 by Thomas.Sarkanen
Add curve panel to anim BP editor
Also improve curve modification message routing. We were needlessly passing delegates up and down the widget hierarchy and conflating smart name edits with curve edits (key addition etc.).
#jira UE-35742 - Anim Curve Viewer allowed in Anim BP
Change 3200313 on 2016/11/16 by Jurre.deBaare
Animations with materials driven by scalar parameters from curves wont update until persona is closed and reopened
#fix in debug skeletal mesh component just mark the cached parameters dirty every tick
#jira UE-35786
Change 3200316 on 2016/11/16 by Jurre.deBaare
Converted Skeletal To Static Mesh Gets Corrupted When Merged
#fix Assume that the all static meshes will contain valid texture coordinates for channel 0 (which is expect by static mesh code as well)
#misc Ensure that we set the lightmap index for converted skeletal meshes to either an empty one or the highest one used
#jira UE-37988
Change 3200321 on 2016/11/16 by Jurre.deBaare
Scrolling/scroll bar are disabled in Alembic Import window if you scroll a certain way down
#fix change the way the layout is constructed
#jira UE-37260
Change 3200323 on 2016/11/16 by Jurre.deBaare
Toggling sky in Persona does not effect reflections
#fix turn of skylight together with the actual environment sphere
#misc found incorrect copy paste in toggling floor/environment visibility with key stroke
#jira UE-26796
Change 3200324 on 2016/11/16 by Jurre.deBaare
Open Merge Actor menu on right clicking two selected actors
#fix Added option 'Merge Actors' to right-click context menu when having selected one or multiple actors in the viewport
#jira UE-36892
Change 3200331 on 2016/11/16 by Benn.Gallagher
Added support for suspending clothing simulations at runtime, exposed also to blueperints. And aded option in Persona to pause simulations when animations are paused.
#jira UE-38620
Change 3200334 on 2016/11/16 by Jurre.deBaare
Dynamic light settings in Persona viewport cause edges to appear hardened
#fix Makeing the directional light stationary to ups the shadowing quality
#jira UE-37188
Change 3200356 on 2016/11/16 by Jurre.deBaare
Rate scale option for animation nodes in blend spaces
#added Rate scale variable to blend space samples, these rates are now multiplied with the global rate scale during playback
#misc bumped framework object version to update all blendspaces on load
#jira UE-16207
Change 3200380 on 2016/11/16 by Jurre.deBaare
Fix for Mac CIS issues
Change 3200383 on 2016/11/16 by Marc.Audy
Split FAttenuationSettings in to FBaseAttenuationSettings and FSoundAttenuationSettings in preparation for reuse of the base attenuation for force feedback
Change 3200385 on 2016/11/16 by James.Golding
Refactor SkeletalMesh to use same color buffer type as StaticMesh
Change 3200407 on 2016/11/16 by James.Golding
Fix CIS error in FbxAutomationTests.cpp
Change 3200417 on 2016/11/16 by Jurre.deBaare
Fix for CIS issues
#fix Rogue }
Change 3200446 on 2016/11/16 by Martin.Wilson
Change fix for Set Anim Instance Class from CL 3200133
#jira UE-18798
Change 3200579 on 2016/11/16 by Martin.Wilson
Fix for serialization crash in Odin
#jir UE-38683
Change 3200659 on 2016/11/16 by Martin.Wilson
Fix build errors
Change 3200801 on 2016/11/16 by Lina.Halper
Fix error message
Change 3200873 on 2016/11/16 by Lina.Halper
Test case for Update Rate Optimization
- LOD_URO_Map.umap - test map
- LODPawn - pawn that contains mesh with URO setting
- You can tweak the value in LODPawn
Change 3201017 on 2016/11/16 by Lina.Halper
- Allow slave component to be removed when setting master pose to nullptr
- licensee reported this issue. https://udn.unrealengine.com/questions/321037/skeletalmeshcomponent.html
Change 3201765 on 2016/11/17 by Jurre.deBaare
Improved tooltip for FBlendParameter.GridNum
Change 3201817 on 2016/11/17 by Thomas.Sarkanen
Added display/edit of bone transforms in details panel
Added UBoneProxy tickable editor object held by the skeleton tree that updates its internal transforms in Tick().
Updated various bits of supporting code to allow selection to be properly preserved in cases such as undo/redo. This allows the bone proxy object to be displayed over an undo/redo event. It also fixes some inconsistency with selection between the skeleton tree and the preview scene.
Breaking change: Updated FOnPreviewMeshChangedMulticaster delegate signature to take both the old and new skeletal mesh. This is to allow clients to skip certain logic if the skeletal mesh hasnt really changed (in this case de-selection).
#jira UE-38144 - Selected Bone Transform not visible in Persona on the AnimBP tab
Change 3201819 on 2016/11/17 by Thomas.Sarkanen
Fix CIS error
Change 3201901 on 2016/11/17 by Lina.Halper
With new system, the skeleton curve count is not the one we should check but BoneContainer.GetAnimCurveNameUids().
- removed GetCurveNumber from skeleton
- changed curve count to use BoneContainer's curve list.
#code review: Laurent.Delayen
Change 3201999 on 2016/11/17 by Thomas.Sarkanen
Add local/world transform editing to bone editing
Added details customization & support code for world-space editing of bone transforms
#jira UE-38144 - Selected Bone Transform not visible in Persona on the AnimBP tab
Change 3202111 on 2016/11/17 by mason.seay
Potential test assets for HLOD
Change 3202240 on 2016/11/17 by Thomas.Sarkanen
Fixed extra whitespace not being removed in front of console commands.
GitHub #2843
#jira UE-37019 - GitHub 2843 : Fixed extra whitespace not being removed in front of console commands.
Change 3202259 on 2016/11/17 by Jurre.deBaare
Readded missing shadows in advanced preview scene
Change 3203180 on 2016/11/17 by mason.seay
Moved and updated URO Map
Change 3203678 on 2016/11/18 by Thomas.Sarkanen
Bug fix for menu extenders in PhAT.
GitHub #2550
#jira UE-32678 - GitHub 2550 : Bug fix for menu extenders in PhAT.
Change 3203679 on 2016/11/18 by Thomas.Sarkanen
Fixed LOD hysteresis not being properly converted from the old metric
This addreses some 'LOD lag' issues seen when just treating as an equivalent fudge factor, as the magnitude needed to have an effect has changed.
#jira UE-38640 - Skeletal mesh LODs render incorrectly and incosistently
Change 3203747 on 2016/11/18 by Jurre.deBaare
Crash when repeatedly undoing and readding of animation to a AnimOffset 1D - IsValidBlendSampleIndex
#fix Ensure we reset the hightlighting / dragging / selection state when PostUndo is called, this makes sure we repopulate tooltips if need etc.
#jira UE-38734
Change 3203748 on 2016/11/18 by Jurre.deBaare
Crash Generating Proxy Meshes after replacing static meshes in the level
#fix just calculate bounds for the used UVs (old behaviour was wrong)
#jira UE-38764
Change 3203751 on 2016/11/18 by james.cobbett
Changes to TM-PoseSnapshot and new test assets
Change 3203799 on 2016/11/18 by Thomas.Sarkanen
Switched fudged auto-LOD calculations to use a pow() decay instead of a recprocal
Still a fudge when LOD reduction has not been performed in-engine, but a fudge with similar outcomes to the previous method.
Also fixed up the naming of some variables that still referred to screen areas & LOD distances.
#jira UE-38674 - LOD distance switching have changed since 4.14 and merged lod actors seem to switch at incorrect screen scales as a result
Change 3203856 on 2016/11/18 by james.cobbett
TM-PoseSnapshot - Rebuild lighting and updated anims
Change 3203880 on 2016/11/18 by Ori.Cohen
Copying //UE4/Dev-Physics-Upgrade to Dev-Framework (//UE4/Dev-Framework)
Change 3203940 on 2016/11/18 by Ori.Cohen
Fix missing newline for ps4
Change 3203960 on 2016/11/18 by Ori.Cohen
Readd fix for linux macro expansion warning
Change 3203975 on 2016/11/18 by Ori.Cohen
Fix for linux toolchain not knowing about no-unused-local-typedef
Change 3203989 on 2016/11/18 by Ori.Cohen
Make sure physx automation doesn't try to build html5 APEX.
Change 3204031 on 2016/11/18 by james.cobbett
Minor update to test level
Change 3204035 on 2016/11/18 by Marc.Audy
Additional Attenuation refactor cleanup
Change 3204044 on 2016/11/18 by Ori.Cohen
Fix typo of NV_SIMD_SSE2
Change 3204049 on 2016/11/18 by Ori.Cohen
Fix missing newline for PS4 compiler
Change 3204463 on 2016/11/18 by mason.seay
Finalized URO test map
Change 3204621 on 2016/11/18 by mason.seay
Small improvements
Change 3204751 on 2016/11/18 by Ori.Cohen
Make PhAT highlight selected bodies and constraints in the tree view
Change 3205868 on 2016/11/21 by Marc.Audy
Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3205744
Change 3205887 on 2016/11/21 by Jurre.deBaare
Fix for similar crash in blendspace editor like UE-38734
Change 3206121 on 2016/11/21 by Marc.Audy
PR #2935: Minor subtitle issues (Contributed by projectgheist)
#jira UE-38803
#jira UE-38692
Change 3206187 on 2016/11/21 by Marc.Audy
PR #2935: Minor subtitle issues (Contributed by projectgheist)
Additional bits
#jira UE-38519
#jira UE-38803
#jira UE-38692
Change 3206318 on 2016/11/21 by Marc.Audy
Fix Linux compiler whinging
Change 3206379 on 2016/11/21 by Marc.Audy
Fix crash when streaming in a sublevel with a child actor in it (4.14.1)
#jira UE-38906
Change 3206591 on 2016/11/21 by Marc.Audy
Refactor restrictions to allow hidden and clarify disabled
Change 3206776 on 2016/11/21 by Marc.Audy
ForceFeedback component allows rumble events to be placed or spawned in to the world with attenuation settings that dictate how intensely the rumble pattern will be applied to the player based on their distance to the effect.
ForceFeedback Attenuation settings can be defined via the content browser or directly on the component.
#jira UEFW-244
Change 3206901 on 2016/11/21 by Marc.Audy
Fix compile error in automation tests
Change 3207235 on 2016/11/22 by danny.bouimad
Updated Map
Change 3207264 on 2016/11/22 by Thomas.Sarkanen
Disable bone editing in anim blueprint editor
#jira UE-38876 - Transform options in bone Details panel in Anim Blueprint Persona editor appear editable
Change 3207303 on 2016/11/22 by Lina.Halper
Clear material curve by setting it directly because the flag might not exist
#jira: UE-36902
Change 3207331 on 2016/11/22 by Jon.Nabozny
Fix overflow issues in SerializeProperties_DynamicArray_r. Also, fix crash from not ensuring properties were serialized successfully.
Change 3207357 on 2016/11/22 by Danny.Bouimad
Updating testcontent for pose drivers
Change 3207425 on 2016/11/22 by Lina.Halper
Fix frame count issue with montage
#jira: UE-30048
Change 3207478 on 2016/11/22 by Lina.Halper
Fix so that curve warning doesn't happen when your name is same.
#jira: UE-34246
Change 3207526 on 2016/11/22 by Marc.Audy
Fix crash when property restriction introduces a hidden entry
Change 3207731 on 2016/11/22 by danny.bouimad
MoreUpdates
Change 3207764 on 2016/11/22 by Lina.Halper
#fix order of morphtarget to first process animation and then BP for slave component
Change 3207842 on 2016/11/22 by Ben.Zeigler
Fix it so ActiveStructRedirects are checked in addition to ActiveClassRedirects when serializing a raw UStruct reference, such as in a blueprint UStructProperty. This fixes issue with the attenuation settings struct rename, and should have always been working this way. ActiveClassRedirects will still work.
Change 3208202 on 2016/11/22 by Ben.Zeigler
#jira UE-38811 Fix regression with gimbal locking in player camera manager.
The quat->rotator->quat->rotator conversions are introducing more error than in 4.13, so a pitch limit of -89.99 was too precise.
Change 3208510 on 2016/11/23 by Wes.Hunt
Disable UBT Telemetry on internal builds #jira AN-1059
#tests build a few different ways, add more diagnostics to clarify if the provider is being used.
Change 3208734 on 2016/11/23 by Martin.Wilson
Change EnsureAllIndicesHaveHandles to try and maintain validity of as many of the handles as possible + Make FRichCurve key member private as it needs to stay in sync with map on base class
#jira UE-38899
Change 3208782 on 2016/11/23 by Thomas.Sarkanen
Fixed material and vert count issues with skeletal to static mesh conversion
Material remapping was not bein gbuilt, so material indices were overwitten inappropriately.
Vertex tangentY was being recalculated incorrectly (discarding the W component when transformed), so vertices were not correctly re-merged later in the static mesh build phase.
#jira UE-37898 - Materials are incorrect on static mesh made from skeletal mesh
Change 3208798 on 2016/11/23 by James.Golding
UE-38478 - Fix collision on procmesh created in BeginPlay in cooked builds
Change 3208801 on 2016/11/23 by Jurre.deBaare
Hidden Material References from Mesh Components Fix
#fix forgot to mark the renderstate dirty and wrapped it to only apply when overridematerials actually contain something
#jira UE-38108
Change 3208807 on 2016/11/23 by Thomas.Sarkanen
CIS fix
Change 3208824 on 2016/11/23 by danny.bouimad
More content updates for Testing
Change 3208827 on 2016/11/23 by Danny.Bouimad
Removing Old Pose driver Testassets I created awhile ago.
Change 3209026 on 2016/11/23 by Martin.Wilson
CIS Fix for FRichCurve
Change 3209083 on 2016/11/23 by Marc.Audy
Don't crash if after an undo the previously selected object no longer exists (4.14.1)
#jira UE-38991
Change 3209085 on 2016/11/23 by Marc.Audy
Don't crash if a negative length passed in to UKismetStringLibrary::GetSubstring (4.14.1)
#jira UE-38992
Change 3209124 on 2016/11/23 by Ben.Zeigler
#jira UE-38867 Fix some game mode log messages
From PR #2955
Change 3209231 on 2016/11/23 by Marc.Audy
Auto removal
Change 3209232 on 2016/11/23 by Marc.Audy
GetComponents now optionally can include components in Child Actors
Change 3209233 on 2016/11/23 by Marc.Audy
ParseIntoArray resets instead of empty
Change 3209235 on 2016/11/23 by Marc.Audy
Allow child actor components to be selected in viewports
Fix selection highlight not working on nested child actors
#jira UE-16688
Change 3209247 on 2016/11/23 by Marc.Audy
Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3209194
Change 3209299 on 2016/11/23 by Marc.Audy
Use MoveTemp to reduce some memory churn in graph schema actions
Change 3209347 on 2016/11/23 by Marc.Audy
Don't dispatch a tick function that had been scheduled but has been disabled before being executed.
#jira UE-37459
Change 3209507 on 2016/11/23 by Ben.Zeigler
#jira UE-38185 Keep player controllers in their same order during a seamless travel
From PR #2908
Change 3209882 on 2016/11/24 by Thomas.Sarkanen
Copy-to-array now works with the fast path
Refactored the copy record generation/validation code to be clearer with better seperation of concerns.
Made sure we always properly generate a full exec chain for our events, despite some other them potentially using the fast path (this may have been a bug waiting to happen).
Fixed a potentiual bug with sub anim instances were potentiall fast path non-array properties were skipped.
Added tests for fast path validity to EditorTests project. Assets to follow.
#jira UE-34569 - Fast Path gets turned off if you link to multiple input pins
Change 3209884 on 2016/11/24 by Thomas.Sarkanen
File I missed
Change 3209885 on 2016/11/24 by Thomas.Sarkanen
Support assets for fast path tests
Change 3209939 on 2016/11/24 by Benn.Gallagher
Fixed anim blueprint compiler not following reroute nodes when building cached pose fragment list
#jira UE-35557
Change 3209941 on 2016/11/24 by Jurre.deBaare
Removing and readding a point to the Anim Offset graph results in the animation to not preview correctly.
#fix make sure that when we delete a sample point we reset the preview base pose
#misc changed how the preview base pose is determined/updated
#jira UE-38733
Change 3209942 on 2016/11/24 by Thomas.Sarkanen
Fixed transactions being made when setting bone space in details panel
Also added reset to defaults to allow easy removal of bone modifications.
#jira UE-38957 - Switching between Local and World Location in Persona Bone Transform options creates an Undo transaction
Change 3209945 on 2016/11/24 by james.cobbett
Test assets for Pose Snapshot Test Case
Change 3210239 on 2016/11/25 by Mieszko.Zielinski
Making Navmesh react to changes done to static mesh's collision setup via the SM Editor #UE4
#jira UE-29415
Change 3210279 on 2016/11/25 by Benn.Gallagher
Fixed anim sub-instances only allowing one pin to work when any pin required a call out to the VM for evaluation
#jira UE-38040
Change 3210288 on 2016/11/25 by danny.bouimad
Cleaned up Pose Driver Anim BP's
Change 3210334 on 2016/11/25 by Benn.Gallagher
Fixed preview mesh references getting broken in physics assets when renaming the preview mesh asset. Added explicit reference collection for the TAssetPtr
#jira UE-22145
Change 3210349 on 2016/11/25 by James.Golding
UE-35783 Fix scrolling in PoseAsset editor panels
Change 3210356 on 2016/11/25 by James.Golding
UE-38420 Disable 'Convert to Static Mesh' option if no MeshComponents selected (e.g. cables)
Change 3210357 on 2016/11/25 by Jurre.deBaare
Numeric textbox value label incorrect for aimoffset/blendspaces in grid
#fix change lambda capture type (was referencing local variable)
Change 3210358 on 2016/11/25 by Jurre.deBaare
Crash Generating Proxy Mesh with Transition Screen Size set to 1
#fix 1.0 was not included within the possible range
#jira UE-38810
Change 3210364 on 2016/11/25 by James.Golding
Improve BuildVertexBuffers to use stride and avoid copying colors
Change 3210371 on 2016/11/25 by Jurre.deBaare
You can no longer enable tooltip display when using anim offset
#fix Added back ability to show advanced preview sample weighting to tooltip under CTRL down
#jira UE-38808
It's not clear that the user has to hold shift to preview in blend spaces
#fix Preview value is now set by default and has a tooltip state, this will inform the user how to move the preview value
#jira UE-38711
#misc refactored out some duplicate code :)
Change 3210387 on 2016/11/25 by james.cobbett
Updating test asset
Change 3210550 on 2016/11/26 by Marc.Audy
Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3209927
Brings IWYU in and required substantial fixups
Change 3210551 on 2016/11/26 by Marc.Audy
Delete empty cpp files
Change 3211002 on 2016/11/28 by Lukasz.Furman
added navigation update on editting volume's brush
#ue4
Change 3211011 on 2016/11/28 by Marc.Audy
Roll back CL# 3210334 as it is causing deadlocks during GC
Change 3211039 on 2016/11/28 by Jurre.deBaare
Merge Actors tool is splitting every vertex on spline meshes, causing hard edged vertex colors.
#fix prevent using the wedge map when propagating spline mesh vertex colours
#jira UE-36011
Change 3211053 on 2016/11/28 by Ori.Cohen
Make sure objects without simple collision do not simulate. Fixes crash when two trimesh only objects collide
#JIRA UE-38989
Change 3211101 on 2016/11/28 by mason.seay
Adjusting trigger collision so it can't be triggered by projectiles
Change 3211171 on 2016/11/28 by Jurre.deBaare
Previewing outside of Blendspace Graph points causes unexpected weighting
#jira UE-32775
Second Animation Sample added to AimOffset or Blendspace swaps with the first sample
#jira UE-36755
#fix Changed behaviour for calculating blendspace grid weighting for one, two or colinear triangles
- One: fill grid weights to single sample
- Two: find closest point on line between the two samples for the grid point, and weight according to the distance on the line
- Colinear: find two closest samples and apply behaviour above
#misc rename variables to make the code more clear and correct
Change 3211491 on 2016/11/28 by Marc.Audy
Provide proper tooltip for GetParentActor/Component
Expose GetAttachParentActor/SocketName to blueprints
De-virtualize Actor GetAttach... functions
#jira UE-39056
Change 3211570 on 2016/11/28 by Lina.Halper
Title doesn't update when asset is being dropped
#jira: UE-39019
Change 3211766 on 2016/11/28 by Ori.Cohen
Remove warning when a constraint has two empty components. This can be a valid usecase for when components are determined dynamically.
#JIRA UE-36089
Change 3211938 on 2016/11/28 by Mason.Seay
CSV's for testing gameplay tags
Change 3212090 on 2016/11/28 by Ori.Cohen
Expose angular SLERP drive to blueprints
#JIRA UE-36690
Change 3212102 on 2016/11/28 by Marc.Audy
Fix shadow variable issue
#jira UE-39099
Change 3212182 on 2016/11/28 by Ori.Cohen
PR #2902: Fix last collision preset display (Contributed by max99x)
#JIRA UE-38100
Change 3212196 on 2016/11/28 by dan.reynolds
AEOverview Update:
Minor tweaks and fixes
Added Attenuation Curve Tests
Renamed SC to SCLA for Sound Class prefix
WIP SCON (Sound Concurrency)
Change 3212347 on 2016/11/28 by Ben.Zeigler
#jira UE-39098 Fix issues with adding tag redirectors with the editor open, it now checks the redirector list in the editor
Fix chained tag redirectors to work properly
Const fixes and removed a bad error message spam, and fix rename message
Change 3212385 on 2016/11/28 by Marc.Audy
Avoid duplicate GetWorld() calls
Change 3212386 on 2016/11/28 by Marc.Audy
auto shoo
Change 3213018 on 2016/11/29 by Marc.Audy
Fix shadow variable for real
Change 3213037 on 2016/11/29 by Ori.Cohen
Fix deprecation warnings
Change 3213039 on 2016/11/29 by Marc.Audy
Generalize logic for when a component prevents an Actor from auto destroying
Add forcefeedback component to the components that will hold up the auto destroy of an actor
Change 3213088 on 2016/11/29 by Marc.Audy
Move significance manager out of experimental
Change 3213187 on 2016/11/29 by Marc.Audy
Add InsertDefaulted to mirror options available when Adding
Change 3213254 on 2016/11/29 by Marc.Audy
add auto-complete for showdebug forcefeedback
Change 3213260 on 2016/11/29 by Marc.Audy
Allow systems to inject auto-complete console entries
Change 3213276 on 2016/11/29 by Marc.Audy
add auto-complete entry for showdebug significancemanager
Change 3213331 on 2016/11/29 by James.Golding
Split SkeletalMesh skin weights into their own stream
Remove unused FGPUSkinVertexColor struct
Remove unused FSkeletalMeshVertexBuffer::bInfluencesByteSwapped bool
Fix FSkeletalMeshMerge::GenerateLODModel to handle >4 weights
Update friendly name for FColorVertexBuffer now it's used by skel mesh as well
Change 3213349 on 2016/11/29 by Ben.Zeigler
Fix tag rename feedback message
Change 3213355 on 2016/11/29 by Ben.Zeigler
#jira UE-39115 PR #2987: Added IsPaused to AGameModeBase (Contributed by RoyAwesome)
Change 3213406 on 2016/11/29 by Ori.Cohen
Make sure body transforms are not set while the physx simulation is running.
#JIRA UE-37270
Change 3213508 on 2016/11/29 by Jurre.deBaare
When performing a merge actor on an actor merging multiple materials certain maps aren't generated
#fix Apparently rendering out specular etc now outputs its value only to the red channel, so had to change how we populate the combined metallic/roughness/specular map
#jira UE-38526
Change 3213557 on 2016/11/29 by Ben.Zeigler
#jira UE-22145 Fix issues where TAssetPtrs weren't getting properly fixed up during rename fixup, it now runs the StringAssetReference fixup on the nested reference. This should fix lots of weird issues with references going away
Change 3213634 on 2016/11/29 by Ori.Cohen
Make sure if no shapes are found for vehicle wheels we create spheres and attach them to the actor.
Change 3213639 on 2016/11/29 by Ori.Cohen
Fix from nvidia for vehicle suspension exploding when given a bad normal.
#JIRA UE-38716
Change 3213812 on 2016/11/29 by James.Golding
UE-35925 Remove hard-coded asset<->animnode mapping, add SupportsAssetClass virtual instead
Change 3213824 on 2016/11/29 by Ori.Cohen
Fix CIS
Change 3213873 on 2016/11/29 by Ori.Cohen
Fix welded bodies not properly computing mass properties.
#JIRA UE-35184
Change 3213950 on 2016/11/29 by Mieszko.Zielinski
Fixed navigation collision being generated wrong for StaticMeshes created from BSP #Orion
#jira UE-37221
Change 3213951 on 2016/11/29 by Mieszko.Zielinski
Fixed perception system having issue with registering perception listener spawned in sublevels #UE4
#jira UE-37850
Change 3214005 on 2016/11/29 by Ori.Cohen
Fix mass kg override not propagating to blueprint instances.
Change 3214046 on 2016/11/29 by Marc.Audy
Duplicate all instanced subobjects, not just those that are editinlinenew
Make AABrush.Brush instanced rather than export
#jira UE-39066
Change 3214064 on 2016/11/29 by Marc.Audy
Use GetComponents directly where safe instead of copying in to an array
Change 3214116 on 2016/11/29 by James.Golding
Fix tooltip when dragging anim assets onto players
Change 3214136 on 2016/11/29 by Ori.Cohen
Make it so moving bodies is immediate when in editor. Useful for editor tools that rely on physx data
#JIRA UE-35864
Change 3214162 on 2016/11/29 by Mieszko.Zielinski
Fixed a bug in EnvQueryGenerator_SimpleGrid resuting in one extra column and row of points being generated #UE4
#jira UE-12077
Change 3214177 on 2016/11/29 by Marc.Audy
Use correct SocketName (broken in CL#2695130)
#jira UE-39153
Change 3214427 on 2016/11/29 by dan.reynolds
AEOverview Update
Fixed Attenuation tests when overlapping attenuation ranges between streamed levels
Added Sound Concurrency Far then Prevent New testmap
Removed some Sound Concurrency assets
Change 3214469 on 2016/11/29 by dan.reynolds
AEOverview Update
Added Sound Concurrency Test for Stop Farthest then Oldest
Change 3214842 on 2016/11/30 by Jurre.deBaare
LookAt AimOffset in the Anim Graph causes character to explode
#jira UE-38533
#fix ensure that the source socket exists on the skeleton during compilation (as far as we can), and skip blendspace evaluation in case of it not being valid during runtime
Change 3214866 on 2016/11/30 by james.cobbett
Updating Pose Snapshot test assets
Change 3214964 on 2016/11/30 by thomas.sarkanen
Added test data for facial animtion curves
Change 3215015 on 2016/11/30 by Jurre.deBaare
When a Aim Offset axis value is edited drastically the preview mesh will be deformed
#fix change the way we change data when axis values are changed, simply remap normalized samples to new axis range
#misc marked some data/functions editor only (not needed during runtime so reduces footprint a little bit)
#jira UE-38880
Change 3215029 on 2016/11/30 by Marc.Audy
Fix CIS
Change 3215033 on 2016/11/30 by Marc.Audy
Add a delegate for when new classes are added via hotreload
Change existing hotload class reinstancing delegates to be multicast
Change 3215048 on 2016/11/30 by Jon.Nabozny
Use getKinematicTarget whenever a body is kinematic.
This should fix some edge cases in FBodyInstance where stale transforms may be used when operations are run in PrePhysics.
#jira UE-37877
Change 3215052 on 2016/11/30 by Marc.Audy
Generalize the volume actor factory logic
Create volume factories when hotreload adds a new volume class
#jira UE-39064
Change 3215055 on 2016/11/30 by Marc.Audy
Probable fix for IOS CIS failure
Change 3215091 on 2016/11/30 by Lina.Halper
Easy alternative fix for blending two curves per bone. For now we just combine.
To fix this properly - i.e. per bone to affect curve - it is very expensive process, so opting into this for 4.15.
#jira: UE-39182
Change 3215179 on 2016/11/30 by Jurre.deBaare
Preview viewport should only use rendering features supported in project
#fix replace the skylight with a sphere reflection component, this will not give image based lighting but does supply the user with a reflection map + intensity
#jira UE-37252
Change 3215189 on 2016/11/30 by Jurre.deBaare
CIS fix
Change 3215326 on 2016/11/30 by Ben.Zeigler
#jira UE-39077 Fix OnActive gameplay cues on standalone servers, it was incorrectly assuming it was in mixed replication mode.
Regression caused by CL #3104976
Change 3215523 on 2016/11/30 by James.Golding
Fix cooking old skel meshes in commandlet - vertex buffer was not recreated so UpdateUVChannelData would crash
Change 3215539 on 2016/11/30 by Marc.Audy
Fix failure to cleanup objects in a hidden always loaded sub-level
#jira UE-39139
Change 3215568 on 2016/11/30 by Aaron.McLeran
UE-39197 Delay node of 0.0 causes crash
Change 3215719 on 2016/11/30 by Aaron.McLeran
UE-39074 Audio related Client crash experienced on latest live build ++UT+Release-Next-CL-3193528
Change 3215773 on 2016/11/30 by Aaron.McLeran
PR #2819 : Fixed typo in SoundWave.h
Change 3215828 on 2016/11/30 by James.Golding
PR #2900: fixed a former change that overlooked the 2 character difference between 16 and 32. (Contributed by MartinMittringAtOculus)
Change 3215831 on 2016/11/30 by James.Golding
UE-36688 Add BlendOption (with CustomCurve) to PoseBlendNode
Change 3215904 on 2016/11/30 by Marc.Audy
Fix significance calculations
Change 3215955 on 2016/11/30 by James.Golding
UE-36791 Fix scaling of rotated convex elements, by baking element transform into cooked convex data.
Change 3215959 on 2016/11/30 by James.Golding
Remove LogTemp warning from FAnimBlueprintCompiler::FinishCompilingClass
Change 3216057 on 2016/11/30 by Marc.Audy
Don't reset expose on spawn properties when in a PIE world
#jira UE-36771
Change 3216114 on 2016/11/30 by James.Golding
Move SkeletalMeshComponent and SkinnedMeshComponent functions out of SkeletalMesh.cpp into correct cpp files
Change 3216144 on 2016/11/30 by Jon.Nabozny
Fix FConstraintInstance scaling issues in FSkeletalMeshComponent::InitArticulated.
InitArticulated uses the default Constraint Template from the Physics Asset a skeletal mesh is associated with.
This caused issues if a skeletal mesh had bone scales that differed from those in the physics asset.
#jira UE-38434
Change 3216148 on 2016/11/30 by Jon.Nabozny
Create test map and asset for Skeletal Mesh Component Scaling and Skeletal Mesh Uniform Import Scaling.
Change 3216160 on 2016/11/30 by Aaron.McLeran
Fixing a memory leak in concurrency management
Change 3216164 on 2016/11/30 by James.Golding
Move SkeletalMeshActor code into its own cpp file
Fix CIS for SkeletalMeshComponent.cpp
Change 3216371 on 2016/11/30 by dan.reynolds
AEOverview Update
Minor tweaks
Completed Sound Concurrency Rule Test Maps
Added additional test files
Change 3216509 on 2016/11/30 by Marc.Audy
Fix missing include
Change 3216510 on 2016/11/30 by Marc.Audy
Code cleanup
Change 3216723 on 2016/12/01 by Jurre.deBaare
When clearing a blend sample animation the animation will try and blend to the ref pose
#fix do not delete sample when animation == nullptr but mark it as invalid, it then will be rendered in red on the grid and discarded during triangle/line generation
#fix indice mapping for 2d blend spaces was incorrect before (luckily never caused an error)
#misc weird whitespace changes
#jira UE-39078
Change 3216745 on 2016/12/01 by Jurre.deBaare
- Blend space triangulation was incorrect in some cases, due to refactor some data was not initialised.
- UDN user was hitting a check within the triangle flipping behaviour
#fix Revisited the conditions to determine whether or not a point lies within a triangles circumcircle
#fix In case we cannot flip the current triangle we skip it and move onto the next one instead of putting in a hard check
#misc refactored triangle flipping code to make it smaller (more readible)
Change 3216903 on 2016/12/01 by mason.seay
Imported mesh for quick test
Change 3216904 on 2016/12/01 by Jurre.deBaare
CIS Fix
#fix replaced condition by both non-editor as editor valid one
Change 3216998 on 2016/12/01 by Lukasz.Furman
fixed AI slowing down on ramps due to 3D input vector being constrained by movement component
#jira UE-39233
#2998
Change 3217012 on 2016/12/01 by Lina.Halper
Checking in James' fix on drag/drop to replace assets
#code review: James.Golding
#jira: UE-39150
Change 3217031 on 2016/12/01 by james.cobbett
Updating Pose Snapshot Assets. Again.
Change 3217033 on 2016/12/01 by Martin.Wilson
Update bounds on all skel meshes when physics asset is changed
#jira UE-38572
Change 3217181 on 2016/12/01 by Martin.Wilson
Fix imported animations containing a black thumbnail
#jira UE-36559
Change 3217183 on 2016/12/01 by Martin.Wilson
Add some extra debugging code for future animation compression / ddc issues
Change 3217184 on 2016/12/01 by james.cobbett
Fixing a test asset by checking a check box. Sigh.
Change 3217216 on 2016/12/01 by Martin.Wilson
Undo part of CL 3217183. Will need to add this back differently.
Change 3217274 on 2016/12/01 by Marc.Audy
When serializing in an enum tagged property follow redirects
#jira UE-39215
Change 3217419 on 2016/12/01 by james.cobbett
Changes to test assets for more Pose Snapshot tests
Change 3217449 on 2016/12/01 by Aaron.McLeran
Adding new audio setting to disable EQ and reverb.
Hooked up to XAudio2 (for now).
Change 3217513 on 2016/12/01 by Marc.Audy
Improve bWantsBeginPlay deprecation message
Change 3217620 on 2016/12/01 by mason.seay
Updated test assets for HLOD
Change 3217872 on 2016/12/01 by Aaron.McLeran
UEFW-113 Adding master reverb to audio mixer
- Added new submix editor to create new submixes
- Created new default master submixes for reverb and EQ and master submixes
- Fixed a number of minor issues found in auido mixer while working on feature
Change 3218053 on 2016/12/01 by Ori.Cohen
Added mass debug rendering
#JIRA UE-36608
Change 3218143 on 2016/12/01 by Aaron.McLeran
Fixing up reverb to support multi-channel (5.1 and 7.1) configurations.
- Added default reverb send amount
Change 3218440 on 2016/12/01 by Zak.Middleton
#ue4 - Made some static FNames const.
Change 3218715 on 2016/12/02 by james.cobbett
Fixed bug in test asset.
Change 3218836 on 2016/12/02 by james.cobbett
Fixing up test asset
Change 3218884 on 2016/12/02 by james.cobbett
Moar test asset changes
Change 3218943 on 2016/12/02 by Ori.Cohen
Make sure welded bodies include the center of mass offset. Note this also changes the COM nudge to be world space instead of local space
#JIRA UE-35184
Change 3218955 on 2016/12/02 by Marc.Audy
Fix initialization order issues
Remove monolithic includes
Change signature to pass string by const ref
Change 3219149 on 2016/12/02 by Ori.Cohen
Fix SetCollisionObjectType not working on skeletal mesh components
#JIRA UE-37821
Change 3219162 on 2016/12/02 by Martin.Wilson
Fix compile error when blend space on aim offset nodes is exposed as pin
#jira UE-39285
Change 3219198 on 2016/12/02 by Marc.Audy
UEnum::FindValue/IndexByName will now correctly follow redirects
#jira UE-39215
Change 3219340 on 2016/12/02 by Zak.Middleton
#ue4 - Optimized and cleaned up some Actor methods related to location and rotation.
- Inlined GetActorForwardVector(), GetActorUpVector(), GetActorRightVector(). Wrapped them to simply call the methods on USceneComponent rather than using a different approach to computing these vectors.
- Inlined blueprint versions: K2_GetActorLocation(), K2_GetActorRotation(), K2_GetRootComponent().
- Cleaned up template methods that are used to delay compilation of USceneComponent calls to make them private and prefix "Template" to their names so they don't show up in autocomplete for calls to the public methods.
Change 3219482 on 2016/12/02 by Ori.Cohen
Fix crash when double deleting a clothing actor due to destroying USkeletalMesh before USkeletalMeshComponent.
#JIRA UE-39172
Change 3219676 on 2016/12/02 by Martin.Wilson
Make clearer that ref pose is from skeleton
Change 3219687 on 2016/12/02 by Aaron.McLeran
Supporting multi-channel reverb with automatic downmixing of input to stereo
Change 3219688 on 2016/12/02 by Martin.Wilson
Fix crash when remapping additive animations after skeleton hierarchy change
#jira UE-39040
Change 3219699 on 2016/12/02 by Zak.Middleton
#ue4 - Fix template's use of old GetActorRotation() function.
Change 3219969 on 2016/12/02 by Ben.Zeigler
#jira UE-24800 Disable replicatied movement updates for actors that are welded to something else, to avoid them fighting with the welded parent's replication
Modified from shelve Zak.Middleton made of PR #1885, after some more testing
Change 3220010 on 2016/12/02 by Aaron.McLeran
Fixing up sound class editor
Change 3220013 on 2016/12/02 by Aaron.McLeran
Deleting monolithic file
Change 3220249 on 2016/12/02 by Aaron.McLeran
Changing reverb settings parameter thread sync method
- Switching to a simple ring buffer rather than using a crit sect
Change 3220251 on 2016/12/02 by Aaron.McLeran
Removing hard-coded audio mixer module name for the case when using -audiomixer argument,
-added new entry to ini file that allows you to specify the audio mixer module name used for the platform.
Change 3221118 on 2016/12/05 by Jurre.deBaare
Back out changelist 3220249 to fix CIS
Change 3221363 on 2016/12/05 by Martin.Wilson
Change slot node category from Blends to Montage
Change 3221375 on 2016/12/05 by Jon.Nabozny
Change AGameModeBase::GetGameSessionClass to return GameSessionClass when set.
#jira UE-39325
Change 3221402 on 2016/12/05 by Jon.Nabozny
Add sanitization code around PhsyX flags and refactor the ways flags are managed through a single code path.
#jira UE-33562
Change 3221441 on 2016/12/05 by Thomas.Sarkanen
Fixed crash when reimporting a mesh when a different animation was open
#jira UE-39281 - Editor crashes when reimporting a skeletal mesh after enabling recalculate tangents
Change 3221473 on 2016/12/05 by Marc.Audy
Get rid of auto.
Use GetComponents directly instead of copying in to temporary arrays
Change 3221584 on 2016/12/05 by Jon.Nabozny
Fix CIS for Mac builds from CL-3221375
Change 3221631 on 2016/12/05 by Martin.Wilson
Possible fix for rare marker sync crash on live servers
#jira UE-39235
#test ai match, animation seemed fine, no crashes
Change 3221660 on 2016/12/05 by mason.seay
Resubmitting to add Viewport Bookmark
Change 3221683 on 2016/12/05 by Mieszko.Zielinski
Temp (but decent) fix to ARecastNavMesh::GetRandomPointInNavigableRadius sometimes retrieving invalid locations even if there's a valid piece of navmesh in the area #UE4
#jira UE-30355
Change 3221750 on 2016/12/05 by Jon.Nabozny
Real CIS fix.
Change 3221917 on 2016/12/05 by Jon.Nabozny
Fix CIS for real this time.
Change 3222370 on 2016/12/05 by mason.seay
Start of Gameplay Tag testmap
Change 3222396 on 2016/12/05 by Aaron.McLeran
UEFW-44 Implementing EQ master submix effect for audio mixer
- New thread safe param setting temlate class (for setting EQ and Reverb params)
- Hook up reverb submix effect to source voices
- Implementation of FBiquad for biquad filter coefficients and audioprocessing
- Implementation of Filter class which hold FBiquad instance per channel, computes coefficents once
- Implementation of equalizer class which is a serial bank of filters set to ParametricEQ filter type
Change 3222425 on 2016/12/05 by Aaron.McLeran
Checking in missing files
Change 3222429 on 2016/12/05 by Aaron.McLeran
Last missing file!
Change 3222783 on 2016/12/05 by Jon.Nabozny
Update SkelMeshScaling map.
Change 3223173 on 2016/12/06 by Martin.Wilson
Fix crash in thumbnail rendering when creating a new montage
#jira UE-39352
Change 3223179 on 2016/12/06 by Marc.Audy
auto/NULL cleanup
Change 3223329 on 2016/12/06 by Marc.Audy
Fix (hard to explain) memory corruption
#jira UE-39366
Change 3223334 on 2016/12/06 by Jon.Nabozny
Add HasBeenInitialized check inside AActor::InitializeComponents
Change 3223340 on 2016/12/06 by Jon.Nabozny
Refactor SkeletalMesh constraint scaling fixes. Add a check on bodies to ensure they are valid.
#jira UE-39238
Change 3223372 on 2016/12/06 by Marc.Audy
Probably fix HTML5 CIS failure
Change 3223511 on 2016/12/06 by Jon.Nabozny
Fix Mac CIS shadow warning
Change 3223541 on 2016/12/06 by Lukasz.Furman
fixed missing NavCollision data in static meshes
#jira UE-39367
Change 3223672 on 2016/12/06 by Ben.Zeigler
#jira UE-39394 Fix GameplayTagContainerCustomization to work like GameplayTagCustomization as a popup instead of a window, this fixes the references button
Remove unnecessary code from both customizations
Change 3223751 on 2016/12/06 by Marc.Audy
Properly remove components from their owner when manipulating through editinlinenew properties
#jira UE-30548
Change 3223831 on 2016/12/06 by Ben.Zeigler
#jira UE-39293 Don't show non-working tag operations when ini tag editing is not enabled
#jira UE-39344 Improve feedback messages when deleting explicit tags that have other explicit tag children
Don't allow deleting a leaf explicit tag whose implicit parent tags are still referenced and it is the only thing keeping them alive
Add Tag Source to tooltip in management mode
Fix RequestGameplayTagChildrenInDictionary to work properly
Change 3223862 on 2016/12/06 by Marc.Audy
Hide deprecated attach functions for all games not just Paragon
Change 3224003 on 2016/12/06 by Marc.Audy
Put behavior of player camera back to how it was prior to Ansel plugin support changes. Make photography only work a different way.
#jira UE-39207
Change 3224602 on 2016/12/07 by Jurre.deBaare
Crash on creating LODs with Medic
#fix Added clamp for UVs -1024 to 1024
#jira UE-37726
Change 3224604 on 2016/12/07 by Jurre.deBaare
Fix for incorrect normal calculation in certain circumstances
#fix Make sure we propagate the matrices to samples after we (re)calculated normals
#fix Conditionally swap/inverse the vertex data buffers instead of always
#fix Set preview mesh for alembic import animation sequences
#misc removed commented out code and added debug code
Change 3224609 on 2016/12/07 by Jurre.deBaare
Alembic Import Issues (skeletal) w. UVs and smoothing groups
#fix Changed the way we populate smoothing group indices for alembic caches
#misc removed commented out code, set base preview pose for alembic imported skeletal meshes / anim sequences
#jira UE-36412
Change 3224783 on 2016/12/07 by James.Golding
Support per-instance skeletal mesh vertex color override
Change 3224784 on 2016/12/07 by James.Golding
Add skelmesh vert color override map. Fix my vert color material to work on skel mesh.
Change 3225131 on 2016/12/07 by Jurre.deBaare
Crash when baking matrix animation when importing an alembic file as skeletal
#fix condition whether or not to apply matrices had not been moved over in previous change
#jira UE-39439
Change 3225491 on 2016/12/07 by Lina.Halper
- Morphtarget fix on the first frame
#jira: UE-37702
Change 3225597 on 2016/12/07 by mason.seay
Updated materials on meshes to ones that don't have physical materials, also rebuilt lighting
Change 3225758 on 2016/12/07 by Aaron.McLeran
UE-39421 Fix for sound class graph bug
Change 3225957 on 2016/12/07 by Ben.Zeigler
#jira UE-39433 Fix crash with mass debug data
Change 3225967 on 2016/12/07 by Lina.Halper
Fix not removing link up cache when removed.
#jira: UE-33738
Change 3225990 on 2016/12/07 by Ben.Zeigler
#jira OR-32975 Sort gameplay tags before saving out modified ini, to help with merge issues
Change 3226123 on 2016/12/07 by Aaron.McLeran
Fix for sound class asset creation from within the sound class graph
Change 3226165 on 2016/12/07 by mason.seay
Replaced skelmesh gun with static mesh cube
Change 3226336 on 2016/12/07 by Aaron.McLeran
Fixing up sound class replacement code.
If you delete a sound class but replace with another, now it properly replaces sound classes in the sound class graphs without totally destroying them
Change 3226701 on 2016/12/08 by Thomas.Sarkanen
Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ CL 3226613
Change 3226710 on 2016/12/08 by Jurre.deBaare
Fix for alembic import crash
#misc update num mesh samples and take into account user set start frame in case of skipping preroll frames
Change 3226834 on 2016/12/08 by Jurre.deBaare
Fix for incorrect matrix samples being applied during Alembic cache importing
#fix Change way we loop through samples and determine correct matrix and mesh sample indices
Change 3227330 on 2016/12/08 by Jurre.deBaare
Temporary fix for animBP compilation error, underlying issue is causing the skeleton to not be fully loaded when we are validating the animation node. This makes the socket name check fail and consequently output a compilation error
#UE-39499
#fix Ensure that the skeleton is loaded by checking for RF_NeedPostLoad
#misc corrected socket name output, removed unnecessary nullptr check
Change 3227575 on 2016/12/08 by Marc.Audy
Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3227387
Change 3227602 on 2016/12/08 by Marc.Audy
Copyright 2016 to 2017 updates for new Framework files
[CL 3227721 by Marc Audy in Main branch]
2016-12-08 16:58:18 -05:00
FArchive & operator < < ( FAssetPtr & AssetPtr )
{
// Fixup AssetPtrs string asset reference, as the pointed to object may have changed
UObject * Object = static_cast < UObject * > ( AssetPtr . Get ( ) ) ;
if ( Object )
{
AssetPtr = Object ;
}
else
{
* this < < AssetPtr . GetUniqueID ( ) ;
}
return * this ;
}
2014-07-24 13:25:23 -04:00
private :
const FString & OldAssetPath ;
const FString & NewAssetPath ;
} ;
FStringAssetReferenceRenameSerializer RenameSerializer ( OldAssetPath , NewAssetPath ) ;
for ( auto * Package : PackagesToCheck )
{
TArray < UObject * > ObjectsInPackage ;
GetObjectsWithOuter ( Package , ObjectsInPackage ) ;
for ( auto * Object : ObjectsInPackage )
{
Object - > Serialize ( RenameSerializer ) ;
Copying //UE4/Dev-Editor to //UE4/Dev-Main (Source: //UE4/Dev-Editor @ 3279756)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3229490 on 2016/12/09 by Cody.Albert
Integrated fix to support named changelists in SVN
Change 3229574 on 2016/12/09 by Simon.Tourangeau
Fix actor mobility getting changed on scene reimport
#jira UE-39102
Change 3229692 on 2016/12/09 by Cody.Albert
Fixing an XML Parser assert when parsing a root tag that completes on the same line.
#jira UE-30393
Change 3230582 on 2016/12/12 by Matt.Kuhlenschmidt
PR #3024: Correct the outdated error message instructions for how to fix being unable to launch on an iOS device. (Contributed by CleanCut)
Change 3231470 on 2016/12/12 by Matt.Kuhlenschmidt
Eliminate editor sounds that play when you PIE, simulate or possess the player. They get in the way of game sounds, are annoying to hear when you are constantly starting and stopping pie, and flush async loading that the game might be doing when they load.
Change 3231475 on 2016/12/12 by Alex.Delesky
#jira UE-39023 - Using the High Resolution screenshot tool with the "custom depth as mask" option checked should no longer crash the editor or a PIE viewport when the screen percentage is not set to 100.
Change 3231476 on 2016/12/12 by Alex.Delesky
#jira UE-39380 - Thumbnails for static meshes in the foliage paint mode window should now update to show the correct mesh if the thumbnail pool has been exhausted. This also increases the number of foliage thumbnals that can exist onscreen at once.
Change 3231477 on 2016/12/12 by Alex.Delesky
#jira none - Extending the IPluginWizardDefinition interface to allow it to return the descriptor type of the plugin. This fixes a merge conflict from Odin where the new plugin wizard was modified to allow for multiple template selection.
Change 3231479 on 2016/12/12 by Alex.Delesky
#jira UE-39376 - Changing the number of players or changing the dedicated server options in PIE settings should now always persist on editor shutdown.
Change 3231480 on 2016/12/12 by Alex.Delesky
#jira UE-39417 - A texture will now match to update a dropped in file if the source path differs from that of the dropped in file
Change 3231508 on 2016/12/12 by Alex.Delesky
Removing todo comment
#jira none
Change 3231603 on 2016/12/12 by Matt.Kuhlenschmidt
Exposed a 0-1 UV set and the scaled pixel size for Box and Border brushes
Also added a material function that exposes all of the current UV sets with nice names instead of indexed coordinates
Change 3231618 on 2016/12/12 by Alex.Delesky
#jira UE-38732 - When editing a spin box with a delta value, committing the value with the Enter key and then clearing the focus from the spin box will no longer change the internal value to match the snapped value.
Change 3231638 on 2016/12/12 by Matt.Kuhlenschmidt
Add RF_Transactional to the list of default flags for creating or importing new assets. All should be transactional by default
Change 3231642 on 2016/12/12 by Matt.Kuhlenschmidt
Brighten up the output log by default
Change 3231648 on 2016/12/12 by Alex.Delesky
#jira UE-38033 - Selecting a Named Slot that's part of a widget in a Widget Switcher will now show that widget instead of the widget at index 0. This also applies to any content set inside the named slot.
Change 3231666 on 2016/12/12 by Alex.Delesky
#jira UE-38952 - Widgets that have been copied and pasted into the same hierarchy will now retain the same name in the hierarchy. This does not fix widgets that have been previously copied and pasted from other widgets, nor copies of those widgets.
Change 3231674 on 2016/12/12 by Alex.Delesky
#jira UE-37106 - When using or simulating touch for Widget Components, the hover/clicked state will now be accurately determined rather than showing hover on initial touch.
Change 3231745 on 2016/12/12 by Alex.Delesky
Back out changelist 3231477 to fix build error C2259
Change 3232417 on 2016/12/13 by Simon.Tourangeau
Add the following attributes to the Editor.Usage.FBX.Import EngineAnalytics event
- FBX Version
- Filename Hash
- Import Type
#jira UE-37453
Change 3232477 on 2016/12/13 by Michael.Dupuis
#jira UE-39675 : There was an issue when the Neutral Value == the Min or Max value, so we simply prevent using the concept of neutral value if min or max == neutral as it mean you only want a log on one side.
Change 3232571 on 2016/12/13 by Alex.Delesky
Back out changelist 3231745
#jira none - Extending the IPluginWizardDefinition interface to allow it to return the descriptor type of the plugin. This fixes a merge conflict from Odin where the new plugin wizard was modified to allow for multiple template selection.
Change 3232675 on 2016/12/13 by Alexis.Matte
Fix a crash when reordering material with a fbx containing unused materials, add a fbx automation test to prevent similar issue.
#jira UE-39692
Change 3232975 on 2016/12/13 by Alex.Delesky
Fix to build error C2259 for the IPluginWizardDefinition API change.
Change 3233146 on 2016/12/13 by Michael.Dupuis
#jira UE-38766 : Added eye dropper to select flatten height
Fixed a rounding errors resulting in not flattening to the specified height
Fixed a rounding error resulting in LandscapeDataAccess::GetTexHeight not always returning the appropriate value
Change 3233153 on 2016/12/13 by Alexis.Matte
We cannot anymore change the instance override materials array topology, the topology is limited by the mesh materials array
#jira UE-38827
Change 3234406 on 2016/12/14 by Matt.Kuhlenschmidt
Fix window handle and device context being accessed by scene viewports after the underlying window has been destroyed by the OS. This is an invalid state on linux and using some vr devices.
#jira UE-7388
Change 3234485 on 2016/12/14 by Michael.Dupuis
tentative build fix for Mac
Change 3234495 on 2016/12/14 by Matt.Kuhlenschmidt
Made a setting to control if PIE enter and exit sounds are played. Off by default
Change 3236709 on 2016/12/15 by Simon.Tourangeau
Fix camera export rotation offset
#jira UE-34692
#jira UE-39740
Change 3236782 on 2016/12/15 by Jamie.Dale
Fixed EmitTermExpr failing to use the correct package ID
FBPTerminal::Source used to be set to the pin, however when pins were moved away from being UObjects, FBPTerminal::SourcePin was added and FBPTerminal::Source is typically null.
Change 3236853 on 2016/12/15 by Alexis.Matte
Fix the serialization of the staticmesh property FMeshSectionInfoMap
Change 3236890 on 2016/12/15 by Matt.Kuhlenschmidt
Remove old define
Change 3239328 on 2016/12/18 by Richard.TalbotWatkin
Fixed Focus Viewport action in Static Mesh Viewport. Problem was that the conversion to Orbit Camera for storing the camera position was trashing the desired position during cvamera transitions. Orbit camera position is now only stored at the end of a transition.
#jira UE-39825 - Key "F" for Focus acts Sporadically in the Static Mesh Editor Viewport
Change 3239660 on 2016/12/19 by Alex.Delesky
#jira UE-38968, UE-36826 - Components attached to actors can now be directly scaled to negative values using the transform gizmo for that component.
Change 3239662 on 2016/12/19 by Alex.Delesky
#jira UE-39007 - The data table row editor now contains a Reset to Default control.
Change 3239663 on 2016/12/19 by Alex.Delesky
#jira UE-39698 - Importing CSV files will now show the name of the file in the import dialog.
Change 3240696 on 2016/12/20 by Michael.Dupuis
#jira UETOOL-1009:
Added paddiing to columns view
Added auto resize of column when double clicking on splitter handle in the header
Remove right number alignment after discussion with Matt K.
Change 3240758 on 2016/12/20 by Michael.Dupuis
added missing non abstract implementation
Change 3240782 on 2016/12/20 by Michael.Dupuis
Added missing documentation for content browser column auto resizing
Change 3240817 on 2016/12/20 by Alex.Delesky
#jira UE-38940 - Copying a Material-Custom node with a tab character should now correctly render the tab.
Change 3240834 on 2016/12/20 by Michael.Dupuis
tentative fix for build error
Change 3240984 on 2016/12/20 by Michael.Dupuis
Removed unnecessary functions
Change 3241174 on 2016/12/20 by Matt.Kuhlenschmidt
Fix compile errors
Change 3241966 on 2016/12/21 by Chris.Wood
Fixed Typo and changed execution order in "ComboBoxString" Component
[UE-38994] - GitHub 2971 : Fixed Typo and changed execution order in "ComboBoxString" Component
PR #2971: Fixed Typo and changed execution order in "ComboBoxString" Component (Contributed by eXifreXi)
#github https://github.com/EpicGames/UnrealEngine/pull/2971
Change 3242126 on 2016/12/21 by Alexis.Matte
Back out changelist 3236853
We have to back out this change list because the change was implement in the 4.15 release branch and the EditorObjectVersion.h change is now implement in the ReleaseObjectVersion.h.
Change 3244492 on 2017/01/02 by Jamie.Dale
Improved error message
Change 3244545 on 2017/01/02 by Nick.Darnell
Navigation - Making it so we don't attempt to load HotReload during shutdown, we only access it if it's still loaded.
Change 3244549 on 2017/01/02 by Nick.Darnell
Slate - Implementing custom hardware cursor loading across Windows, Mac and Linux and supports loading cursors from PAK files. All platforms support loading PNGs through the FHardwareCursor interface. Some platforms support additional formats, for multiresolution support, but there's a naming convention that can be used on PNGs for the same capability. All of it is documented in the FHardwareCursor header. The platform layer for ICursor, now has support for replacing cursor shapes as an override, and can be reset safely.
The FHardwareCursor supports loading cursors from raw pixel buffers as well, the plan is to allow for the option to UTextures to also be used for hardware cursors.
Now users through C++ can load and replace the hardware cursors with custom ones of their own,
e.g. FSlateApplication::Get().RegisterCursor(EMouseCursor::Default, MakeShareable(new FHardwareCursor(FPaths::GameContentDir() / "Slate/FancyPointer", FIntPoint(0,0))));
The next step is to expose a game friendly layer that supports caching cursors, and letting users change them out by name, without a bunch of destruction of OS resources.
Change 3244845 on 2017/01/03 by Jamie.Dale
Fixing typo
#jira UE-39920
Change 3244903 on 2017/01/03 by Jamie.Dale
PR #3044: fix link error when FAssetData::PrintAssetData() is used in project (Contributed by kayama-shift)
Change 3245125 on 2017/01/03 by Alexis.Matte
Put back the dev-editor version because there was some data create before we back it out
Change 3246106 on 2017/01/04 by Chris.Wood
Removed broken CrashReportReciever pre-upload phase from CrashReportClient.
[UE-40153] - CrashReportClient fails when used in legacy mode with a CrashReportReciever
Change 3246251 on 2017/01/04 by Alex.Delesky
#jira UE-39869 - Moving an asset before saving it and then hitting Save All from the file menu will no longer save the asset in its original location.
Change 3246252 on 2017/01/04 by Alex.Delesky
#jira UE-39793 - Fixes an issue with the AutoReimporter where specifying a non-existent mount point (a directory in the content browser) would cause a crash when attempting to auto-import an asset from a monitored directory, as well as ensuring that valid mount points will be able to create new assets from auto-import.
The "Map Directory To" field when setting directories to monitor for auto-reimport has also been changed to use the content browser path picker instead of relying on the user to manually enter a mount point.
Change 3247620 on 2017/01/05 by Nick.Darnell
Automation - Removing an adjustment to the number of shots we take for high res shots.
Change 3247621 on 2017/01/05 by Nick.Darnell
Automation - Adding a few more rendering tests to the cornell box.
Change 3247629 on 2017/01/05 by Nick.Darnell
Automation - Improving the comparison row display for screenshots so it's obvious what each image represents.
Change 3248811 on 2017/01/05 by Matt.Kuhlenschmidt
PR #3091: Removed unnecessary UPackage casts (Contributed by projectgheist)
Change 3248860 on 2017/01/06 by Matt.Kuhlenschmidt
Made the plugin browser select the "built in" category by default instead of the 2D category. There is no reason for a sub-category to be selected first as it makes searching for plugins globally an extra click because you have to click on the base category first
Change 3249264 on 2017/01/06 by Matt.Kuhlenschmidt
Fixed automation test warnings
#jira UE-40198
Change 3249481 on 2017/01/06 by Michael.Dupuis
#jira UE-37875 : Fill empty layers of components on assignation or creation
Also fill new component added with the tool from neighbours predominance
Change 3249505 on 2017/01/06 by Matt.Kuhlenschmidt
PR #3093: Include guard cleanup (Contributed by projectgheist)
Change 3249544 on 2017/01/06 by Michael.Dupuis
#jira UE-40299: validate if UISettings is valid
Change 3250738 on 2017/01/09 by Nick.Darnell
UMG - The WIC now checks if the Widget is enabled before it claims that it's over an interactable or keyboard focusable widget.
#jira UE-39845
Change 3250865 on 2017/01/09 by Nick.Darnell
Slate - Updating EAutoCenter and ESizingRule to use the newer enum class style enums.
Change 3250867 on 2017/01/09 by Nick.Darnell
Slate - Adding more logging to the hardware cursor code so that it reports more information when it doesn't find an exact match when it comes to cursor size.
Change 3250936 on 2017/01/09 by Nick.Darnell
Automation - Refactoring the screenshot comparison tool to no longer require one one generated report. Doing screenshot comparions now generates individual reports for each failed comparison so that they can be evaluated in bits, and as changes occur as the user reviews aspects, we can remove the reports. There is now async image loading for the comparison view so that it doesn't hitch.
Change 3250937 on 2017/01/09 by Nick.Darnell
Automation - Adding another example to the CornellBox test.
Change 3250958 on 2017/01/09 by Nick.Darnell
Slate - Fixing some other cases where people were referring to ESizingRule::Type.
Change 3251162 on 2017/01/09 by Nick.Darnell
Slate - Fixing some other cases where people were referring to ESizingRule::Type.
Change 3251254 on 2017/01/09 by Matt.Kuhlenschmidt
Attempt to fix static analysis warnings
Change 3251373 on 2017/01/09 by Nick.Darnell
Core - Now writing a log warning instead of ensuring if calling LoadModule wouldn't have been safe to do here, depending on load order.
Change 3251525 on 2017/01/09 by Nick.Darnell
Automation - Fixing a build issue in ImageComparer.
Change 3252321 on 2017/01/10 by Alex.Delesky
#jira UE-40164 - Importing multiple files to overwrite existing assets such as sounds will now correctly persist the "Yes to All" / "No to All" dialog selections.
Change 3252354 on 2017/01/10 by Nick.Darnell
Image Compare - Fixing a potential threading hazard in the image comparer.
Change 3252356 on 2017/01/10 by Nick.Darnell
Automation - The screenshot metadata now captures the commit/CL that the screenshot was taken at and records it in the metadata.
Change 3252601 on 2017/01/10 by Alexis.Matte
Fbx automation test, reload feature implementation
Change 3252761 on 2017/01/10 by Jamie.Dale
Fixing some IWYU errors with PCH disabled
Change 3252765 on 2017/01/10 by Jamie.Dale
Fixing some static analysis warnings
Change 3252793 on 2017/01/10 by Jamie.Dale
Fixing FText natvis
The text data visualizers have to be defined before the text visualizer
Change 3253987 on 2017/01/11 by Matt.Kuhlenschmidt
PR #3108: Git Plugin: use asynchronous "MarkForAdd" and "CheckIn" operations for the initial commit (Contributed by SRombauts)
Change 3254378 on 2017/01/11 by Matt.Kuhlenschmidt
Refactor scene importing to allow for plugins to make scene importers
Change 3254679 on 2017/01/11 by Matt.Kuhlenschmidt
Fix calling LoadModule in perforce source control off the main thread
Change 3256472 on 2017/01/12 by Jamie.Dale
Improved error reporting from IncludeTool
- The error reporting was using zero-based line indices which was misleading.
- The error reporting now includes the offending line to remove ambiguity.
Change 3256725 on 2017/01/13 by Jamie.Dale
IncludeTool can now parse typedef in Fwd headers
Change 3256758 on 2017/01/13 by Jamie.Dale
Added support for String Tables
String Tables provide a way to centralize your localized text into one (or several) known locations, and then reference the entries within a string table from other assets or code in a robust way that allows for easy re-use of localized text.
String Tables can be defined in C++ (using the LOCTABLE family of macros), loaded via CSV file, or created as an asset. They can be referenced in C++ using either the LOCTABLE macro, or the static FText::FromStringTable function. INI files can reference them using the LOCTABLE macro syntax, and FText properties in assets can reference them via the advanced settings combo.
Change 3257018 on 2017/01/13 by Alexis.Matte
FbxAutomationTest fix the import reload operation, it was calling garbagecollect with no keep flag
Change 3257168 on 2017/01/13 by Jamie.Dale
Removed code that was writing null into bytecode during save
Change 3257344 on 2017/01/13 by Jamie.Dale
Backing out changelist 3256725, and excluding my header from the scan instead
Change 3257426 on 2017/01/13 by Nick.Darnell
Slate - Adding the ability to invert alpha when drawing slate textures. Going to be used in the future for rendering render targets for the scene which have inverted alpha.
Change 3257572 on 2017/01/13 by Nick.Darnell
Slate - Fixing a build error.
Change 3257970 on 2017/01/14 by Jamie.Dale
Fixing exclude path
Change 3258458 on 2017/01/16 by Matt.Kuhlenschmidt
PR #3135: GameViewportClient: FOnCloseRequested is now a multicast delegate (Contributed by Nadrin)
Change 3258472 on 2017/01/16 by Matt.Kuhlenschmidt
PR #3126: Fix to load editor style assets (Contributed by projectgheist)
Change 3258473 on 2017/01/16 by Matt.Kuhlenschmidt
PR #3124: Fix wrong result with Image-DrawAsBox with PaperSprite. (Contributed by valval88)
Change 3258539 on 2017/01/16 by Nick.Darnell
Slate - Pixel Snapping has been moved to the GPU for the RHI rendering policy. Additionally, widgets with a render transform of Scale, Rotation or Sheer, and their children are no longer pixel snapped, this should reduce some of jittering seen by users when animations are applied to widgets. NOTE: This only affects render transforms, any transform in layout space is still subject to pixel snapping.
Change 3258607 on 2017/01/16 by Nick.Darnell
Fixing the mac build.
Change 3258661 on 2017/01/16 by Matt.Kuhlenschmidt
Actors with experimental components no longer say
"Uses experimental class: Actor" when selecting the actor root in the details panel
#jira UE-40535
Change 3258678 on 2017/01/16 by Nick.Darnell
Platform - Introducing a way to get the mimetype for a file on Windows. Other platforms don't yet have an implementation outside of returning application/unknown.
Change 3258924 on 2017/01/16 by Nick.Darnell
Platform - Implementing a fallback for the generic platform http, that can do some basic mimetype lookups.
Change 3258929 on 2017/01/16 by Nick.Darnell
UMG - Fixing the animation to finish the evaluation before it notifies that the animation completed.
Change 3259109 on 2017/01/16 by Nick.Darnell
Platform - The GetMimeType function now only takes in FilePath, since some platforms will require that actually resolve to a file on disk in order to determine the true mimetype.
Change 3259111 on 2017/01/16 by Alexis.Matte
Avoid to move the camera when we re-import in the static mesh editor
#jira UE-40613
Change 3259275 on 2017/01/16 by Matt.Kuhlenschmidt
Fix crash when a slate window is resized and calls into a scene viewport during loading code when the scene viewport is not in a slate hierarchy and thus has no widget
Change 3259300 on 2017/01/16 by Nick.Darnell
UMG - Introducing PreConstruct and NativePreConstruct to the base UUserWidget. Users can now visualize non-binding based changes in the designer by evaluating a very limited amount of the blueprint code. In the event your user widget crashes on load, due to calling something unsafe, you can disable evaluation in the editor preferences under Widget Designer.
Change 3259306 on 2017/01/16 by Nick.Darnell
Games - Removing the Game Specific implementations of PreConstruct.
Change 3260182 on 2017/01/17 by Matt.Kuhlenschmidt
Fix static analysis
Change 3261049 on 2017/01/17 by Nick.Darnell
Slate - Putting in some fixes for the non-gpu pixel snapping mode, and disabling gpu snapping while we dig into why it looks weird.
Change 3261434 on 2017/01/17 by Nick.Darnell
Fixing the mac build.
Change 3261435 on 2017/01/17 by Nick.Darnell
Slate - Tweaking some aspects of the slate rounding code on the GPU. There's still some precision loss somewhere causing subtle differences in where the snap occurs, that's different from previously.
Change 3261460 on 2017/01/17 by Nick.Darnell
UMG - Tweaking the defintiions of NativePreConstruct, dropping passing in design time since that is readily available in native code.
Change 3261833 on 2017/01/18 by Alexis.Matte
Fix all warning for fbx automation tests
#jira UE-40208
Change 3261874 on 2017/01/18 by Matt.Kuhlenschmidt
PR #3136: Fix Submit to Source Control Window for Git plugin : use CanCheckIn() to filter out unmodified assets files (Contributed by SRombauts)
Change 3262000 on 2017/01/18 by Jamie.Dale
Updated Slate to allocate widgets using MakeShared
This saves one allocation per-widget
Change 3262003 on 2017/01/18 by Nick.Darnell
UMG - Widget Interaction Components now ignore Visible(false) Widget Components when tracing.
#jira UE-40523
Change 3262052 on 2017/01/18 by Alexis.Matte
Put back the staticmesh skinxx workflow
#jira UE-40782
Change 3262775 on 2017/01/18 by Nick.Darnell
Slate - Ditching moving vertex rounding to the GPU, some precision issues could not be overcome. Ended up writing a clean way to implement it on the CPU.
Change 3262818 on 2017/01/18 by Alex.Delesky
#jira UE-40668 - Editor preferences will now save for data pin styles
Change 3263679 on 2017/01/19 by Nick.Darnell
Slate - Adding some comments to the Slate Vertex Rounder.
Change 3265154 on 2017/01/19 by Nick.Darnell
Slate/UMG - Putting in some more time into pixel snapping. I've re-introduced the old constructors, and decided to go with the templated approach, as to not break old code that relied on the FSlateVertex working a certain way.
Change 3265478 on 2017/01/20 by Chris.Wood
Added config support for hang detection time and switching hang detection on/off in UnrealWatchdog
[UE-40838] - Make hang time configurable and increase default in UnrealWatchdog
Change 3265600 on 2017/01/20 by Nick.Darnell
Slate - Making some const local variables const.
Change 3265714 on 2017/01/20 by Alex.Delesky
#jira UE-40791 - The ForceFeedback thumbnail's Play and Stop icons will now render correctly, and will only be visible while an effect is playing or when the cursor hovers over the icon.
Change 3265865 on 2017/01/20 by Alex.Delesky
#jira UE-40511 - The Content Browser file path will now update when inside a folder that is deleted from the Sources Panel.
Change 3267989 on 2017/01/23 by Jamie.Dale
Exposed String Tables to Blueprints
Change 3268018 on 2017/01/23 by Jamie.Dale
Small API clean-up for string tables
Change 3268455 on 2017/01/23 by Matt.Kuhlenschmidt
Fix SaveAs (Which says SaveCurrentAs) not saving the current level and only saving the persistent level and then reloading everything thus causing work to be lost if editing a sub-level
#jira UE-40930
Change 3269388 on 2017/01/24 by Chris.Wood
Refactored tick timing in UnrealWatchdog to stop bug where it doesn't close.
[UE-40839] - UnrealWatchdog running and blocking use of Unreal Game Sync for internal users
Standalone tool code only - doesn't touch engine
Change 3270205 on 2017/01/24 by Cody.Albert
Updated FUnrealEdMisc::OnMessageTokenActivated to properly traverse up the outer hierarchy of an object.
Change 3270231 on 2017/01/24 by Cody.Albert
Renamed and exposed GetFullScreenAlignment and GetViewportAnchors for consistency with the setters
Change 3271734 on 2017/01/25 by Michael.Dupuis
#jira UE-38631
Add sorting for landscape target layer, user can now sort alphabetical, material based or custom
Added a new vertical box SDragNDropVerticalBox to handle drag & drop of FSlot
Fixed SDropTarget to only consider the drop action if it was started by it
Added visibility toggle to only show used layers in the currently loaded data
Change 3271797 on 2017/01/25 by Jamie.Dale
Renamed HasBeenAlreadyMadeSharable to DoesSharedInstanceExist as the old name was nonsense
Change 3271813 on 2017/01/25 by Jamie.Dale
Fixed bad access of a shared this during widget destruction when a context menu was open
Change 3271988 on 2017/01/25 by Nick.Darnell
Slate - Removing some old checkbox deprecated code from the 4.3 and 4.6 days.
Change 3271992 on 2017/01/25 by Nick.Darnell
Blueprints - Making the checked call better to log out more information when dragging and dropping a missing property.
Change 3272134 on 2017/01/25 by Jamie.Dale
Updated the GatherText commandlet to no longer hold a ConfigFile pointer while it runs
This pointer is internal to GConfig, and may be updated (or invalidated) when other config files are loaded (as can happen via game code while gathering text).
Change 3272301 on 2017/01/25 by Nick.Darnell
Slate - More cleanup from the removal of a old legacy enum that people were still using.
Change 3273070 on 2017/01/26 by Chris.Wood
Fix CIS errors in landscape code from CL 3271734
Change 3273123 on 2017/01/26 by Chris.Wood
Fix crash during init of CRC when running packaged without access to main engine config hierarchy.
Change 3273194 on 2017/01/26 by Nick.Darnell
Fixing some build warnings.
Change 3273242 on 2017/01/26 by Michael.Dupuis
#jira UE-39948 : if we detect there is multiple levels in the current persistent when we add a new foliage asset we ask to save the foliage as an asset to permit paiting over multiple levels
Change 3273279 on 2017/01/26 by Jamie.Dale
String Table INI redirects are now in the "Core.StringTable" section (rather than "/Script/Engine.Engine")
Change 3273483 on 2017/01/26 by Alex.Delesky
#jira UE-32047 - Made changes to the FixupRedirects commandlet to ensure that files that are marked for delete are moved from the default changelist to the pending changelist and submitted when using Perforce.
Also makes a slight change to the ResavePackages commandlet to submit files marked for delete.
Change 3273568 on 2017/01/26 by Alex.Delesky
Modifying changes made to SPluginWizard to have the plugin loading phase determined by the wizard's definition rather than from the first selected template.
#jira none
Change 3273855 on 2017/01/26 by Alex.Delesky
#jira UE-41117 - Updating the tooltip on the "Allow Paint of all LODs" option for mesh paint mode.
Change 3274200 on 2017/01/26 by Alex.Delesky
For IPluginWizardDefinition, temporarily adding function bodies to two methods instead of having them be pure virtual methods.
Change 3274317 on 2017/01/26 by Jamie.Dale
Deleting a seemingly corrupted asset that was accidentially submitted
Change 3275072 on 2017/01/27 by Michael.Dupuis
#jira UE-38631 tweaks
Fix typo error
Iterate all components, not only active one
Force expand the Target Layers widget
Change 3275249 on 2017/01/27 by Alexis.Matte
Color grading controls: Keep the vector ratio when changing the master slider
#jira UETOOL-1098
Change 3275282 on 2017/01/27 by Alexis.Matte
Color grading controls: Cosmetic changes
#jira UETOOL-1099
Change 3275292 on 2017/01/27 by Alexis.Matte
Make sure the build is called once when we import a staticmesh.
#jira UE-40947
Change 3275430 on 2017/01/27 by Alexis.Matte
Add some fbx automation tests
- Import a mesh with no material
- Import corrupted asset with no section in a LOD
- Import morph targets
- Materials name clash
- Max Multimap material ordering
Change 3275683 on 2017/01/27 by Michael.Dupuis
#jira UE-41215 : when saving an asset do not register the transaction, and make sure that the duplicate wont keep a copy in the transaction buffer as an asset can't be undo
Change 3276237 on 2017/01/27 by Jamie.Dale
Deleting a seemingly corrupted asset that was accidentially submitted
Change 3276266 on 2017/01/27 by Jamie.Dale
Fix for accessing a potentially null pointer
Change 3277065 on 2017/01/30 by Chris.Wood
Move crash report temp files to saved config and cleanup on schedule.
[UE-39506] - CrashReportClient ini folders are not cleaned when opening the editor
Change 3277236 on 2017/01/30 by Matt.Kuhlenschmidt
Fix crash when cancelling SaveCurrentLevelAs
#jira UE-41182
Change 3277409 on 2017/01/30 by Jamie.Dale
Improved text rendering when the last resort font is missing
The last resort font is no longer included in shipping builds, so this change makes some improvements to text rendering when it's missing.
- The legacy font cache no longer tries to use the last resort font if it's not available (preventing warnings).
- The Slate font renderer no longer tries to use the last resort font if it's not available.
- Text shaping will use the last resort character if none of the available fonts can render a given character (likely because the last resort font is missing).
- HarfBuzz shaped text now uses the fallback character correctly.
Change 3277749 on 2017/01/30 by Nick.Darnell
Slate - Moving ESlateDrawEffect & ESlateBatchDrawFlag over to be enum class, found cases where users were improperly assuming the enum order, and so now it won't be possible to just treat an int32 or a bool as the draw effect value.
Core - Adding EnumHasAllFlags and EnumHasAnyFlags, templated functions to make it easier to check for the existance of a flag on enum classes.
Change 3277805 on 2017/01/30 by Nick.Darnell
Rendering - Changing some LoadModuleChecked calls to GetModuleChecked, as these calls are not happening on the main thread and are not safe to make.
Change 3277914 on 2017/01/30 by Matt.Kuhlenschmidt
Fix Niagara slate style warning on startup
Change 3278058 on 2017/01/30 by Matt.Kuhlenschmidt
Fixed compile error
Change 3278132 on 2017/01/30 by Nick.Darnell
Fixed compile error
Change 3278133 on 2017/01/30 by Matt.Kuhlenschmidt
Fixed compile errors
Change 3278186 on 2017/01/30 by Nick.Darnell
Fixed compile error
Change 3278525 on 2017/01/30 by Nick.Darnell
Fixed compile error
Change 3278534 on 2017/01/30 by Nick.Darnell
Automation - Clearing up several warnings/errors with automation results, trying to get Automation Tests to at least yellow before integration.
Change 3278941 on 2017/01/31 by Nick.Darnell
Fixing a build warning due to build team refactor.
Change 3278949 on 2017/01/31 by Nick.Darnell
Fixing incrmenetal build issues.
Change 3278953 on 2017/01/31 by Nick.Darnell
Fixing some incrmental linux build issues.
Change 3278964 on 2017/01/31 by Nick.Darnell
FIxing more incremental build issues.
Change 3279256 on 2017/01/31 by Michael.Dupuis
#jira UE-41319
#jira UE-41315
#jira UE-41316
Instead of getting the Landscape Actor, call GetLandscapeProxy so all case are handled, either proxy or landscape actor
Change 3279270 on 2017/01/31 by Chad.Garyet
re-updating the automation test pool
[CL 3279775 by Matt Kuhlenschmidt in Main branch]
2017-01-31 15:22:49 -05:00
if ( UBlueprint * Blueprint = Cast < UBlueprint > ( Object ) )
{
// Serialize may have dirtied the BP bytecode in some way
FBlueprintEditorUtils : : MarkBlueprintAsModified ( Blueprint ) ;
}
2014-07-24 13:25:23 -04:00
}
}
}
2014-03-14 14:13:41 -04:00
void FAssetRenameManager : : PerformAssetRename ( TArray < FAssetRenameDataWithReferencers > & AssetsToRename ) const
{
const FText AssetRenameSlowTask = LOCTEXT ( " AssetRenameSlowTask " , " Renaming Assets " ) ;
GWarn - > BeginSlowTask ( AssetRenameSlowTask , true ) ;
2014-07-24 13:25:23 -04:00
/**
* We need to collect and check those cause dependency graph is only
* representing on - disk state and we want to support rename for in - memory
* objects . It is only needed for string references as in memory references
* for other objects are pointers , so renames doesn ' t apply to those .
*/
TArray < UPackage * > DirtyPackagesToCheckForStringReferences ;
FEditorFileUtils : : GetDirtyWorldPackages ( DirtyPackagesToCheckForStringReferences ) ;
FEditorFileUtils : : GetDirtyContentPackages ( DirtyPackagesToCheckForStringReferences ) ;
2014-03-14 14:13:41 -04:00
TArray < UPackage * > PackagesToSave ;
TArray < UPackage * > PotentialPackagesToDelete ;
for ( int32 AssetIdx = 0 ; AssetIdx < AssetsToRename . Num ( ) ; + + AssetIdx )
{
GWarn - > StatusUpdate ( AssetIdx , AssetsToRename . Num ( ) , AssetRenameSlowTask ) ;
FAssetRenameDataWithReferencers & RenameData = AssetsToRename [ AssetIdx ] ;
if ( RenameData . bRenameFailed )
{
// The rename failed at some earlier step, skip this asset
continue ;
}
UObject * Asset = RenameData . Asset . Get ( ) ;
if ( ! Asset )
{
// This asset was invalid or GCed before the rename could occur
RenameData . bRenameFailed = true ;
continue ;
}
2015-03-20 17:18:31 -04:00
FString OldAssetPath = Asset - > GetPathName ( ) ;
2014-03-14 14:13:41 -04:00
ObjectTools : : FPackageGroupName PGN ;
PGN . ObjectName = RenameData . NewName ;
PGN . GroupName = TEXT ( " " ) ;
2015-03-18 09:46:02 -04:00
PGN . PackageName = RenameData . PackagePath / PGN . ObjectName ;
2014-03-14 14:13:41 -04:00
const bool bLeaveRedirector = RenameData . bCreateRedirector ;
UPackage * OldPackage = Asset - > GetOutermost ( ) ;
bool bOldPackageAddedToRootSet = false ;
if ( ! bLeaveRedirector & & ! OldPackage - > IsRooted ( ) )
{
bOldPackageAddedToRootSet = true ;
OldPackage - > AddToRoot ( ) ;
}
TSet < UPackage * > ObjectsUserRefusedToFullyLoad ;
FText ErrorMessage ;
if ( ObjectTools : : RenameSingleObject ( Asset , PGN , ObjectsUserRefusedToFullyLoad , ErrorMessage , NULL , bLeaveRedirector ) )
{
PackagesToSave . AddUnique ( Asset - > GetOutermost ( ) ) ;
// Automatically save renamed assets
if ( bLeaveRedirector )
{
PackagesToSave . AddUnique ( OldPackage ) ;
}
else if ( bOldPackageAddedToRootSet )
{
// Since we did not leave a redirector and the old package wasnt already rooted, attempt to delete it when we are done.
PotentialPackagesToDelete . AddUnique ( OldPackage ) ;
}
}
else
{
// No need to keep the old package rooted, the asset was never renamed out of it
if ( bOldPackageAddedToRootSet )
{
OldPackage - > RemoveFromRoot ( ) ;
}
// Mark the rename as a failure to report it later
RenameData . bRenameFailed = true ;
RenameData . FailureReason = ErrorMessage ;
}
2014-07-24 13:25:23 -04:00
TArray < UPackage * > PackagesToCheck ( DirtyPackagesToCheckForStringReferences ) ;
for ( auto PackageNameIt = RenameData . ReferencingPackageNames . CreateConstIterator ( ) ; PackageNameIt ; + + PackageNameIt )
{
2015-01-08 21:19:58 -05:00
UPackage * PackageToCheck = FindPackage ( NULL , * PackageNameIt - > ToString ( ) ) ;
if ( PackageToCheck )
{
PackagesToCheck . Add ( PackageToCheck ) ;
}
2014-07-24 13:25:23 -04:00
}
RenameReferencingStringAssetReferences ( PackagesToCheck , OldAssetPath , Asset - > GetPathName ( ) ) ;
2014-03-14 14:13:41 -04:00
}
GWarn - > EndSlowTask ( ) ;
// Save all renamed assets and any redirectors that were left behind
if ( PackagesToSave . Num ( ) > 0 )
{
const bool bCheckDirty = false ;
const bool bPromptToSave = false ;
2014-10-14 10:33:22 -04:00
const bool bAlreadyCheckedOut = true ;
FEditorFileUtils : : PromptForCheckoutAndSave ( PackagesToSave , bCheckDirty , bPromptToSave , nullptr , bAlreadyCheckedOut ) ;
2014-03-14 14:13:41 -04:00
ISourceControlModule : : Get ( ) . QueueStatusUpdate ( PackagesToSave ) ;
}
2014-10-14 10:33:22 -04:00
// Now branch the files in source control if possible
for ( const auto & AssetToRename : AssetsToRename )
{
2015-07-17 14:04:31 -04:00
// If something went wrong when saving and the new asset does not exist on disk, don't branch it
// as it will just create a copy and any attempt to load it will result in crashes.
if ( FPackageName : : DoesPackageExist ( AssetToRename . Asset - > GetOutermost ( ) - > GetFName ( ) . ToString ( ) ) )
{
SourceControlHelpers : : BranchPackage ( AssetToRename . Asset - > GetOutermost ( ) , FindPackage ( nullptr , * AssetToRename . OriginalAssetPath ) ) ;
}
2014-10-14 10:33:22 -04:00
}
2014-03-14 14:13:41 -04:00
// Clean up all packages that were left empty
if ( PotentialPackagesToDelete . Num ( ) > 0 )
{
for ( auto PackageIt = PotentialPackagesToDelete . CreateConstIterator ( ) ; PackageIt ; + + PackageIt )
{
( * PackageIt ) - > RemoveFromRoot ( ) ;
}
ObjectTools : : CleanupAfterSuccessfulDelete ( PotentialPackagesToDelete ) ;
}
}
void FAssetRenameManager : : SaveReferencingPackages ( const TArray < UPackage * > & ReferencingPackagesToSave ) const
{
if ( ReferencingPackagesToSave . Num ( ) > 0 )
{
const bool bCheckDirty = false ;
const bool bPromptToSave = false ;
FEditorFileUtils : : PromptForCheckoutAndSave ( ReferencingPackagesToSave , bCheckDirty , bPromptToSave ) ;
ISourceControlModule : : Get ( ) . QueueStatusUpdate ( ReferencingPackagesToSave ) ;
}
}
void FAssetRenameManager : : ReportFailures ( const TArray < FAssetRenameDataWithReferencers > & AssetsToRename ) const
{
TArray < FText > FailedRenames ;
for ( auto RenameIt = AssetsToRename . CreateConstIterator ( ) ; RenameIt ; + + RenameIt )
{
const FAssetRenameDataWithReferencers & RenameData = * RenameIt ;
if ( RenameData . bRenameFailed )
{
UObject * Asset = RenameData . Asset . Get ( ) ;
if ( Asset )
{
FFormatNamedArguments Args ;
Args . Add ( TEXT ( " FailureReason " ) , RenameData . FailureReason ) ;
Args . Add ( TEXT ( " AssetName " ) , FText : : FromString ( Asset - > GetOutermost ( ) - > GetName ( ) ) ) ;
FailedRenames . Add ( FText : : Format ( LOCTEXT ( " AssetRenameFailure " , " {AssetName} - {FailureReason} " ) , Args ) ) ;
}
else
{
FailedRenames . Add ( LOCTEXT ( " InvalidAssetText " , " Invalid Asset " ) ) ;
}
}
}
if ( FailedRenames . Num ( ) > 0 )
{
SRenameFailures : : OpenRenameFailuresDialog ( FailedRenames ) ;
}
}
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3209340 on 2016/11/23 by Ben.Marsh
Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h.
Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms.
* Every header now includes everything it needs to compile.
* There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first.
* There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h.
* Every .cpp file includes its matching .h file first.
* This helps validate that each header is including everything it needs to compile.
* No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more.
* You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there.
* There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible.
* No engine code explicitly includes a precompiled header any more.
* We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies.
* PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files.
Tool used to generate this transform is at Engine\Source\Programs\IncludeTool.
[CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
# undef LOCTEXT_NAMESPACE