2019-12-26 14:45:42 -05:00
// Copyright 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 "Framework/MultiBox/MultiBox.h"
# include "Misc/ConfigCacheIni.h"
# include "Widgets/SBoxPanel.h"
# include "Widgets/SOverlay.h"
# include "Layout/WidgetPath.h"
# include "Framework/Application/SlateApplication.h"
# include "Widgets/Layout/SBorder.h"
# include "Framework/MultiBox/MultiBoxBuilder.h"
2019-10-01 20:41:42 -04:00
# include "Framework/MultiBox/ToolMenuBase.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 "Widgets/Input/SButton.h"
2020-08-11 01:36:57 -04:00
# include "Widgets/Input/SSearchBox.h"
2019-10-01 20:41:42 -04:00
# include "Widgets/Images/SImage.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 "Widgets/SToolTip.h"
# include "Widgets/Views/STableViewBase.h"
# include "Widgets/Views/STableRow.h"
# include "Widgets/Views/STileView.h"
# include "Widgets/Layout/SScrollBox.h"
# include "Framework/MultiBox/SToolBarButtonBlock.h"
# include "Framework/MultiBox/SMenuEntryBlock.h"
2019-10-01 20:41:42 -04:00
# include "Framework/MultiBox/SMenuSeparatorBlock.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 "Framework/MultiBox/MultiBoxCustomization.h"
# include "Framework/MultiBox/SClippingHorizontalBox.h"
2020-08-11 01:36:57 -04:00
# include "Framework/MultiBox/SWidgetBlock.h"
2021-01-05 16:38:18 -04:00
# include "Framework/MultiBox/SToolBarComboButtonBlock.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 "Framework/Commands/UICommandDragDropOp.h"
2020-01-27 20:11:15 -05:00
# include "SUniformToolbarPanel.h"
2020-05-12 09:32:51 -04:00
# include "Styling/ToolBarStyle.h"
2014-03-14 14:13:41 -04:00
2020-08-11 01:36:57 -04:00
# define LOCTEXT_NAMESPACE "MultiBox"
2021-08-19 11:33:36 -04:00
namespace UE
{
namespace MultiBoxUtils
{
/**
* Returns a path - like text containing the sub - menu ( s ) location of the block before it was pulled , flatten and added to its top - level multibox . Searchable
* blocks are added to their parent ( s ) multibox to support recursive searching . When a user performs a search in a top - level menu , all sub - menu items are
* also in the top menu ( but hidden ) and the matching ones are made visible . When one or more items of a given sub - menu match , a hierarchy tip appears
* to let the user know from which sub - menu the item ( s ) came from .
*/
static FText GetSearchHierarchyInfoText ( const TArray < FText > & SearchTextHierarchyComponents )
{
FText HierarchyInfoText = FText : : GetEmpty ( ) ;
if ( ! SearchTextHierarchyComponents . IsEmpty ( ) )
{
HierarchyInfoText = SearchTextHierarchyComponents [ 0 ] ;
for ( int32 Index = 1 ; Index < SearchTextHierarchyComponents . Num ( ) - 1 ; + + Index )
{
HierarchyInfoText = FText : : Format ( INVTEXT ( " {0}/{1} " ) , HierarchyInfoText , SearchTextHierarchyComponents [ Index ] ) ;
}
}
return HierarchyInfoText ;
}
/** Returns the searchable text displayed to the user for this search text hierarchy. This is the text normally displayed by the widget in its own menu. */
static FText GetBlockWidgetDisplayText ( const TArray < FText > & SearchTextHierarchyComponents )
{
return SearchTextHierarchyComponents . IsEmpty ( ) ? FText : : GetEmpty ( ) : SearchTextHierarchyComponents . Last ( ) ;
}
/** Joins the text components into a single string for debugging purpose. */
static FString ToString ( const TArray < FText > & SearchTextHierarchyComponents )
{
FString Pathname ;
if ( ! SearchTextHierarchyComponents . IsEmpty ( ) )
{
Pathname = SearchTextHierarchyComponents [ 0 ] . ToString ( ) ;
for ( int32 Index = 1 ; Index < SearchTextHierarchyComponents . Num ( ) ; + + Index )
{
Pathname . AppendChar ( TEXT ( ' / ' ) ) ;
Pathname . Append ( SearchTextHierarchyComponents [ Index ] . ToString ( ) ) ;
}
}
return Pathname ;
}
} // namespace MultiBoxUtils
} // namespace UE
2014-04-26 20:23:08 -04:00
2014-03-14 14:13:41 -04:00
TAttribute < bool > FMultiBoxSettings : : UseSmallToolBarIcons ;
TAttribute < bool > FMultiBoxSettings : : DisplayMultiboxHooks ;
FMultiBoxSettings : : FConstructToolTip FMultiBoxSettings : : ToolTipConstructor = FConstructToolTip : : CreateStatic ( & FMultiBoxSettings : : ConstructDefaultToolTip ) ;
2014-04-26 20:23:08 -04:00
2014-03-14 14:13:41 -04:00
FMultiBoxSettings : : FMultiBoxSettings ( )
{
ResetToolTipConstructor ( ) ;
}
TSharedRef < SToolTip > FMultiBoxSettings : : ConstructDefaultToolTip ( const TAttribute < FText > & ToolTipText , const TSharedPtr < SWidget > & OverrideContent , const TSharedPtr < const FUICommandInfo > & Action )
{
if ( OverrideContent . IsValid ( ) )
{
return SNew ( SToolTip )
[
OverrideContent . ToSharedRef ( )
] ;
}
return SNew ( SToolTip ) . Text ( ToolTipText ) ;
}
void FMultiBoxSettings : : ResetToolTipConstructor ( )
{
ToolTipConstructor = FConstructToolTip : : CreateStatic ( & FMultiBoxSettings : : ConstructDefaultToolTip ) ;
}
const FMultiBoxCustomization FMultiBoxCustomization : : None ( NAME_None ) ;
2014-11-20 19:21:21 -05:00
TSharedRef < SWidget > SMultiBlockBaseWidget : : AsWidget ( )
{
return this - > AsShared ( ) ;
}
TSharedRef < const SWidget > SMultiBlockBaseWidget : : AsWidget ( ) const
{
return this - > AsShared ( ) ;
}
void SMultiBlockBaseWidget : : SetOwnerMultiBoxWidget ( TSharedRef < SMultiBoxWidget > InOwnerMultiBoxWidget )
{
OwnerMultiBoxWidget = InOwnerMultiBoxWidget ;
}
2021-01-05 16:38:18 -04:00
void SMultiBlockBaseWidget : : SetMultiBlock ( TSharedRef < const FMultiBlock > InMultiBlock )
2014-11-20 19:21:21 -05:00
{
MultiBlock = InMultiBlock ;
}
2021-01-05 16:38:18 -04:00
void SMultiBlockBaseWidget : : SetOptionsBlockWidget ( TSharedPtr < SWidget > InOptionsBlock )
{
OptionsBlockWidget = InOptionsBlock ;
}
2014-11-20 19:21:21 -05:00
void SMultiBlockBaseWidget : : SetMultiBlockLocation ( EMultiBlockLocation : : Type InLocation , bool bInSectionContainsIcons )
{
Location = InLocation ;
bSectionContainsIcons = bInSectionContainsIcons ;
}
EMultiBlockLocation : : Type SMultiBlockBaseWidget : : GetMultiBlockLocation ( )
{
return Location ;
}
2014-03-14 14:13:41 -04:00
void SMultiBlockBaseWidget : : OnDragEnter ( const FGeometry & MyGeometry , const FDragDropEvent & DragDropEvent )
{
2014-04-23 18:00:50 -04:00
if ( DragDropEvent . GetOperationAs < FUICommandDragDropOp > ( ) . IsValid ( ) )
2014-03-14 14:13:41 -04:00
{
OwnerMultiBoxWidget . Pin ( ) - > OnCustomCommandDragEnter ( MultiBlock . ToSharedRef ( ) , MyGeometry , DragDropEvent ) ;
}
}
FReply SMultiBlockBaseWidget : : OnDragOver ( const FGeometry & MyGeometry , const FDragDropEvent & DragDropEvent )
{
2014-04-23 18:00:50 -04:00
if ( DragDropEvent . GetOperationAs < FUICommandDragDropOp > ( ) . IsValid ( ) )
2014-03-14 14:13:41 -04:00
{
OwnerMultiBoxWidget . Pin ( ) - > OnCustomCommandDragged ( MultiBlock . ToSharedRef ( ) , MyGeometry , DragDropEvent ) ;
return FReply : : Handled ( ) ;
}
return FReply : : Unhandled ( ) ;
}
FReply SMultiBlockBaseWidget : : OnDrop ( const FGeometry & MyGeometry , const FDragDropEvent & DragDropEvent )
{
2014-04-23 18:00:50 -04:00
if ( DragDropEvent . GetOperationAs < FUICommandDragDropOp > ( ) . IsValid ( ) )
2014-03-14 14:13:41 -04:00
{
OwnerMultiBoxWidget . Pin ( ) - > OnCustomCommandDropped ( ) ;
return FReply : : Handled ( ) ;
}
return FReply : : Unhandled ( ) ;
}
2019-10-01 20:41:42 -04:00
bool SMultiBlockBaseWidget : : IsInEditMode ( ) const
{
if ( OwnerMultiBoxWidget . IsValid ( ) )
{
return OwnerMultiBoxWidget . Pin ( ) - > GetMultiBox ( ) - > IsInEditMode ( ) ;
}
return false ;
}
2014-03-14 14:13:41 -04:00
/**
* Creates a MultiBlock widget for this MultiBlock
*
* @ param InOwnerMultiBoxWidget The widget that will own the new MultiBlock widget
* @ param InLocation The location information for the MultiBlock widget
*
* @ return MultiBlock widget object
*/
2021-01-05 16:38:18 -04:00
TSharedRef < IMultiBlockBaseWidget > FMultiBlock : : MakeWidget ( TSharedRef < SMultiBoxWidget > InOwnerMultiBoxWidget , EMultiBlockLocation : : Type InLocation , bool bSectionContainsIcons , TSharedPtr < SWidget > OptionsBlockWidget ) const
2014-03-14 14:13:41 -04:00
{
2021-01-05 16:38:18 -04:00
TSharedRef < IMultiBlockBaseWidget > NewMultiBlockWidget = ConstructWidget ( ) ;
2014-03-14 14:13:41 -04:00
// Tell the widget about its parent MultiBox widget
NewMultiBlockWidget - > SetOwnerMultiBoxWidget ( InOwnerMultiBoxWidget ) ;
// Assign ourselves to the MultiBlock widget
2021-01-05 16:38:18 -04:00
NewMultiBlockWidget - > SetMultiBlock ( AsShared ( ) ) ;
NewMultiBlockWidget - > SetOptionsBlockWidget ( OptionsBlockWidget ) ;
2014-03-14 14:13:41 -04:00
// Pass location information to widget.
2014-11-20 19:21:21 -05:00
NewMultiBlockWidget - > SetMultiBlockLocation ( InLocation , bSectionContainsIcons ) ;
2014-03-14 14:13:41 -04:00
// Work out what style the widget should be using
const ISlateStyle * const StyleSet = InOwnerMultiBoxWidget - > GetStyleSet ( ) ;
2021-04-28 01:58:36 -04:00
FName StyleName = ( StyleNameOverride ! = NAME_None ) ? StyleNameOverride : InOwnerMultiBoxWidget - > GetStyleName ( ) ;
2014-03-14 14:13:41 -04:00
// Build up the widget
NewMultiBlockWidget - > BuildMultiBlockWidget ( StyleSet , StyleName ) ;
return NewMultiBlockWidget ;
}
2015-08-26 10:33:13 -04:00
void FMultiBlock : : SetSearchable ( bool InSearchable )
{
bSearchable = InSearchable ;
}
2021-08-19 11:33:36 -04:00
2015-08-26 10:33:13 -04:00
bool FMultiBlock : : GetSearchable ( ) const
{
return bSearchable ;
}
2014-03-14 14:13:41 -04:00
/**
* Constructor
*
* @ param InType Type of MultiBox
* @ param bInShouldCloseWindowAfterMenuSelection Sets whether or not the window that contains this multibox should be destroyed after the user clicks on a menu item in this box
*/
2020-08-11 01:36:57 -04:00
FMultiBox : : FMultiBox ( const EMultiBoxType InType , FMultiBoxCustomization InCustomization , const bool bInShouldCloseWindowAfterMenuSelection )
: bHasSearchWidget ( false )
2021-10-12 21:21:22 -04:00
, bIsFocusable ( true )
2020-08-11 01:36:57 -04:00
, CommandLists ( )
2014-03-14 14:13:41 -04:00
, Blocks ( )
, StyleSet ( & FCoreStyle : : Get ( ) )
, StyleName ( " ToolBar " )
, Type ( InType )
, bShouldCloseWindowAfterMenuSelection ( bInShouldCloseWindowAfterMenuSelection )
{
2020-05-12 09:32:51 -04:00
if ( InType = = EMultiBoxType : : SlimHorizontalToolBar & & FCoreStyle : : IsStarshipStyle ( ) )
{
StyleName = " SlimToolBar " ;
}
2014-03-14 14:13:41 -04:00
}
FMultiBox : : ~ FMultiBox ( )
{
2021-03-01 18:20:08 -04:00
if ( UToolMenuBase * ToolMenu = GetToolMenu ( ) )
{
ToolMenu - > OnMenuDestroyed ( ) ;
}
2014-03-14 14:13:41 -04:00
}
2019-06-04 15:42:48 -04:00
TSharedRef < FMultiBox > FMultiBox : : Create ( const EMultiBoxType InType , FMultiBoxCustomization InCustomization , const bool bInShouldCloseWindowAfterMenuSelection )
2014-03-14 14:13:41 -04:00
{
TSharedRef < FMultiBox > NewBox = MakeShareable ( new FMultiBox ( InType , InCustomization , bInShouldCloseWindowAfterMenuSelection ) ) ;
return NewBox ;
}
/**
* Adds a MultiBlock to this MultiBox , to the end of the list
*/
void FMultiBox : : AddMultiBlock ( TSharedRef < const FMultiBlock > InBlock )
{
2020-08-11 01:36:57 -04:00
checkSlow ( ! Blocks . Contains ( InBlock ) ) ;
2014-03-14 14:13:41 -04:00
if ( InBlock - > GetActionList ( ) . IsValid ( ) )
{
CommandLists . AddUnique ( InBlock - > GetActionList ( ) ) ;
}
Blocks . Add ( InBlock ) ;
}
2020-08-11 01:36:57 -04:00
void FMultiBox : : AddMultiBlockToFront ( TSharedRef < const FMultiBlock > InBlock )
{
checkSlow ( ! Blocks . Contains ( InBlock ) ) ;
if ( InBlock - > GetActionList ( ) . IsValid ( ) )
{
CommandLists . AddUnique ( InBlock - > GetActionList ( ) ) ;
}
Blocks . Insert ( InBlock , 0 ) ;
}
2014-03-14 14:13:41 -04:00
void FMultiBox : : RemoveCustomMultiBlock ( TSharedRef < const FMultiBlock > InBlock )
{
if ( IsCustomizable ( ) )
{
int32 Index = Blocks . Find ( InBlock ) ;
// Remove the block from the visual list
if ( Index ! = INDEX_NONE )
{
Blocks . RemoveAt ( Index ) ;
}
}
}
void FMultiBox : : InsertCustomMultiBlock ( TSharedRef < const FMultiBlock > InBlock , int32 Index )
{
2019-10-01 20:41:42 -04:00
if ( IsCustomizable ( ) & & ensure ( InBlock - > GetExtensionHook ( ) ! = NAME_None ) )
2014-03-14 14:13:41 -04:00
{
int32 ExistingIndex = Blocks . Find ( InBlock ) ;
2019-10-01 20:41:42 -04:00
FName DestinationBlockName = NAME_None ;
FName DestinationSectionName = NAME_None ;
if ( Blocks . IsValidIndex ( Index ) )
2014-03-14 14:13:41 -04:00
{
2019-10-01 20:41:42 -04:00
DestinationBlockName = Blocks [ Index ] - > GetExtensionHook ( ) ;
2014-03-14 14:13:41 -04:00
2019-10-01 20:41:42 -04:00
int32 DestinationSectionEndIndex = INDEX_NONE ;
int32 DestinationSectionIndex = GetSectionEditBounds ( Index , DestinationSectionEndIndex ) ;
if ( Blocks . IsValidIndex ( DestinationSectionIndex ) )
2014-03-14 14:13:41 -04:00
{
2019-10-01 20:41:42 -04:00
DestinationSectionName = Blocks [ DestinationSectionIndex ] - > GetExtensionHook ( ) ;
2014-03-14 14:13:41 -04:00
}
}
2019-10-01 20:41:42 -04:00
if ( InBlock - > IsPartOfHeading ( ) )
{
if ( InBlock - > GetExtensionHook ( ) = = DestinationSectionName )
{
return ;
}
2014-03-14 14:13:41 -04:00
2019-10-01 20:41:42 -04:00
if ( ExistingIndex ! = INDEX_NONE )
{
int32 SourceSectionEndIndex = INDEX_NONE ;
int32 SourceSectionIndex = GetSectionEditBounds ( ExistingIndex , SourceSectionEndIndex ) ;
if ( SourceSectionIndex ! = INDEX_NONE & & SourceSectionEndIndex ! = INDEX_NONE )
{
bool bHadSeparator = Blocks [ SourceSectionIndex ] - > IsSeparator ( ) ;
TArray < TSharedRef < const FMultiBlock > > BlocksToMove ;
BlocksToMove . Reset ( SourceSectionEndIndex - SourceSectionIndex + 1 ) ;
for ( int32 BlockIdx = SourceSectionIndex ; BlockIdx < SourceSectionEndIndex ; + + BlockIdx )
{
BlocksToMove . Add ( Blocks [ BlockIdx ] ) ;
}
Blocks . RemoveAt ( SourceSectionIndex , SourceSectionEndIndex - SourceSectionIndex , false ) ;
if ( Index > SourceSectionIndex )
{
Index - = BlocksToMove . Num ( ) ;
}
if ( Index = = 0 )
{
// Add missing separator for next section
if ( Blocks . Num ( ) > 0 & & ( Blocks [ 0 ] - > GetType ( ) = = EMultiBlockType : : Heading ) )
{
BlocksToMove . Add ( MakeShareable ( new FMenuSeparatorBlock ( Blocks [ 0 ] - > GetExtensionHook ( ) , /* bInIsPartOfHeading=*/ true ) ) ) ;
}
}
else
{
// Add separator to beginning of section
if ( BlocksToMove . Num ( ) > 0 & & ( BlocksToMove [ 0 ] - > GetType ( ) = = EMultiBlockType : : Heading ) )
{
BlocksToMove . Insert ( MakeShareable ( new FMenuSeparatorBlock ( BlocksToMove [ 0 ] - > GetExtensionHook ( ) , /* bInIsPartOfHeading=*/ true ) ) , 0 ) ;
}
}
Blocks . Insert ( BlocksToMove , Index ) ;
// Menus do not start with separators, remove separator if one exists
if ( Blocks . Num ( ) > 0 & & Blocks [ 0 ] - > IsSeparator ( ) )
{
Blocks . RemoveAt ( 0 , 1 , false ) ;
}
if ( UToolMenuBase * ToolMenu = GetToolMenu ( ) )
{
ToolMenu - > UpdateMenuCustomizationFromMultibox ( SharedThis ( this ) ) ;
}
}
}
}
else
{
if ( ExistingIndex ! = INDEX_NONE )
{
Blocks . RemoveAt ( ExistingIndex ) ;
if ( ExistingIndex < Index )
{
- - Index ;
}
}
Blocks . Insert ( InBlock , Index ) ;
if ( UToolMenuBase * ToolMenu = GetToolMenu ( ) )
{
ToolMenu - > UpdateMenuCustomizationFromMultibox ( SharedThis ( this ) ) ;
}
}
2014-03-14 14:13:41 -04:00
}
}
/**
* Creates a MultiBox widget for this MultiBox
*
* @ return MultiBox widget object
*/
2020-01-29 17:08:58 -05:00
TSharedRef < SMultiBoxWidget > FMultiBox : : MakeWidget ( bool bSearchable , FOnMakeMultiBoxBuilderOverride * InMakeMultiBoxBuilderOverride /* = nullptr */ , TAttribute < float > InMaxHeight )
2014-03-14 14:13:41 -04:00
{
TSharedRef < SMultiBoxWidget > NewMultiBoxWidget =
SNew ( SMultiBoxWidget ) ;
2015-08-28 16:20:02 -04:00
// Set whether this box should be searched
NewMultiBoxWidget - > SetSearchable ( bSearchable ) ;
2014-03-14 14:13:41 -04:00
// Assign ourselves to the MultiBox widget
NewMultiBoxWidget - > SetMultiBox ( AsShared ( ) ) ;
2020-01-29 17:08:58 -05:00
// Set the maximum height the MultiBox widget should be
NewMultiBoxWidget - > SetMaxHeight ( InMaxHeight ) ;
2016-10-26 10:36:21 -04:00
if ( ( InMakeMultiBoxBuilderOverride ! = nullptr ) & & ( InMakeMultiBoxBuilderOverride - > IsBound ( ) ) )
{
TSharedRef < FMultiBox > ThisMultiBox = AsShared ( ) ;
InMakeMultiBoxBuilderOverride - > Execute ( ThisMultiBox , NewMultiBoxWidget ) ;
}
else
{
// Build up the widget
NewMultiBoxWidget - > BuildMultiBoxWidget ( ) ;
}
2014-07-23 09:04:48 -04:00
# if PLATFORM_MAC
if ( Type = = EMultiBoxType : : MenuBar )
{
NewMultiBoxWidget - > SetVisibility ( EVisibility : : Collapsed ) ;
}
# endif
2014-03-14 14:13:41 -04:00
return NewMultiBoxWidget ;
}
bool FMultiBox : : IsCustomizable ( ) const
{
2019-10-01 20:41:42 -04:00
if ( UToolMenuBase * ToolMenu = GetToolMenu ( ) )
2014-03-14 14:13:41 -04:00
{
2019-10-01 20:41:42 -04:00
return ToolMenu - > IsEditing ( ) ;
2014-03-14 14:13:41 -04:00
}
2019-10-01 20:41:42 -04:00
return false ;
2014-03-14 14:13:41 -04:00
}
FName FMultiBox : : GetCustomizationName ( ) const
{
2019-10-01 20:41:42 -04:00
return NAME_None ;
2014-03-14 14:13:41 -04:00
}
TSharedPtr < FMultiBlock > FMultiBox : : MakeMultiBlockFromCommand ( TSharedPtr < const FUICommandInfo > CommandInfo , bool bCommandMustBeBound ) const
{
TSharedPtr < FMultiBlock > NewBlock ;
// Find the command list that processes this command
TSharedPtr < const FUICommandList > CommandList ;
for ( int32 CommandListIndex = 0 ; CommandListIndex < CommandLists . Num ( ) ; + + CommandListIndex )
{
TSharedPtr < const FUICommandList > TestCommandList = CommandLists [ CommandListIndex ] ;
if ( TestCommandList - > GetActionForCommand ( CommandInfo . ToSharedRef ( ) ) ! = NULL )
{
CommandList = TestCommandList ;
break ;
}
}
if ( ! bCommandMustBeBound & & ! CommandList . IsValid ( ) & & CommandLists . Num ( ) > 0 )
{
// The first command list is the main command list and other are commandlists added from extension points
// Use the main command list if one was not found
CommandList = CommandLists [ 0 ] ;
}
if ( ! bCommandMustBeBound | | CommandList . IsValid ( ) )
{
// Only toolbars and menu buttons are supported currently
switch ( Type )
{
case EMultiBoxType : : ToolBar :
2020-05-12 09:32:51 -04:00
case EMultiBoxType : : UniformToolBar :
2014-03-14 14:13:41 -04:00
{
NewBlock = MakeShareable ( new FToolBarButtonBlock ( CommandInfo , CommandList ) ) ;
}
break ;
case EMultiBoxType : : Menu :
{
NewBlock = MakeShareable ( new FMenuEntryBlock ( NAME_None , CommandInfo , CommandList ) ) ;
}
break ;
}
}
return NewBlock ;
}
2019-10-01 20:41:42 -04:00
TSharedPtr < const FMultiBlock > FMultiBox : : FindBlockFromNameAndType ( const FName InName , const EMultiBlockType InType ) const
2014-03-14 14:13:41 -04:00
{
2019-10-01 20:41:42 -04:00
for ( const auto & Block : Blocks )
2014-03-14 14:13:41 -04:00
{
2019-10-01 20:41:42 -04:00
if ( Block - > GetExtensionHook ( ) = = InName & & Block - > GetType ( ) = = InType )
2014-03-14 14:13:41 -04:00
{
return Block ;
}
}
2019-10-01 20:41:42 -04:00
return nullptr ;
2014-03-14 14:13:41 -04:00
}
2019-10-01 20:41:42 -04:00
int32 FMultiBox : : GetSectionEditBounds ( const int32 Index , int32 & OutSectionEndIndex ) const
{
// Only used by edit mode, identifies sections by heading blocks
if ( ! IsInEditMode ( ) )
{
return INDEX_NONE ;
}
int32 SectionBeginIndex = INDEX_NONE ;
for ( int32 BlockIdx = Index ; BlockIdx > = 0 ; - - BlockIdx )
{
if ( Blocks [ BlockIdx ] - > GetType ( ) = = EMultiBlockType : : Heading )
{
if ( BlockIdx > 0 & & Blocks [ BlockIdx - 1 ] - > IsSeparator ( ) & & Blocks [ BlockIdx ] - > GetExtensionHook ( ) = = Blocks [ BlockIdx - 1 ] - > GetExtensionHook ( ) )
{
SectionBeginIndex = BlockIdx - 1 ;
}
else
{
SectionBeginIndex = BlockIdx ;
}
break ;
}
}
OutSectionEndIndex = Blocks . Num ( ) ;
for ( int32 BlockIdx = Index + 1 ; BlockIdx < Blocks . Num ( ) ; + + BlockIdx )
{
if ( Blocks [ BlockIdx ] - > GetType ( ) = = EMultiBlockType : : Heading )
{
if ( BlockIdx > 0 & & Blocks [ BlockIdx - 1 ] - > IsSeparator ( ) & & Blocks [ BlockIdx ] - > GetExtensionHook ( ) = = Blocks [ BlockIdx - 1 ] - > GetExtensionHook ( ) )
{
OutSectionEndIndex = BlockIdx - 1 ;
}
else
{
OutSectionEndIndex = BlockIdx ;
}
break ;
}
}
return SectionBeginIndex ;
}
UToolMenuBase * FMultiBox : : GetToolMenu ( ) const
{
return WeakToolMenu . Get ( ) ;
}
bool FMultiBox : : IsInEditMode ( ) const
{
UToolMenuBase * ToolMenu = GetToolMenu ( ) ;
return ToolMenu & & ToolMenu - > IsEditing ( ) ;
}
2014-03-14 14:13:41 -04:00
void SMultiBoxWidget : : Construct ( const FArguments & InArgs )
{
2020-06-05 15:31:11 -04:00
LinkedBoxManager = MakeShared < FLinkedBoxManager > ( ) ;
2021-03-10 07:13:29 -04:00
SetContentScale ( InArgs . _ContentScale ) ;
2014-03-14 14:13:41 -04:00
}
TSharedRef < ITableRow > SMultiBoxWidget : : GenerateTiles ( TSharedPtr < SWidget > Item , const TSharedRef < STableViewBase > & OwnerTable )
{
return SNew ( STableRow < TSharedPtr < SWidget > > , OwnerTable )
[
Item . ToSharedRef ( )
] ;
}
float SMultiBoxWidget : : GetItemWidth ( ) const
{
2020-01-29 17:08:58 -05:00
float MaxItemWidth = 0 ;
2014-03-14 14:13:41 -04:00
for ( int32 i = 0 ; i < TileViewWidgets . Num ( ) ; + + i )
{
2020-01-29 17:08:58 -05:00
MaxItemWidth = FMath : : Max ( TileViewWidgets [ i ] - > GetDesiredSize ( ) . X , MaxItemWidth ) ;
2014-03-14 14:13:41 -04:00
}
2020-01-29 17:08:58 -05:00
return MaxItemWidth ;
2014-03-14 14:13:41 -04:00
}
float SMultiBoxWidget : : GetItemHeight ( ) const
{
2020-01-29 17:08:58 -05:00
float MaxItemHeight = 0 ;
2014-03-14 14:13:41 -04:00
for ( int32 i = 0 ; i < TileViewWidgets . Num ( ) ; + + i )
{
2020-01-29 17:08:58 -05:00
MaxItemHeight = FMath : : Max ( TileViewWidgets [ i ] - > GetDesiredSize ( ) . Y , MaxItemHeight ) ;
2014-03-14 14:13:41 -04:00
}
2020-01-29 17:08:58 -05:00
return MaxItemHeight ;
2014-03-14 14:13:41 -04:00
}
bool SMultiBoxWidget : : IsBlockBeingDragged ( TSharedPtr < const FMultiBlock > Block ) const
{
if ( DragPreview . PreviewBlock . IsValid ( ) )
{
return DragPreview . PreviewBlock - > GetActualBlock ( ) = = Block ;
}
return false ;
}
2019-10-01 20:41:42 -04:00
EVisibility SMultiBoxWidget : : GetCustomizationBorderDragVisibility ( const FName InBlockName , const EMultiBlockType InBlockType , bool & bOutInsertAfter ) const
{
bOutInsertAfter = false ;
if ( DragPreview . PreviewBlock . IsValid ( ) )
{
const TArray < TSharedRef < const FMultiBlock > > & Blocks = MultiBox - > GetBlocks ( ) ;
if ( Blocks . IsValidIndex ( DragPreview . InsertIndex ) )
{
if ( InBlockName ! = NAME_None )
{
const TSharedRef < const FMultiBlock > & DropDestination = Blocks [ DragPreview . InsertIndex ] ;
if ( DropDestination - > GetExtensionHook ( ) = = InBlockName & & DropDestination - > GetType ( ) = = InBlockType )
{
return EVisibility : : Visible ;
}
}
}
else if ( Blocks . Num ( ) = = DragPreview . InsertIndex )
{
if ( Blocks . Num ( ) > 0 & & Blocks . Last ( ) - > GetExtensionHook ( ) = = InBlockName & & Blocks . Last ( ) - > GetType ( ) = = InBlockType )
{
bOutInsertAfter = true ;
return EVisibility : : Visible ;
}
}
}
return EVisibility : : Collapsed ;
}
2021-01-05 16:38:18 -04:00
void SMultiBoxWidget : : AddBlockWidget ( const FMultiBlock & Block , TSharedPtr < SHorizontalBox > HorizontalBox , TSharedPtr < SVerticalBox > VerticalBox , EMultiBlockLocation : : Type InLocation , bool bSectionContainsIcons , TSharedPtr < const FToolBarComboButtonBlock > OptionsBlock )
2014-03-14 14:13:41 -04:00
{
check ( MultiBox . IsValid ( ) ) ;
2020-07-17 14:42:23 -04:00
// Skip Separators for Uniform Tool Bars
if ( Block . GetType ( ) = = EMultiBlockType : : Separator & & MultiBox - > GetType ( ) = = EMultiBoxType : : UniformToolBar )
{
return ;
}
2014-03-14 14:13:41 -04:00
bool bDisplayExtensionHooks = FMultiBoxSettings : : DisplayMultiboxHooks . Get ( ) & & Block . GetExtensionHook ( ) ! = NAME_None ;
2021-01-05 16:38:18 -04:00
TSharedPtr < SWidget > OptionsWidget ;
if ( OptionsBlock )
{
OptionsWidget = OptionsBlock - > MakeWidget ( SharedThis ( this ) , EMultiBlockLocation : : None , bSectionContainsIcons , nullptr ) - > AsWidget ( ) ;
}
TSharedRef < SWidget > BlockWidget = Block . MakeWidget ( SharedThis ( this ) , InLocation , bSectionContainsIcons , OptionsWidget ) - > AsWidget ( ) ;
2021-08-19 11:33:36 -04:00
// If the block being added is one of the searchable flatten blocks from one of the sub-menus. (Second pass when building the multibox widget)
TSharedRef < const FMultiBlock > BlockRef = Block . AsShared ( ) ;
if ( TSharedPtr < FFlattenSearchableBlockInfo > * FlattenBlockInfo = FlattenSearchableBlocks . Find ( BlockRef ) )
{
// Wrap the block widget to display its ancestor menu as a tip to the user.
TSharedRef < SWidget > FlattenWidget = SNew ( SVerticalBox )
+ SVerticalBox : : Slot ( )
. AutoHeight ( )
[
SNew ( SBox )
. Padding ( FMargin ( 5 , 0 ) )
. Visibility_Lambda ( [ this , BlockRef ] ( ) { return ( * FlattenSearchableBlocks . Find ( BlockRef ) ) - > HierarchyTipVisibility ; } )
[
SNew ( STextBlock )
. Text ( UE : : MultiBoxUtils : : GetSearchHierarchyInfoText ( ( * FlattenBlockInfo ) - > SearchableTextHierarchyComponents ) )
]
]
+ SVerticalBox : : Slot ( )
. AutoHeight ( )
[
BlockWidget
] ;
2014-03-14 14:13:41 -04:00
2021-08-19 11:33:36 -04:00
( * FlattenBlockInfo ) - > Widget = FlattenWidget ;
// Remember that this widget was pulled from a sub-menus into this menu and therefore has a special status.
FlattenSearchableWidgets . Emplace ( BlockWidget , * FlattenBlockInfo ) ;
// This widgets will only be visible if it matches a search result.
FlattenWidget - > SetVisibility ( EVisibility : : Collapsed ) ;
// The widget corresponding to the block was created above and stored along with its searchable text but the text doesn't contain the ancestors texts.
if ( TArray < FText > * SearchableTextHierarchy = MultiBoxWidgets . Find ( BlockWidget ) )
{
// Update the widget searchable texts hierarchy to include the ancestors.
* SearchableTextHierarchy = ( * FlattenBlockInfo ) - > SearchableTextHierarchyComponents ;
}
BlockWidget = FlattenWidget ;
}
2014-03-14 14:13:41 -04:00
const ISlateStyle * const StyleSet = MultiBox - > GetStyleSet ( ) ;
2019-10-01 20:41:42 -04:00
TSharedPtr < SWidget > FinalWidget ;
const EMultiBlockType BlockType = Block . GetType ( ) ;
if ( MultiBox - > ModifyBlockWidgetAfterMake . IsBound ( ) )
{
FinalWidget = MultiBox - > ModifyBlockWidgetAfterMake . Execute ( SharedThis ( this ) , Block , BlockWidget ) ;
}
else
{
FinalWidget = BlockWidget ;
}
2021-08-19 11:33:36 -04:00
2020-05-12 09:32:51 -04:00
TSharedRef < SWidget > FinalWidgetWithHook = SNullWidget : : NullWidget ;
2014-03-14 14:13:41 -04:00
2020-05-12 09:32:51 -04:00
if ( bDisplayExtensionHooks )
{
FinalWidgetWithHook =
SNew ( SVerticalBox )
+ SVerticalBox : : Slot ( )
. HAlign ( HAlign_Center )
. AutoHeight ( )
[
SNew ( STextBlock )
. Visibility ( bDisplayExtensionHooks ? EVisibility : : Visible : EVisibility : : Collapsed )
. ColorAndOpacity ( StyleSet - > GetColor ( " MultiboxHookColor " ) )
. Text ( FText : : FromName ( Block . GetExtensionHook ( ) ) )
]
+ SVerticalBox : : Slot ( )
[
FinalWidget . ToSharedRef ( )
] ;
}
else
{
FinalWidgetWithHook = FinalWidget . ToSharedRef ( ) ;
}
2020-01-27 20:11:15 -05:00
2014-03-14 14:13:41 -04:00
switch ( MultiBox - > GetType ( ) )
{
case EMultiBoxType : : MenuBar :
2020-01-27 20:11:15 -05:00
case EMultiBoxType : : ToolBar :
2020-05-12 09:32:51 -04:00
case EMultiBoxType : : SlimHorizontalToolBar :
2014-03-14 14:13:41 -04:00
{
2020-10-27 13:18:06 -04:00
EHorizontalAlignment HAlign ;
EVerticalAlignment VAlign ;
bool bAutoWidth ;
bool bOverride = Block . GetAlignmentOverrides ( HAlign , VAlign , bAutoWidth ) ;
{
2021-05-26 06:42:00 -04:00
SHorizontalBox : : FScopedWidgetSlotArguments NewSlot = HorizontalBox - > AddSlot ( ) ;
NewSlot . Padding ( 0.f )
[
FinalWidgetWithHook
] ;
if ( bOverride )
2020-10-27 13:18:06 -04:00
{
2021-05-26 06:42:00 -04:00
if ( bAutoWidth )
{
NewSlot . AutoWidth ( ) ;
}
NewSlot . HAlign ( HAlign )
. VAlign ( VAlign ) ;
}
else
{
NewSlot . AutoWidth ( ) ;
2020-10-27 13:18:06 -04:00
}
}
2014-03-14 14:13:41 -04:00
}
break ;
case EMultiBoxType : : VerticalToolBar :
{
2020-01-27 20:11:15 -05:00
if ( UniformToolbarPanel . IsValid ( ) )
{
UniformToolbarPanel - > AddSlot ( )
2014-03-14 14:13:41 -04:00
[
2020-01-27 20:11:15 -05:00
FinalWidgetWithHook
2014-03-14 14:13:41 -04:00
] ;
2020-01-27 20:11:15 -05:00
}
else
{
VerticalBox - > AddSlot ( )
. AutoHeight ( )
. Padding ( 0.0f , 1.0f , 0.0f , 1.0f )
[
FinalWidgetWithHook
] ;
}
}
break ;
case EMultiBoxType : : UniformToolBar :
{
UniformToolbarPanel - > AddSlot ( )
[
FinalWidgetWithHook
] ;
2014-03-14 14:13:41 -04:00
}
break ;
case EMultiBoxType : : ButtonRow :
{
2019-10-01 20:41:42 -04:00
TileViewWidgets . Add ( FinalWidget . ToSharedRef ( ) ) ;
2014-03-14 14:13:41 -04:00
}
break ;
case EMultiBoxType : : Menu :
{
VerticalBox - > AddSlot ( )
. AutoHeight ( )
2020-05-12 09:32:51 -04:00
. Padding ( 0.0f , 0.0f , 0.0f , 0.0f )
2014-03-14 14:13:41 -04:00
[
SNew ( SHorizontalBox )
+ SHorizontalBox : : Slot ( )
. AutoWidth ( )
. VAlign ( VAlign_Center )
[
SNew ( STextBlock )
. Visibility ( bDisplayExtensionHooks ? EVisibility : : Visible : EVisibility : : Collapsed )
. ColorAndOpacity ( StyleSet - > GetColor ( " MultiboxHookColor " ) )
2015-02-24 05:57:41 -05:00
. Text ( FText : : FromName ( Block . GetExtensionHook ( ) ) )
2014-03-14 14:13:41 -04:00
]
+ SHorizontalBox : : Slot ( )
[
2019-10-01 20:41:42 -04:00
FinalWidget . ToSharedRef ( )
2014-03-14 14:13:41 -04:00
]
] ;
}
break ;
}
}
2015-08-28 16:20:02 -04:00
void SMultiBoxWidget : : SetSearchable ( bool InSearchable )
{
bSearchable = InSearchable ;
}
2021-08-26 08:10:12 -04:00
2015-08-28 16:20:02 -04:00
bool SMultiBoxWidget : : GetSearchable ( ) const
{
return bSearchable ;
}
2014-03-14 14:13:41 -04:00
2020-08-11 01:36:57 -04:00
/** Creates the SearchTextWidget if the MultiBox has requested one */
void SMultiBoxWidget : : CreateSearchTextWidget ( )
{
if ( ! MultiBox - > bHasSearchWidget )
{
return ;
}
SearchTextWidget =
SNew ( SSearchBox )
. HintText ( LOCTEXT ( " SearchHint " , " Search " ) )
2022-05-19 11:38:44 -04:00
. SelectAllTextWhenFocused ( false )
2020-08-11 01:36:57 -04:00
. OnTextChanged ( this , & SMultiBoxWidget : : OnFilterTextChanged ) ;
TSharedRef < FWidgetBlock > NewWidgetBlock ( new FWidgetBlock ( SearchTextWidget . ToSharedRef ( ) , FText : : GetEmpty ( ) , false ) ) ;
NewWidgetBlock - > SetSearchable ( false ) ;
MultiBox - > AddMultiBlockToFront ( NewWidgetBlock ) ;
}
/** Called when the SearchText changes */
void SMultiBoxWidget : : OnFilterTextChanged ( const FText & InFilterText )
{
SearchText = InFilterText ;
FilterMultiBoxEntries ( ) ;
}
2014-03-14 14:13:41 -04:00
/**
* Builds this MultiBox widget up from the MultiBox associated with it
*/
void SMultiBoxWidget : : BuildMultiBoxWidget ( )
{
check ( MultiBox . IsValid ( ) ) ;
// Grab the list of blocks, early out if there's nothing to fill the widget with
const TArray < TSharedRef < const FMultiBlock > > & Blocks = MultiBox - > GetBlocks ( ) ;
if ( Blocks . Num ( ) = = 0 )
{
2021-10-25 20:05:28 -04:00
// Clear content if there was any
if ( ChildSlot . Num ( ) > 0 & & ChildSlot . GetWidget ( ) ! = SNullWidget : : NullWidget )
{
ChildSlot
[
SNullWidget : : NullWidget
] ;
}
2014-03-14 14:13:41 -04:00
return ;
}
2020-08-11 01:36:57 -04:00
CreateSearchTextWidget ( ) ;
2014-03-14 14:13:41 -04:00
// Select background brush based on the type of multibox.
const ISlateStyle * const StyleSet = MultiBox - > GetStyleSet ( ) ;
const FName & StyleName = MultiBox - > GetStyleName ( ) ;
2020-05-12 09:32:51 -04:00
const FSlateBrush * BackgroundBrush = nullptr ;
2021-01-05 16:38:18 -04:00
FMargin BackgroundPadding ;
2020-05-12 09:32:51 -04:00
if ( StyleSet - > HasWidgetStyle < FToolBarStyle > ( StyleName ) )
{
2021-01-05 16:38:18 -04:00
const FToolBarStyle & Style = StyleSet - > GetWidgetStyle < FToolBarStyle > ( StyleName ) ;
BackgroundBrush = & Style . BackgroundBrush ;
BackgroundPadding = Style . BackgroundPadding ;
2020-05-12 09:32:51 -04:00
}
else
{
BackgroundBrush = StyleSet - > GetOptionalBrush ( StyleName , " .Background " , FStyleDefaults : : GetNoBrush ( ) ) ;
}
2014-03-14 14:13:41 -04:00
// Create a box panel that the various multiblocks will resides within
// @todo Slate MultiBox: Expose margins and other useful bits
2020-09-01 11:38:51 -04:00
TSharedPtr < SVerticalBox > VerticalBox ;
TSharedPtr < SWidget > MainWidget ;
2020-01-27 20:11:15 -05:00
TSharedPtr < SHorizontalBox > HorizontalBox ;
2014-03-14 14:13:41 -04:00
/** The current row of buttons for if the multibox type is a button row */
TSharedPtr < SHorizontalBox > ButtonRow ;
TSharedPtr < STileView < TSharedPtr < SWidget > > > TileView ;
2020-07-17 14:42:23 -04:00
2014-03-14 14:13:41 -04:00
switch ( MultiBox - > GetType ( ) )
{
case EMultiBoxType : : MenuBar :
2020-05-12 09:32:51 -04:00
MainWidget = HorizontalBox = SNew ( SHorizontalBox ) ;
break ;
2014-03-14 14:13:41 -04:00
case EMultiBoxType : : ToolBar :
2020-05-12 09:32:51 -04:00
case EMultiBoxType : : SlimHorizontalToolBar :
2014-03-14 14:13:41 -04:00
{
2020-01-27 20:11:15 -05:00
MainWidget = HorizontalBox = ClippedHorizontalBox = SNew ( SClippingHorizontalBox )
. OnWrapButtonClicked ( FOnGetContent : : CreateSP ( this , & SMultiBoxWidget : : OnWrapButtonClicked ) )
2021-10-12 21:21:22 -04:00
. IsFocusable ( MultiBox - > bIsFocusable )
2020-01-27 20:11:15 -05:00
. StyleSet ( StyleSet )
. StyleName ( StyleName ) ;
2014-03-14 14:13:41 -04:00
}
break ;
case EMultiBoxType : : VerticalToolBar :
{
2020-01-27 20:11:15 -05:00
MainWidget = VerticalBox = SNew ( SVerticalBox ) ;
}
break ;
case EMultiBoxType : : UniformToolBar :
{
2020-07-17 14:42:23 -04:00
MainWidget = VerticalBox = SNew ( SVerticalBox )
+ SVerticalBox : : Slot ( )
. Padding ( FMargin ( 0.f , 2.f ) )
. AutoHeight ( )
[
SAssignNew ( UniformToolbarPanel , SUniformWrapPanel )
. HAlign ( HAlign_Left )
2021-09-20 12:43:47 -04:00
. MinDesiredSlotWidth ( 50.f )
2021-02-01 14:55:57 -04:00
. MinDesiredSlotHeight ( 43.f )
2021-09-20 12:43:47 -04:00
. MaxDesiredSlotWidth ( 50.f )
2021-02-01 14:55:57 -04:00
. MaxDesiredSlotHeight ( 43.f )
2021-09-20 12:43:47 -04:00
. SlotPadding ( FMargin ( 2.f , 1.f ) )
2020-07-17 14:42:23 -04:00
] ;
2014-03-14 14:13:41 -04:00
}
break ;
case EMultiBoxType : : ButtonRow :
{
MainWidget = TileView = SNew ( STileView < TSharedPtr < SWidget > > )
. OnGenerateTile ( this , & SMultiBoxWidget : : GenerateTiles )
. ListItemsSource ( & TileViewWidgets )
. ItemWidth ( this , & SMultiBoxWidget : : GetItemWidth )
. ItemHeight ( this , & SMultiBoxWidget : : GetItemHeight )
. SelectionMode ( ESelectionMode : : None ) ;
}
break ;
case EMultiBoxType : : Menu :
{
2020-01-29 17:08:58 -05:00
if ( MaxHeight . IsSet ( ) )
{
MainWidget = SNew ( SVerticalBox )
+ SVerticalBox : : Slot ( )
. MaxHeight ( MaxHeight )
[
// wrap menu content in a scrollbox to support vertical scrolling if needed
SNew ( SScrollBox )
+ SScrollBox : : Slot ( )
[
SAssignNew ( VerticalBox , SVerticalBox )
]
] ;
}
else
{
// wrap menu content in a scrollbox to support vertical scrolling if needed
MainWidget = SNew ( SScrollBox )
+ SScrollBox : : Slot ( )
[
SAssignNew ( VerticalBox , SVerticalBox )
] ;
}
2014-03-14 14:13:41 -04:00
}
break ;
}
bool bInsideGroup = false ;
// Start building up the actual UI from each block in this MultiBox
2014-11-20 19:21:21 -05:00
bool bSectionContainsIcons = false ;
int32 NextMenuSeparator = INDEX_NONE ;
2021-09-21 13:03:53 -04:00
int32 ConsecutiveSeparatorCount = 0 ;
2021-08-24 12:22:10 -04:00
for ( int32 Index = 0 ; Index < Blocks . Num ( ) ; Index + + )
2014-03-14 14:13:41 -04:00
{
2021-08-24 12:22:10 -04:00
// If we've passed the last menu separator, scan for the next one (the end of the list is also considered a menu separator for the purposes of this index)
if ( NextMenuSeparator < Index )
2021-08-19 11:33:36 -04:00
{
2021-08-24 12:22:10 -04:00
bSectionContainsIcons = false ;
for ( + + NextMenuSeparator ; NextMenuSeparator < Blocks . Num ( ) ; + + NextMenuSeparator )
2021-08-19 11:33:36 -04:00
{
2021-08-24 12:22:10 -04:00
const FMultiBlock & TestBlock = * Blocks [ NextMenuSeparator ] ;
if ( ! bSectionContainsIcons & & TestBlock . HasIcon ( ) )
{
bSectionContainsIcons = true ;
}
2021-09-21 13:03:53 -04:00
if ( TestBlock . IsSeparator ( ) )
2021-08-24 12:22:10 -04:00
{
break ;
}
2014-11-20 19:21:21 -05:00
}
}
2021-08-24 12:22:10 -04:00
const FMultiBlock & Block = * Blocks [ Index ] ;
EMultiBlockLocation : : Type Location = EMultiBlockLocation : : None ;
2021-09-21 13:03:53 -04:00
if ( Block . IsSeparator ( ) )
{
+ + ConsecutiveSeparatorCount ;
// Skip consecutive separators. Only draw one separator no matter how many are submitted.
if ( ConsecutiveSeparatorCount > 1 )
{
continue ;
}
}
else
{
ConsecutiveSeparatorCount = 0 ;
}
2021-08-24 12:22:10 -04:00
TSharedPtr < const FMultiBlock > NextBlock = nullptr ;
if ( Blocks . IsValidIndex ( Index + 1 ) )
2021-08-19 11:33:36 -04:00
{
2021-08-24 12:22:10 -04:00
NextBlock = Blocks [ Index + 1 ] ;
}
2021-08-19 11:33:36 -04:00
2021-08-24 12:22:10 -04:00
// Determine the location of the current block, used for group styling information
{
// Check if we are a start or end block
if ( Block . IsGroupStartBlock ( ) )
{
bInsideGroup = true ;
}
else if ( Block . IsGroupEndBlock ( ) )
{
bInsideGroup = false ;
}
// Check if we are next to a start or end block
bool bIsNextToStartBlock = false ;
bool bIsNextToEndBlock = false ;
if ( NextBlock )
{
if ( NextBlock - > IsGroupEndBlock ( ) )
{
bIsNextToEndBlock = true ;
}
}
if ( Index > 0 )
{
const FMultiBlock & PrevBlock = * Blocks [ Index - 1 ] ;
if ( PrevBlock . IsGroupStartBlock ( ) )
{
bIsNextToStartBlock = true ;
2021-08-19 11:33:36 -04:00
}
}
2021-08-24 12:22:10 -04:00
// determine location
if ( bInsideGroup )
{
// assume we are in the middle of a group
Location = EMultiBlockLocation : : Middle ;
// We are the start of a group
if ( bIsNextToStartBlock & & ! bIsNextToEndBlock )
{
Location = EMultiBlockLocation : : Start ;
}
// we are the end of a group
else if ( ! bIsNextToStartBlock & & bIsNextToEndBlock )
{
Location = EMultiBlockLocation : : End ;
}
// we are the only block in a group
else if ( bIsNextToStartBlock & & bIsNextToEndBlock )
{
Location = EMultiBlockLocation : : None ;
}
}
}
TSharedPtr < const FToolBarComboButtonBlock > OptionsBlock ;
if ( NextBlock & & NextBlock - > GetType ( ) = = EMultiBlockType : : ToolBarComboButton )
{
TSharedPtr < const FToolBarComboButtonBlock > NextToolBarComboButtonBlock = StaticCastSharedPtr < const FToolBarComboButtonBlock > ( NextBlock ) ;
if ( NextToolBarComboButtonBlock - > IsSimpleComboBox ( ) )
{
// Apply a special treatment to simple combo boxes as they represent options for the previous button
OptionsBlock = NextToolBarComboButtonBlock ;
// Skip over options blocks. They are not added directly
+ + Index ;
}
}
if ( DragPreview . IsValid ( ) & & DragPreview . InsertIndex = = Index )
{
// Add the drag preview before if we have it. This block shows where the custom block will be
// added if the user drops it
AddBlockWidget ( * DragPreview . PreviewBlock , HorizontalBox , VerticalBox , EMultiBlockLocation : : None , bSectionContainsIcons , OptionsBlock ) ;
}
2020-01-27 20:11:15 -05:00
2021-08-24 12:22:10 -04:00
// Do not add a block if it is being dragged
if ( ! IsBlockBeingDragged ( Blocks [ Index ] ) )
{
AddBlockWidget ( Block , HorizontalBox , VerticalBox , Location , bSectionContainsIcons , OptionsBlock ) ;
}
}
2014-03-14 14:13:41 -04:00
2021-08-24 12:22:10 -04:00
// The first loop above added the multibox blocks and discovered/collected all sub-menus blocks. This second loops adds all sub-menu blocks discovered in the first pass.
for ( const TPair < TSharedPtr < const FMultiBlock > , TSharedPtr < FFlattenSearchableBlockInfo > > & Pair : FlattenSearchableBlocks )
{
// Do not add a block if it is being dragged
if ( ! IsBlockBeingDragged ( Pair . Key ) )
{
2021-08-19 11:33:36 -04:00
TSharedPtr < const FToolBarComboButtonBlock > OptionsBlock ;
2021-08-24 12:22:10 -04:00
AddBlockWidget ( * Pair . Key , HorizontalBox , VerticalBox , EMultiBlockLocation : : None , /*bSectionContainsIcons*/ false , OptionsBlock ) ;
2014-03-14 14:13:41 -04:00
}
}
// Add the wrap button as the final block
if ( ClippedHorizontalBox . IsValid ( ) )
{
ClippedHorizontalBox - > AddWrapButton ( ) ;
}
2020-05-12 09:32:51 -04:00
FMargin BorderPadding ( 0 ) ;
const FSlateBrush * BorderBrush = FStyleDefaults : : GetNoBrush ( ) ;
FSlateColor BorderForegroundColor = FSlateColor : : UseForeground ( ) ;
2014-03-14 14:13:41 -04:00
// Setup the root border widget
2020-05-12 09:32:51 -04:00
TSharedPtr < SWidget > RootBorder ;
2014-03-14 14:13:41 -04:00
switch ( MultiBox - > GetType ( ) )
{
2020-05-12 09:32:51 -04:00
case EMultiBoxType : : Menu :
2014-03-14 14:13:41 -04:00
{
2020-12-01 20:58:20 -04:00
BorderPadding = FMargin ( 0 , 8 , 0 , 8 ) ;
2014-03-14 14:13:41 -04:00
}
break ;
default :
2020-05-12 09:32:51 -04:00
{
BorderBrush = BackgroundBrush ;
2021-01-05 16:38:18 -04:00
BorderPadding = BackgroundPadding ;
2020-05-12 09:32:51 -04:00
BorderForegroundColor = FCoreStyle : : Get ( ) . GetSlateColor ( " DefaultForeground " ) ;
2014-03-14 14:13:41 -04:00
}
break ;
}
2020-05-12 09:32:51 -04:00
RootBorder =
SNew ( SBorder )
. Padding ( BorderPadding )
. BorderImage ( BorderBrush )
. ForegroundColor ( BorderForegroundColor )
// Assign the box panel as the child
[
MainWidget . ToSharedRef ( )
] ;
2014-03-14 14:13:41 -04:00
// Prevent tool-tips spawned by child widgets from drawing on top of our main widget
RootBorder - > EnableToolTipForceField ( true ) ;
ChildSlot
[
RootBorder . ToSharedRef ( )
] ;
2021-11-07 23:43:01 -05:00
// Save pointers to horizontal/vertical box so that we can insert more blocks later if necessary (e.g. FlattenSubMenusRecursive)
MainHorizontalBox = HorizontalBox ;
MainVerticalBox = VerticalBox ;
2014-03-14 14:13:41 -04:00
}
TSharedRef < SWidget > SMultiBoxWidget : : OnWrapButtonClicked ( )
{
2021-03-29 20:50:34 -04:00
FMenuBuilder MenuBuilder ( true , MultiBox - > GetLastCommandList ( ) , TSharedPtr < FExtender > ( ) , false , GetStyleSet ( ) ) ;
2014-03-14 14:13:41 -04:00
{
const TArray < TSharedRef < const FMultiBlock > > & Blocks = MultiBox - > GetBlocks ( ) ;
2020-07-17 14:42:23 -04:00
for ( int32 BlockIdx = ClippedHorizontalBox - > GetClippedIndex ( ) ; BlockIdx < Blocks . Num ( ) ; + + BlockIdx )
2014-03-14 14:13:41 -04:00
{
2020-07-17 14:42:23 -04:00
Blocks [ BlockIdx ] - > CreateMenuEntry ( MenuBuilder ) ;
2014-03-14 14:13:41 -04:00
}
}
return MenuBuilder . MakeWidget ( ) ;
}
void SMultiBoxWidget : : UpdateDropAreaPreviewBlock ( TSharedRef < const FMultiBlock > MultiBlock , TSharedPtr < FUICommandDragDropOp > DragDropContent , const FGeometry & DragAreaGeometry , const FVector2D & DragPos )
{
2019-10-01 20:41:42 -04:00
const FName BlockName = DragDropContent - > ItemName ;
const EMultiBlockType BlockType = DragDropContent - > BlockType ;
2014-03-14 14:13:41 -04:00
FName OriginMultiBox = DragDropContent - > OriginMultiBox ;
FVector2D LocalDragPos = DragAreaGeometry . AbsoluteToLocal ( DragPos ) ;
FVector2D DrawSize = DragAreaGeometry . GetDrawSize ( ) ;
2019-10-01 20:41:42 -04:00
bool bIsDraggingSection = DragDropContent - > bIsDraggingSection ;
2014-03-14 14:13:41 -04:00
bool bAddedNewBlock = false ;
bool bValidCommand = true ;
2019-10-01 20:41:42 -04:00
if ( ! DragPreview . IsSameBlockAs ( BlockName , BlockType ) )
{
TSharedPtr < const FMultiBlock > ExistingBlock = MultiBox - > FindBlockFromNameAndType ( BlockName , BlockType ) ;
// Check that the command does not already exist and that we can create it or that we are dragging an existing block in this box
2014-03-14 14:13:41 -04:00
if ( ! ExistingBlock . IsValid ( ) | | ( ExistingBlock . IsValid ( ) & & OriginMultiBox = = MultiBox - > GetCustomizationName ( ) ) )
{
TSharedPtr < const FMultiBlock > NewBlock = ExistingBlock ;
if ( NewBlock . IsValid ( ) )
{
DragPreview . Reset ( ) ;
2019-10-01 20:41:42 -04:00
DragPreview . BlockName = BlockName ;
DragPreview . BlockType = BlockType ;
2014-03-14 14:13:41 -04:00
DragPreview . PreviewBlock =
MakeShareable (
new FDropPreviewBlock (
NewBlock . ToSharedRef ( ) ,
2021-01-05 16:38:18 -04:00
NewBlock - > MakeWidget ( SharedThis ( this ) , EMultiBlockLocation : : None , NewBlock - > HasIcon ( ) , nullptr ) )
2014-03-14 14:13:41 -04:00
) ;
bAddedNewBlock = true ;
}
}
else
{
// this command cannot be dropped here
bValidCommand = false ;
}
}
if ( bValidCommand )
{
// determine whether or not to insert before or after
bool bInsertBefore = false ;
if ( MultiBox - > GetType ( ) = = EMultiBoxType : : ToolBar )
{
DragPreview . InsertOrientation = EOrientation : : Orient_Horizontal ;
if ( LocalDragPos . X < DrawSize . X / 2 )
{
// Insert before horizontally
bInsertBefore = true ;
}
else
{
// Insert after horizontally
bInsertBefore = false ;
}
}
else
{
DragPreview . InsertOrientation = EOrientation : : Orient_Vertical ;
if ( LocalDragPos . Y < DrawSize . Y / 2 )
{
// Insert before vertically
bInsertBefore = true ;
}
else
{
// Insert after vertically
bInsertBefore = false ;
}
}
int32 CurrentIndex = DragPreview . InsertIndex ;
DragPreview . InsertIndex = INDEX_NONE ;
// Find the index of the multiblock being dragged over. This is where we will insert the new block
if ( DragPreview . PreviewBlock . IsValid ( ) )
{
const TArray < TSharedRef < const FMultiBlock > > & Blocks = MultiBox - > GetBlocks ( ) ;
2019-10-01 20:41:42 -04:00
int32 HoverIndex = Blocks . IndexOfByKey ( MultiBlock ) ;
int32 HoverSectionEndIndex = INDEX_NONE ;
int32 HoverSectionBeginIndex = MultiBox - > GetSectionEditBounds ( HoverIndex , HoverSectionEndIndex ) ;
if ( bIsDraggingSection )
2014-03-14 14:13:41 -04:00
{
2019-10-01 20:41:42 -04:00
// Hovering over final block means insert at end of list
if ( ( HoverIndex = = Blocks . Num ( ) - 1 ) & & Blocks . Num ( ) > 0 )
2014-03-14 14:13:41 -04:00
{
2019-10-01 20:41:42 -04:00
DragPreview . InsertIndex = Blocks . Num ( ) ;
}
else if ( Blocks . IsValidIndex ( HoverSectionBeginIndex ) )
{
DragPreview . InsertIndex = HoverSectionBeginIndex ;
}
}
else if ( HoverIndex ! = INDEX_NONE )
{
if ( MultiBlock - > IsPartOfHeading ( ) )
{
if ( MultiBlock - > IsSeparator ( ) )
2014-03-14 14:13:41 -04:00
{
2019-10-01 20:41:42 -04:00
// Move insert index above separator of heading
DragPreview . InsertIndex = HoverIndex ;
2014-03-14 14:13:41 -04:00
}
else
{
2019-10-01 20:41:42 -04:00
// Move insert index after heading
DragPreview . InsertIndex = HoverIndex + 1 ;
}
}
else
{
if ( bInsertBefore )
{
DragPreview . InsertIndex = HoverIndex ;
}
else
{
DragPreview . InsertIndex = HoverIndex + 1 ;
2014-03-14 14:13:41 -04:00
}
}
}
}
}
}
EVisibility SMultiBoxWidget : : GetCustomizationVisibility ( TWeakPtr < const FMultiBlock > BlockWeakPtr , TWeakPtr < SWidget > BlockWidgetWeakPtr ) const
{
if ( MultiBox - > IsInEditMode ( ) & & BlockWidgetWeakPtr . IsValid ( ) & & BlockWeakPtr . IsValid ( ) & & ( ! DragPreview . PreviewBlock . IsValid ( ) | | BlockWeakPtr . Pin ( ) ! = DragPreview . PreviewBlock - > GetActualBlock ( ) ) )
{
// If in edit mode and this is not the block being dragged, the customization widget should be visible if the default block beging customized would have been visible
return BlockWeakPtr . Pin ( ) - > GetAction ( ) . IsValid ( ) & & BlockWidgetWeakPtr . Pin ( ) - > GetVisibility ( ) = = EVisibility : : Visible ? EVisibility : : Visible : EVisibility : : Collapsed ;
}
else
{
return EVisibility : : Collapsed ;
}
}
void SMultiBoxWidget : : OnCustomCommandDragEnter ( TSharedRef < const FMultiBlock > MultiBlock , const FGeometry & MyGeometry , const FDragDropEvent & DragDropEvent )
{
if ( MultiBlock ! = DragPreview . PreviewBlock & & MultiBox - > IsInEditMode ( ) )
{
TSharedPtr < FUICommandDragDropOp > DragDropContent = StaticCastSharedPtr < FUICommandDragDropOp > ( DragDropEvent . GetOperation ( ) ) ;
UpdateDropAreaPreviewBlock ( MultiBlock , DragDropContent , MyGeometry , DragDropEvent . GetScreenSpacePosition ( ) ) ;
}
}
void SMultiBoxWidget : : OnCustomCommandDragged ( TSharedRef < const FMultiBlock > MultiBlock , const FGeometry & MyGeometry , const FDragDropEvent & DragDropEvent )
{
if ( MultiBlock ! = DragPreview . PreviewBlock & & MultiBox - > IsInEditMode ( ) )
{
TSharedPtr < FUICommandDragDropOp > DragDropContent = StaticCastSharedPtr < FUICommandDragDropOp > ( DragDropEvent . GetOperation ( ) ) ;
UpdateDropAreaPreviewBlock ( MultiBlock , DragDropContent , MyGeometry , DragDropEvent . GetScreenSpacePosition ( ) ) ;
}
}
void SMultiBoxWidget : : OnCustomCommandDropped ( )
{
if ( DragPreview . IsValid ( ) )
{
// Check that the command does not already exist and that we can create it or that we are dragging an exisiting block in this box
2019-10-01 20:41:42 -04:00
TSharedPtr < const FMultiBlock > Block = MultiBox - > FindBlockFromNameAndType ( DragPreview . BlockName , DragPreview . BlockType ) ;
if ( Block . IsValid ( ) )
2014-03-14 14:13:41 -04:00
{
2019-10-01 20:41:42 -04:00
if ( Block - > IsSeparator ( ) & & Block - > IsPartOfHeading ( ) )
{
TSharedPtr < const FMultiBlock > HeadingBlock = MultiBox - > FindBlockFromNameAndType ( DragPreview . BlockName , EMultiBlockType : : Heading ) ;
if ( HeadingBlock . IsValid ( ) )
{
Block = HeadingBlock ;
}
}
2014-03-14 14:13:41 -04:00
MultiBox - > InsertCustomMultiBlock ( Block . ToSharedRef ( ) , DragPreview . InsertIndex ) ;
}
DragPreview . Reset ( ) ;
BuildMultiBoxWidget ( ) ;
}
}
void SMultiBoxWidget : : OnDropExternal ( )
{
// The command was not dropped in this widget
if ( DragPreview . IsValid ( ) )
{
DragPreview . Reset ( ) ;
BuildMultiBoxWidget ( ) ;
}
}
FReply SMultiBoxWidget : : OnDragOver ( const FGeometry & MyGeometry , const FDragDropEvent & DragDropEvent )
{
2014-04-23 18:00:50 -04:00
if ( DragDropEvent . GetOperationAs < FUICommandDragDropOp > ( ) . IsValid ( ) & & MultiBox - > IsInEditMode ( ) )
2014-03-14 14:13:41 -04:00
{
return FReply : : Handled ( ) ;
}
return FReply : : Unhandled ( ) ;
}
FReply SMultiBoxWidget : : OnDrop ( const FGeometry & MyGeometry , const FDragDropEvent & DragDropEvent )
{
2014-04-23 18:00:50 -04:00
if ( DragDropEvent . GetOperationAs < FUICommandDragDropOp > ( ) . IsValid ( ) )
2014-03-14 14:13:41 -04:00
{
OnCustomCommandDropped ( ) ;
return FReply : : Handled ( ) ;
}
return FReply : : Unhandled ( ) ;
}
bool SMultiBoxWidget : : SupportsKeyboardFocus ( ) const
{
2021-10-12 21:21:22 -04:00
return MultiBox - > bIsFocusable ;
2014-03-14 14:13:41 -04:00
}
2014-10-30 12:29:36 -04:00
FReply SMultiBoxWidget : : FocusNextWidget ( EUINavigation NavigationType )
2014-03-14 14:13:41 -04:00
{
TSharedPtr < SWidget > FocusWidget = FSlateApplication : : Get ( ) . GetKeyboardFocusedWidget ( ) ;
if ( FocusWidget . IsValid ( ) )
{
FWidgetPath FocusPath ;
FSlateApplication : : Get ( ) . GeneratePathToWidgetUnchecked ( FocusWidget . ToSharedRef ( ) , FocusPath ) ;
Copying //UE4/Release-Staging-4.12 to //UE4/Main (Source: //UE4/Release-4.12 @ 2992821)
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2992821 on 2016/05/27 by Max.Chen
Subway Sequencer: Add "Assets" and "Character" to the list of additional directories to cook.
#jira UE-31279
#lockdown Cristina.Riveron
Change 2992761 on 2016/05/27 by Max.Chen
Add assets from "Directories to Always Cook".
#jira UE-31279
#lockdown Cristina.Riveron
Change 2992371 on 2016/05/26 by Dmitry.Rekman
Fix GUBP Tools node (UE-31378).
#jira UE-31378
#lockdown Josh.Adams
Change 2992279 on 2016/05/26 by Dmitry.Rekman
One more fix for UAT compilation failure (UE-31312).
- Make EnvVarsToXML target framework v4.5.
#lockdown Josh.Adams
#jira UE-31312
Change 2992060 on 2016/05/26 by Josh.Adams
- Reset PVRTC compression quality to default, so cooks don't take forever for IOS. We shipped with PVRTC Quality 4 for the App Store version. This is set in the Cooker Settings in the Project Settings window.
#lockdown cristina.riveron
#jira UE-31373
Change 2992009 on 2016/05/26 by Dmitry.Rekman
Fix packaging on Linux (UE-31312).
- System.Xml was spelled as System.XML.
#jira UE-31312
#lockdown Josh.Adams
Change 2991784 on 2016/05/26 by Martin.Wilson
Fix for RecalcRequiredBones crashing when there is no lod data
#jira UE-30028
#lockdown cristina.riveron
Change 2991744 on 2016/05/26 by Dmitry.Rekman
Fix Linux code project generation (UE-31322).
- Also fixes UE-31318 (not reopening when creating BP project).
- Apparently, we cannot reset all signals to default, this makes posix_spawn() fail after fork (child exits with 127).
- Added logging of child's return code.
#lockdown Josh.Adams
#jira UE-31322
#jira UE-31318
Change 2991448 on 2016/05/26 by Nick.Darnell
Disabling the logging in the git module that was added from the previous commit.
#jira UE-30781
#lockdown cristina.riveron
Change 2991352 on 2016/05/26 by Max.Chen
Subway Sequencer: Add "Sequencer" to the list of additional directories to cook.
#jira UE-31279
#lockdown Cristina.Riveron
Change 2991121 on 2016/05/26 by Ben.Marsh
Fix ShooterGame warnings on XboxOne.
#lockdown cristina.riveron
Change 2991097 on 2016/05/26 by Nick.Darnell
PR #2386: Git Plugin: fix initialization of a new repository broken by new "migrate" support 4.12 (Contributed by SRombauts)
#jira UE-30781
#lockdown cristina.riveron
Change 2991095 on 2016/05/26 by Dmitry.Rekman
Fix packaging on Linux (UE-31312).
- Excludes UAT modules unsupported on the platform (e.g. TVOS).
#jira UE-31312
#lockdown Josh.Adams
Change 2990806 on 2016/05/25 by Michael.Gay
Last minute adjustments to SubwaySequencer shots.
Fixed Fade track on master and moved Event tracks to shots.
#jira UE-30804
#lockdown Cristina.Riveron
Change 2990739 on 2016/05/25 by Dan.Oconnor
Fix for transaction buffer failing to restore preview widget trees, these are regenerated post undo/redo and should not be tagged as transactional
#jira UE-31155
#lockdown cristina.riveron
Change 2990657 on 2016/05/25 by Dmitry.Rekman
Fix crash in mono when invoked by the engine (UE-31312).
- Reset signal mask on spawning a subprocess. We mask out all signals except explicitly handled, which does not play well with mono.
- See also https://answers.unrealengine.com/questions/420161/mono-process-crash.html
#jira UE-31312
#lockdown Josh.Adams
Change 2990564 on 2016/05/25 by Marc.Audy
Undo 4.12 change to DetachFromParent when AttachTo is called with a null parent.
#jira UE-00000
#lockdown Cristina.Riveron
Change 2990429 on 2016/05/25 by Max.Chen
Movie Capture: Fix initialization order warning. Follow up to CL #2990314
#jira UE-31285
#lockdown Nick.Penwarden
Change 2990338 on 2016/05/25 by Zabir.Hoque
TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque.
#jira UE-28838
#lockdown cristina.riveron
Change 2990314 on 2016/05/25 by Max.Chen
Movie Capture: Flush the viewport when grabbing frames. This fixes more frame accuracy issues.
#jira UE-31285
#lockdown Nick.Penwarden
Change 2990249 on 2016/05/25 by Max.Chen
Sequencer: Fix tick prerequisites getting removed on stop and not re-set on play. This fixes frame accuracies when rendering in a separate process.
#jira UE-31285
#lockdown Nick.Penwarden
Change 2990243 on 2016/05/25 by Lukasz.Furman
Fixed behavior tree observers not being applied correctly
#jira UE-31307
#lockdown Cristina.Riveron
Change 2990206 on 2016/05/25 by Daniel.Lamb
Make sure min number of threads in the large thread pool is at least 2.
#jira UE-31253
#lockdown Cristina.Riveron
Change 2990182 on 2016/05/25 by Max.Chen
Sequencer: Fix null ptr crash on trying to record from current player. This is a regression from the off by one frame fixes.
#jira UE-31304
#lockdown Nick.Penwarden
Change 2990124 on 2016/05/25 by Chris.Bunner
Avoid creating additional inline code fragment casting matching uniform types.
#lockdown cristina.riveron
#jira UE-29089
Change 2989978 on 2016/05/25 by Uriel.Doyon
Merged fix for issue with resolution scale in PostProcessVisualizeComplexity
#jira UE-29473
#lockdown cristina.riveron
Change 2989970 on 2016/05/25 by Taizyd.Korambayil
#lockdown cristina.riveron
#jira UE-31293 Added TestMaps Folder and moved all Non-Relevant Maps into it.
Change 2989911 on 2016/05/25 by Chris.Babcock
Remove warning about Android debugging since CodeWorks for Android Nsight supports VS2015
#jira UE-31292
#ue4
#android
#lockdown cristina.riveron
Change 2989898 on 2016/05/25 by Robert.Manuszewski
Splitting inline shader registration from serialization. Serialization can happen on the async loading thread but registration should only happen on the game thread. Removed a lot of critical section locks.
Reimplementing CL #2952596
#jira UE-29245
#lockdown Nick.Penwarden
Change 2989849 on 2016/05/25 by Max.Preussner
Sequencer: Fixed Crash when playing UMG sequence with audio tracks (UE-31289)
#jira UE-31289
#lockdown nick.penwarden
Change 2989793 on 2016/05/25 by Max.Chen
Sequencer: Change automated capture so it captures in response to a sequence update to fix off by one frames.
#jira UE-30755
#lockdown Nick.Penwarden
Change 2989792 on 2016/05/25 by Max.Chen
Sequencer: Put back setting MaxFPS when forcing fixed frame interval playback to fix motion blur in editor.
#jira UE-30755
#lockdown Nick.Penwarden
Change 2989774 on 2016/05/25 by Mike.Beach
Mirroring CL 2946932
Guarding against invalid EdGraphPins (ones that have been moved to the transient package) when constructing the widget - prevents a crash that we've been unable to repro or determine the cause of (turns it instead into an ensure, so we can collect more contextual information on the issue).
#lockdown cristina.riveron
#jira UE-26998
Change 2989765 on 2016/05/25 by Olaf.Piesche
Moivng CL 2967970 from Dev-Rendering - fix for
#jira UE-27297
#lockdown nick.penwarden
Change 2989481 on 2016/05/25 by Marc.Audy
Properly route AttachToComponent to SetupAttachment if called from the constructor
#jira UE-31055
#lockdown Cristina.Riveron
Change 2989369 on 2016/05/25 by Robert.Manuszewski
Don't create asset import data for archetype TileMap. Propagate component flags to TileMap if the component is an archetype.
#jira UE-31033
#lockdown Nick.Penwarden
Change 2988975 on 2016/05/24 by Max.Preussner
Sequencer: Fixed Cinematic Camera look at tool crashes on auto save (UE-31195)
#jira UE-31195
#lockdown nick.penwarden
Change 2988834 on 2016/05/24 by Max.Chen
Movie Capture: Crash fix - Protect against null encoding filter.
#jira UE-31233
#lockdown Nick.Penwarden
Change 2988764 on 2016/05/24 by Peter.Sauerbrei
fix for exception when deploying to tvOS from PC
#jira UE-30318
#lockdown cristina.riveron
Change 2988540 on 2016/05/24 by Jeff.Campeau
Disable incompatible OpenVR for Windows XP builds.
Gut SteamVR and SteamVRController for Windows XP builds (rely on OpenVR).
#lockdown Nick.Penwarden
#jira UE-30823
Change 2988491 on 2016/05/24 by Zak.Middleton
#ue4 - (4.12) Remove version check from serialization logic that fixes up stale transient properties. They would still loaded for archetypes and we always want to prevent that in the future.
#lockdown cristina.riveron
#jira UE-30625
Change 2988427 on 2016/05/24 by Aaron.McLeran
#jira UE-31028 Stop Quietest Concurrency does not remove the quietest sound
Fix is to not re-add the sound once its stopped due to max concurrency.
#tests ran the QA test map that demonstrated the problem
#lockdown cristina.riveron
Change 2988391 on 2016/05/24 by Taizyd.Korambayil
#lockdown cristina.riveron
#jira UE-30301 Rebuilt Ligthing for all Content Example Maps
Change 2988315 on 2016/05/24 by Allan.Bentham
Re-enabled FLUTBlenderPS on vulkan devices. (it's required for protostar)
#jira UE-31079
Change 2988227 on 2016/05/24 by Frank.Fella
Sequencer - Add support for forcing editor and runtime evaluation to happen on exact fixed frame intervals. Updated the subway sequencer sample to work with these changes.
Change missed in first checkin.
#Jira UE-30755
Change 2988200 on 2016/05/24 by Robert.Manuszewski
Assert if MaxObjectsInEditor or MaxObjectsInGame are too big and collide with EInternalObjectFlags
#jira UE-31218
Change 2988181 on 2016/05/24 by Peter.Sauerbrei
revert out the last fix and add more logging as I can't reproduce this bug
#jira UE-30813
Change 2988140 on 2016/05/24 by Frank.Fella
Sequencer - Add support for forcing editor and runtime evaluation to happen on exact fixed frame intervals. Updated the subway sequencer sample to work with these changes.
#Jira UE-30755
Change 2988081 on 2016/05/24 by Jamie.Dale
Better fix for UE-29651 that will also work with packages saved from a build without an engine version
There was no version bump for the change to FFormatArgumentData, but VER_UE4_K2NODE_VAR_REFERENCEGUIDS was added at almost the same time so testing that should handle the vast majority of packages that we have internally, and will handle all external packages.
#jira UE-29651
Change 2987964 on 2016/05/24 by Lee.Clark
Fix empty ENV path when compiling PS4 targets.
#jira UE-31210
Change 2987721 on 2016/05/23 by Dan.Oconnor
Reworking node validation change done in 2910382 so that nodes that are going to spawn other nodes in the expansion step are still validated.
#jira UE-31099
Change 2987696 on 2016/05/23 by Chris.Babcock
Update AndroidWorks 1R1 to CodeWorks for Android 1R4
#jira UEPLAT-1312
#ue4
#android
Change 2987624 on 2016/05/23 by Jeff.Campeau
Fix a define protection for WinXP stack walking support.
#jira UE-30823
Change 2987607 on 2016/05/23 by Jeff.Campeau
Windows Stack Walk fixed to work with Windows XP.
Use the ASCII calls where needed.
Symbol server is unsupported and is disabled when building for Windows XP.
#jira UE-30823
Change 2987593 on 2016/05/23 by Zak.Middleton
#ue4 - (4.12) Reject old serialized values of UMovementComponent::UpdatedComponent and UpdatedPrimitive that were saved before those were marked transient. Mark UPawnMovementComponent::PawnOwner and UCharacterMovementComponent::CharacterOwner as transient, and similarly reject old saved values.
#jira UE-30625
Change 2987548 on 2016/05/23 by Lukasz.Furman
Moved newly added gameplay debugger's code out of perception component
#jira UE-31090
Change 2987510 on 2016/05/23 by Lukasz.Furman
Restored perception category in old gameplay debugger tool
#jira UE-31090
Change 2987278 on 2016/05/23 by Ben.Marsh
Rocket: Add Mac GenerateProjectFiles.sh script into installed engine distro.
#jira UE-31109
Change 2987156 on 2016/05/23 by Chris.Babcock
Added GoogleVR to InstalledEngineFilters.ini
#jira UE-31186
#ue4
#android
Change 2987129 on 2016/05/23 by Mieszko.Zielinski
Fixed FNavigationFilterArea not zeroing its properties in default constuctor #UE4
#jira UE-31185
Change 2987100 on 2016/05/23 by Peter.Sauerbrei
fix for crash in DeploymentServer when attempting to copy a file with a space in the path or name
#jira UE-30813
Change 2987064 on 2016/05/23 by Dmitry.Rekman
PR #2164: [Linux] Fix clang '&&' within '||' error (Contributed by slonopotamus)
#jira UE-28537
Change 2987002 on 2016/05/23 by Aaron.McLeran
#jira UE-31036 Sound volume does not change when moving past the Non Focus Azimuth range if set to greater than 90 degrees
Fix was to remove the clamp on the dot-product
#tests ran test map with focus factors greater than 90 degrees
Change 2986880 on 2016/05/23 by Mark.Satterthwaite
Fix UE-31124 due to bad array iteration logic - amazing that this hadn't been seen earlier.
#jira UE-31124
Change 2986873 on 2016/05/23 by Lina.Halper
#fix issue with morphtarget importings for LODs
- this was caused by option not being set correctly
#jira: UE-30955
#code review: Alexis.Matte
Change 2986804 on 2016/05/23 by Taizyd.Korambayil
#jira UE-31132 Added Missing Function to Blueprint.
Change 2986801 on 2016/05/23 by Jamie.Dale
SSearchBox will now only delay text changes while it has focus
A text changed event when it doesn't have focus is usually triggered by code (rather than the user typing), so we need to process it immediately to avoid other operational ordering issues.
#jira UE-31101
Change 2986793 on 2016/05/23 by Martin.Wilson
Fix for morph curves not getting applied to meshes in cooked builds (smart names were not being corrected). (brought from dev-rendering 2983747)
#Jira UE-31166
Change 2986772 on 2016/05/23 by Benn.Gallagher
Fixed montage single node instances with negative rate scales only repeating the final section when looping
#jira UE-31164
Change 2986766 on 2016/05/23 by Martin.Wilson
Fix for preview not updating when tranform curve flags are changed.
#Jira UE-31119
Change 2986569 on 2016/05/23 by Robert.Manuszewski
Making hang detection disabled bu default and an opt-in for games.
#jira UE-31151
Change 2986564 on 2016/05/23 by Martin.Wilson
Fix for being able to set montages on an anim track segment.
#jira UE-31039
Change 2986205 on 2016/05/21 by Zabir.Hoque
Add new instrumentation to bucketize why we are seeing device lost so often.
#jira UE-20434
Change 2986071 on 2016/05/20 by Dan.Oconnor
Fix for TRASHCLASS sneaking into property list when recompiling a blueprint that has a dependency that is dirty and requires bytecode recompilation of its dependencies. Make sure that the dirty blueprint itself is part of the bytecode recompilation process and make sure that blueprints compiled in this way are compiled after their parent classes
#jira UE-30411
Change 2986068 on 2016/05/20 by Dan.Oconnor
Fix for blueprint change/compile delegates leaking
#jira UE-31118
Change 2986044 on 2016/05/20 by Zabir.Hoque
Make OpenGL VB allocation support alignment (16 by default). Future work should expose this up through the RHI layers.
#CodeReview: Olaf.Piesche, Simon.Tovey
#jira UE-29231
Change 2985934 on 2016/05/20 by Mark.Satterthwaite
Further changes to ensure that UE-30710 really is fixed while also not live-leaking memory in MetalRHI.
#jira UE-30710
Change 2985852 on 2016/05/20 by Max.Chen
Subway Sequencer: Remove level sequence editor from plugin list since it's on by default.
#jira UE-31106
Change 2985821 on 2016/05/20 by Phillip.Kavan
[UE-22874] Fix UObject duplication to preserve default subobjects created by the native class ctor when the root object is duplicated.
change summary:
- added FObjectDuplicationHelperMethods::GatherDefaultSubobjectsForDuplication()
- modified StaticDuplicateObjectEx() to map default subobjects created in the duplicated root object's ctor before entering the serialization pass. this preserves those instances instead of causing StaticConstructObject to destroy/recreate them during serialization as part of the UObject reference duplication logic.
#jira UE-22874
Change 2985750 on 2016/05/20 by Michael.Gay
Default Game map set to SubwaySequencer_P
#jira UE-31108
Change 2985660 on 2016/05/20 by Michael.Gay
Removing unused track animation
#jira UE-30804
Change 2985349 on 2016/05/20 by Dan.Oconnor
Fix for crash that occurs when repeatedly pasting and undoing an object with subobjects. We were not clearing the internal flags when recycling an object
#jira UE-30954
Change 2985346 on 2016/05/20 by Leslie.Nivison
Updating 4.12 credit
#jira UEPROD-820
Change 2985297 on 2016/05/20 by Jamie.Dale
Fixed VS version detection
It was checking the file version (which is 12), rather than the VS version (which is 12 for 2013, and 14 for 2015).
#jira UE-30977
Change 2985233 on 2016/05/20 by Gareth.Martin
Fixed crash when building lighting when using "Use Landscape Lightmap" on landscape grass
#jira UE-30975
Change 2985184 on 2016/05/20 by Chris.Babcock
Move audio warning to show proper error result code
#jira UE-31085
#ue4
#android
Change 2985183 on 2016/05/20 by Chad.Taylor
GoogleVR disabled by default
#jira UE-30921
Change 2985145 on 2016/05/20 by Jack.Porter
Fix for precision issue causing blocky landscape LOD on iPad Pro and several other iOS devices
#jira UE-24792
Change 2985124 on 2016/05/20 by Alex.Delesky
#jira UE-29794
If the editor cannot find the SSL DLLs when enabling the Perforce source control plugin, it will now display a warning in the Source Control log instead of crashing.
Change 2985066 on 2016/05/20 by Lee.Clark
Fix r.SelectiveBasePassOutputs so that it defaults to off
#jira UE-30133
Change 2985063 on 2016/05/20 by Allan.Bentham
Fix for modulated shadow precision issues on low end android hardware.
#jira UE-29083
Change 2985061 on 2016/05/20 by Max.Chen
Viewport: Fix crash when the viewport widget is null.
#jira UE-31050
Change 2985059 on 2016/05/20 by Rolando.Caloca
UE4.12 - Workaround for crash trying to track down other crash
#jira UE-30875
Change 2984876 on 2016/05/20 by Richard.TalbotWatkin
Made SceneOutliner visibility code safer, to avoid a potential crash.
#jira UE-30831 - [CrashReport] UE4Editor_SceneOutliner!SceneOutliner::FGetVisibilityVisitor::RecurseChildren() [sceneoutlinergutter.cpp:24]
Change 2984873 on 2016/05/20 by Richard.TalbotWatkin
Clipped selection box bounds in Matinee viewport to prevent crash when reading outside of the viewport area.
#jira UE-30968 - Ctrl+Alt selection drag inside to outside of Matinee window will crash the editor
Change 2984844 on 2016/05/20 by Matthew.Griffin
Fixing compile error in mono games
Change 2984825 on 2016/05/20 by Robert.Manuszewski
When the application crashes becaused the GPU driver was disabled, make sure the CrashReporterClient window gets the updated screen metrics after the driver is restored.
#jira UE-30556
Change 2984693 on 2016/05/20 by Phillip.Kavan
[UE-30495] Fix BP editor crash on component rename following undo of component add action.
change summary:
- modified USimpleConstructionScript::CreateNode() to create the initial component template object in the transient package, so that subsequent undo actions restore to that state rather than to a valid BPGC-owned state.
- modified StaticConstructObject_Internal() to restore the inclusion of RF_ArchetypeObject-flagged objects in the logic that sets new objects to 'PendingKill' state before recording them into the transaction buffer. this ensures that they can be GC'd when construction is undone in the editor. Tested against sample/repro steps in UE-21240 to ensure that it no longer crashes even with the original change from CL# 2832225 reverted (that fix has since been superceded).
#jira UE-30495
Change 2984684 on 2016/05/20 by Phillip.Kavan
[UE-30852] Fix BPGC custom property list delta generation & post-construct initialization/serialization to properly handle array values that differ from default in length but not inner element values.
change summary:
- modified UBlueprintGeneratedClass::BuildCustomPropertyListForPostConstruction()/BuildCustomArrayPropertyListForPostConstruction() to return a boolean value indicating whether or not a delta value was detected.
- modified UBlueprintGeneratedClass::BuildCustomArrayPropertyListForPostConstruction() and FBlueprintEditorUtils::BuildComponentInstancingData() to ensure that array properties are emitted to delta property lists if the size differs from default, even if none of the elements actually differ from the default value
- removed the ensure() for the array property case in FObjectInitializer::InitPropertiesFromCustomList(), as it is now a valid case to encounter an array property delta value without any actual delta element value overrides following it in the custom property stream
- restored the bCanUsePostConstructLink optimization for non-native class types in FObjectInitializer::InitProperties()
- modified UArrayProperty::SerializeItem() for the ArUseCustomPropertyList case to not empty the array when a resize is needed on load (read) - this fixes an edge case in the cooked BP component data stream when array size differed from default but only one or more of the inner values actually differed, in which case all the array slots were being reset (constructed/zeroed) but only the overridden value was being serialized (loaded) from the template data stream
#jira UE-30852
Change 2984651 on 2016/05/19 by Zabir.Hoque
Forcing GoogleVR plugin to disabled by default since its causing even non HDM machines to render split foveated viewports.
#CodeReview: Chad.Taylor, Nick.Whiting
#jira UE-30921
Change 2984636 on 2016/05/19 by Zabir.Hoque
Explicitly store the cubemap resolution in encoded reflection data.
#CodeReview Daniel.Wright, Marcus.Wassmer
#jira UE-30341
Change 2984454 on 2016/05/19 by Rolando.Caloca
UE4.12 - Fix for vulkan failing to load shader
Integration mirroring changelist 2984432
#jira UE-28140
Change 2984452 on 2016/05/19 by Marcus.Wassmer
#jira UE-31054
Remove autocompletion for ToggleRHIThread and ShowMaterialDrawEvents as they no longer do anything
Change 2984415 on 2016/05/19 by Dan.Oconnor
Fix for crash when we fail to spawn the preview actor because the desired class is deprecated
#jira UE-31027
Change 2984376 on 2016/05/19 by Dan.Oconnor
Fix for regression in GetClassDefaults - we were not handling the 'None' case
#jira UE-31034
Change 2984316 on 2016/05/19 by Aaron.McLeran
#jira UE-31049 Updating the Oculus Audio SDK to vs 1.02
#tests Ran updated SDK in several test maps, confirmed HRTF spatialization is working.
Change 2984315 on 2016/05/19 by Lina.Halper
Fix issue with importing morphtarget LOD when it's missing between
#jira: UE-30949
Change 2984237 on 2016/05/19 by Dan.Oconnor
Fix for ensure/possible stale memory access in UpdateOverlaps
#jira UE-30919
Change 2984170 on 2016/05/19 by Max.Chen
Movie Capture: Another pass at texture streaming fix for movie capture.
#jira UE-30986
Change 2984134 on 2016/05/19 by Chad.Taylor
Mac compiler warning fix
#jira UE-30921
Change 2983903 on 2016/05/19 by Taizyd.Korambayil
#jira UE-30562 Replaced cube With BSP for Floor
Change 2983840 on 2016/05/19 by Taizyd.Korambayil
#jira UE-30979 Fixed Typo in one of the Stands
Change 2983662 on 2016/05/19 by Ben.Marsh
GitHub: Add an exception to allow GoogleVR files to be mirrored to GitHub
Change 2983653 on 2016/05/19 by Chris.Bunner
Modifed previous change to fixup incorrect ensures.
#jira UE-30877
Change 2983599 on 2016/05/19 by Chris.Bunner
Added ensure and null ptr check to canvas flush.
#jira UE-30877
Change 2983596 on 2016/05/19 by Chad.Taylor
FluffyBunny
#jira UE-30921
Change 2983534 on 2016/05/19 by Brian.Karis
4.12 fix per pixel translucency
#jira UE-30902
Change 2983530 on 2016/05/19 by Chris.Babcock
Broadcast EMediaEvent::MediaOpened when media opened successfully
#jira UE-31006
#ue4
#android
Change 2983427 on 2016/05/19 by Richard.TalbotWatkin
Conflated "Import" and "Import Scene" in the File menu; the new action is called "Import Into Level". Limited the allowed file types to .t3d and .fbx.
#jira UE-30891 - CRASH: Editor crashes when Importing Actors via File > Import
Change 2983386 on 2016/05/19 by Michael.Gay
minor last tweaks
#jira UE-30804
Change 2983280 on 2016/05/19 by Gil.Gribb
UE4 - Fixed crash in FHierarchicalStaticMeshSceneProxy related to reflection captures and foliage.
#jira UE-30837
Change 2983079 on 2016/05/18 by Max.Chen
Movie Capture: Fix so that texture streaming option for movie capture is set when capturing in editor.
#jira UE-30986
Change 2983078 on 2016/05/18 by Dmitriy.Dyomin
Added more logging to track UE-30878
#jira UE-30878
Change 2983067 on 2016/05/18 by Dmitriy.Dyomin
Fixed: Mobile HDR Path doesn't work on GearVR
#jira UE-11846
Change 2983049 on 2016/05/18 by Max.Chen
Movie Capture: Fix crash on movie rendering when in HDR mode.
#jira UE-30978
Change 2982825 on 2016/05/18 by Mark.Satterthwaite
Correctly wait for the dispatch semaphore when clearing the Metal resource free lists.
#jira UE-30710
Change 2982697 on 2016/05/18 by Marc.Audy
Fix Orion DataProvider use of AddReferencedObjects in light of CL# 2982607
#jira UE-00000
Change 2982546 on 2016/05/18 by Taizyd.Korambayil
#jira UE-30862 resaved A bunc hof assets to Fix to attempt to fix Build Warnings
Change 2982533 on 2016/05/18 by Daniel.Lamb
When you package if you haven't saved the changes will not be reflected in the game.
#jira UE-30904
Change 2982415 on 2016/05/18 by Marc.Audy
Bring forgotten 4.11 CL# 2928377 to 4.12
Ensure that the compiler will throw an error when passing a non-UObject* TArray to AddReferencedObjects
#jira UE-28933
Change 2982358 on 2016/05/18 by Taizyd.Korambayil
#jira UE-30546 Updated TP_VehicleAdvPawn Chase Camera Location
Change 2982280 on 2016/05/18 by Martin.Mittring
UE-26409 Crash when Light Propagation Volume Plugin is disabled on a Project
#jira:UE-26409
Change 2982229 on 2016/05/18 by Max.Chen
Sequencer: Add tick prerequisites so that the level sequence actor ticks before all of the actors that it controls. This fixes some inconsistencies in the movie rendered frames not matching what's in editor.
#jira UE-30755
Change 2982080 on 2016/05/18 by Max.Chen
Sequence Recorder: Fix crash when component class to record is null.
#jira UE-30944
Change 2982041 on 2016/05/18 by Marcus.Wassmer
Protect against crashes reading from a null texture.
#jira UE-30834
Change 2981915 on 2016/05/18 by Allan.Bentham
Do not mosaic encode for modulate blend operations.
Fixes dark 'halos' around mod shadows.
#jira UE-29083
Change 2981911 on 2016/05/18 by michael.gay
Set framing in sequencer, set start to 200
#jira UE-30633
Change 2981904 on 2016/05/18 by Chase.McAllister
#jira UE-30943 Removing unused asset to fix DDC compiling bug
Change 2981894 on 2016/05/18 by Michael.Gay
removed old cameras, changed start frame to remove black at head of sequence
#jira UE-30633
Change 2981827 on 2016/05/18 by Gareth.Martin
Fixed crash when entering landscape mode while a landscape is selected while simulating
- Landscape infos no longer get created for PIE/Simulate landscapes (they were empty anyway)
#jira UE-30917
Change 2981725 on 2016/05/18 by Keith.Judge
Xbox One - Fix issues with DFAO/DF Shadowing. Problems were in RHIUpdateTexture3D(). Needed to ensure temp texture had the correct bind flags, etc, and also use the graphics context rather than the DMA context to do the copying, as for some reason the DMA engine corrupts some pixels of the distance field atlas texture.
#jira UE-27591
Change 2981466 on 2016/05/17 by Max.Chen
Merge from Chris Bunner from Dev-SequencerGDC - Frame state fixes when Sequencer is paused; No velocity in AA, Clamp motion blur scale, Clamp to scatter blur method.
#jira UE-30576
Change 2981403 on 2016/05/17 by Dan.Oconnor
Fix for overzealous filtering of classes with Within markup
#jira UE-29878
Change 2981342 on 2016/05/17 by Dan.Oconnor
Removing overzealous check. In Dev-BP this has already been downgraded to an ensure, but no reason to ensure now that we understand why it happens.
#jira UE-30792
Change 2981318 on 2016/05/17 by Max.Preussner
Sequencer: Fixed crash when scrubbing attached audio tracks; reduced nesting (UE-30923)
#jira: UE-30923
Change 2981221 on 2016/05/17 by Dan.Oconnor
Preventing spawning components with 'Within' markup specified, it is unsupported by the SCSEditor and Core UObject logic at this time. Likely logic is CoreUObject needs to avoid type checking for RF_ArchetypeObject instances and the SCSEditor needs to be more consistent about using that flag on its template objects
#jira UE-29878
Change 2981169 on 2016/05/17 by Marc.Audy
Gracefully handle invalid GameSingleton class name in ini file
Remove unused DefaultPreviewPawnClass and ClassName from Engine
#jira UE-30829
Change 2981104 on 2016/05/17 by Mieszko.Zielinski
Made AISenses not send information to listeners that are not registered for given sense #UE4
#jira UE-29939
Change 2981086 on 2016/05/17 by Taizyd.Korambayil
#jira UE-30568 Added a check to make sure index being accessed was valid (BP_DemoRoom)
Change 2980755 on 2016/05/17 by Taizyd.Korambayil
#jira UE-30706 Set material to use Translucent Blend
Change 2980753 on 2016/05/17 by Jon.Nabozny
Initialize FBox used to store result for CalculateQuatACF96Bounds (bump from //UE4/Dev-Framework).
#JIRA UE-30846
Change 2980682 on 2016/05/17 by Taizyd.Korambayil
#jira UE-30570, UE-30575 Corrected Some Spellings
Change 2980559 on 2016/05/17 by Mieszko.Zielinski
Changed UNavigationSystem.AgentToNavDataMap to store weak object pointers rather than raw painters #UE4
This should make it immune to navigation data beging destroyed and not removed from AgentToNavDataMap.
#jira UE-30836
Change 2980504 on 2016/05/17 by Daniel.Wright
Integrate - Movable skylight now matches stationary for subsurface shading models
* Two sided was broken in 4.11, Subsurface had never been handled
#jira UE-30855
Change 2980467 on 2016/05/17 by Jamie.Dale
Added some checks to avoid temporary worlds being added as favorites
#jira UE-30613
Change 2980379 on 2016/05/17 by Jurre.deBaare
Fix for static mesh merging, little too eager with changes.
#jira UE-30808
Change 2980373 on 2016/05/17 by Gareth.Martin
Fixed shader compile errors when applying a speedtree material to a landscape spline
#jira UE-25820
Change 2980318 on 2016/05/17 by Gareth.Martin
Fixed crash when calling EditorApplySpline with a null spline component
Also stopped it doing anything in PIE (it's for blutilities, not runtime)
#jira UE-30830
Change 2980300 on 2016/05/17 by Marc.Audy
Treat Unreachable components the same as BeginDestroyed for endplay/cleanup purposes
#jira UE-30839
Change 2980298 on 2016/05/17 by Gareth.Martin
Fixed crash when loading landscape projects that used tessellation
#jira UE-30742
Change 2980296 on 2016/05/17 by Martin.Wilson
Fix crash accessing sync names from a child anim bp
#jira UE-30811
Change 2980289 on 2016/05/17 by Jurre.deBaare
Fix for regression with merge actor tab
#jira UE-30809
Change 2980272 on 2016/05/17 by Ori.Cohen
Make sure that root components do not get attached to non root components in the same actor. Fixes crash in scene outliner and other weird issues.
#JIRA UE-30876
Change 2980206 on 2016/05/17 by Keith.Judge
Xbox One - Bit the bullet and rewrote the occlusion query buffer handling so that we're not reliant on a finite ring buffer. Instead, each query has a small buffer of its own. removing the dependency of ordering when reading back the results. This should save memory on smaller maps too!
#jira UE-30581
#jira UEPLAT-623
Change 2980094 on 2016/05/17 by Matthew.Griffin
Added OSVR dlls to InstalledEngineFilters.ini so that they are included in Launcher build even though the plugin is disabled by default
#jira UE-30611
Change 2979935 on 2016/05/17 by Aaron.Herzog
#jira UE-30619 updating owen sk mesh with proper morph
Change 2979816 on 2016/05/16 by Chad.Taylor
Fix to address a crash related to multiple player VR Preview
#jira UE-20109
Change 2979744 on 2016/05/16 by Mike.Beach
Disabling Blueprint spawning, InitProperties() optimization until we can figure out why it is not filling out array properties properly.
#jira UE-30745
Change 2979743 on 2016/05/16 by Mike.Beach
Mirroring CL 2977497
Clearing property nodes and cached read-addresses when changing the details view object (so any queued actions will not operate on invalid properties).
#jira UE-26392
Change 2979544 on 2016/05/16 by Daniel.Wright
Fixed crash with RTDF shadows when r.DistanceFieldAO was disabled
#jira UE-26319
Change 2979477 on 2016/05/16 by michael.gay
Remove errant Play Rate track.
#jira UE-30633
Change 2979464 on 2016/05/16 by Mark.Satterthwaite
Duplicate CL #2945444: Cache the Metal fallback depth-stencil surface for the canvas tile rendering so that we only ever keep one spare depth-stencil surface around. This costs us a little more permanent memory but reduces churn.
#jira UE-30849
Change 2979441 on 2016/05/16 by Rolando.Caloca
UE4.12 - vk - Fix quitting taking a long time
#jira UE-28239
Change 2979315 on 2016/05/16 by Michael.Trepka
Rollback //UE4/Release-4.12/Engine/Source/Programs/UnrealBuildTool/System/XcodeProject.cs to revision 1
#jira UE-28016
Change 2979304 on 2016/05/16 by Jamie.Dale
Backing out some changes from CL# 2976673
These caused an issue with Slate hit-testing. The more correct fix here is to make the Slate Windows OS layer treat window positions as relative to the top-left of the window client area, rather than relative to the top-left of the window itself (which includes the OS border). This now matches what other platforms do.
To this end, FWindowsWindow::Initialize, FWindowsWindow::MoveWindowTo, and FWindowsWindow::ReshapeWindow all now consider the given window position to be relative to the window client area, and will consistently adjust it to relative to the window before moving/creating the OS window. This only impacts windows with OS borders (aka, non-fullscreen and non-Slate drawn windows).
#jira UE-30276
#jira UE-30677
#jira UE-30771
Change 2979077 on 2016/05/16 by Maciej.Mroz
#jira UE-28536 Attached Project Crashes on Attempting to Play in Standalone
merged from 2979069
Change 2979052 on 2016/05/16 by Chase.McAllister
#jira UE-30789 Resaving Maps to fix project warning
Change 2978984 on 2016/05/16 by Chase.McAllister
#jira UE-30789 Resaving start video assests that contained empty engine version
Change 2978806 on 2016/05/16 by Mieszko.Zielinski
Fixed EQS tests' scoring equation value getting reset on load #UE4
#jira UE-30470
Change 2978670 on 2016/05/16 by Max.Preussner
Media: Workaround for changing Media asset path can cause crash (UE-22691)
#jira: UE-22691
Change 2978638 on 2016/05/16 by Michael.Gay
Cleanup of old maps in SubwaySequencer project
#jira UE-30633
Change 2978636 on 2016/05/16 by Jamie.Dale
Added guard against a crash navigating through a menu
#jira UE-30698
Change 2978611 on 2016/05/16 by Lee.Clark
PS4 - Fix RenderTargetOutputFormat using the wrong output index for velocity rendering when using r.BasePassOutputsVelocity=True
#jira UE-30133
Change 2978596 on 2016/05/16 by Allan.Bentham
Extend iOS metal Z bias offset to all iOS (metal+gles) depth only shaders.
#jira UE-27530
Change 2978566 on 2016/05/16 by Jamie.Dale
Downgraded some checks to ensures and added more logging
#jira UE-30613
Change 2978399 on 2016/05/16 by Keith.Judge
Xbox One - Fix check() firing when we run out of occlusion buffer space. Also added occlusion query result caching (perf gain!).
#jira UE-30581
Change 2978323 on 2016/05/16 by Jurre.deBaare
Merge actor panel crashes when selecting a mesh component without static mesh
#fix display 'No Static Mesh' when none is available
#jira UE-30809
Change 2978322 on 2016/05/16 by Jurre.deBaare
Issue with merging meshes resulting data saved across different LOD levels
#fix use correct target LOD index for all source LODs
#jira UE-30808
#lockdown Nick.Penwarden
[CL 2999693 by Ben Marsh in Main branch]
2016-06-03 11:49:20 -04:00
if ( FocusPath . IsValid ( ) )
2014-03-14 14:13:41 -04:00
{
Copying //UE4/Release-Staging-4.12 to //UE4/Main (Source: //UE4/Release-4.12 @ 2992821)
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2992821 on 2016/05/27 by Max.Chen
Subway Sequencer: Add "Assets" and "Character" to the list of additional directories to cook.
#jira UE-31279
#lockdown Cristina.Riveron
Change 2992761 on 2016/05/27 by Max.Chen
Add assets from "Directories to Always Cook".
#jira UE-31279
#lockdown Cristina.Riveron
Change 2992371 on 2016/05/26 by Dmitry.Rekman
Fix GUBP Tools node (UE-31378).
#jira UE-31378
#lockdown Josh.Adams
Change 2992279 on 2016/05/26 by Dmitry.Rekman
One more fix for UAT compilation failure (UE-31312).
- Make EnvVarsToXML target framework v4.5.
#lockdown Josh.Adams
#jira UE-31312
Change 2992060 on 2016/05/26 by Josh.Adams
- Reset PVRTC compression quality to default, so cooks don't take forever for IOS. We shipped with PVRTC Quality 4 for the App Store version. This is set in the Cooker Settings in the Project Settings window.
#lockdown cristina.riveron
#jira UE-31373
Change 2992009 on 2016/05/26 by Dmitry.Rekman
Fix packaging on Linux (UE-31312).
- System.Xml was spelled as System.XML.
#jira UE-31312
#lockdown Josh.Adams
Change 2991784 on 2016/05/26 by Martin.Wilson
Fix for RecalcRequiredBones crashing when there is no lod data
#jira UE-30028
#lockdown cristina.riveron
Change 2991744 on 2016/05/26 by Dmitry.Rekman
Fix Linux code project generation (UE-31322).
- Also fixes UE-31318 (not reopening when creating BP project).
- Apparently, we cannot reset all signals to default, this makes posix_spawn() fail after fork (child exits with 127).
- Added logging of child's return code.
#lockdown Josh.Adams
#jira UE-31322
#jira UE-31318
Change 2991448 on 2016/05/26 by Nick.Darnell
Disabling the logging in the git module that was added from the previous commit.
#jira UE-30781
#lockdown cristina.riveron
Change 2991352 on 2016/05/26 by Max.Chen
Subway Sequencer: Add "Sequencer" to the list of additional directories to cook.
#jira UE-31279
#lockdown Cristina.Riveron
Change 2991121 on 2016/05/26 by Ben.Marsh
Fix ShooterGame warnings on XboxOne.
#lockdown cristina.riveron
Change 2991097 on 2016/05/26 by Nick.Darnell
PR #2386: Git Plugin: fix initialization of a new repository broken by new "migrate" support 4.12 (Contributed by SRombauts)
#jira UE-30781
#lockdown cristina.riveron
Change 2991095 on 2016/05/26 by Dmitry.Rekman
Fix packaging on Linux (UE-31312).
- Excludes UAT modules unsupported on the platform (e.g. TVOS).
#jira UE-31312
#lockdown Josh.Adams
Change 2990806 on 2016/05/25 by Michael.Gay
Last minute adjustments to SubwaySequencer shots.
Fixed Fade track on master and moved Event tracks to shots.
#jira UE-30804
#lockdown Cristina.Riveron
Change 2990739 on 2016/05/25 by Dan.Oconnor
Fix for transaction buffer failing to restore preview widget trees, these are regenerated post undo/redo and should not be tagged as transactional
#jira UE-31155
#lockdown cristina.riveron
Change 2990657 on 2016/05/25 by Dmitry.Rekman
Fix crash in mono when invoked by the engine (UE-31312).
- Reset signal mask on spawning a subprocess. We mask out all signals except explicitly handled, which does not play well with mono.
- See also https://answers.unrealengine.com/questions/420161/mono-process-crash.html
#jira UE-31312
#lockdown Josh.Adams
Change 2990564 on 2016/05/25 by Marc.Audy
Undo 4.12 change to DetachFromParent when AttachTo is called with a null parent.
#jira UE-00000
#lockdown Cristina.Riveron
Change 2990429 on 2016/05/25 by Max.Chen
Movie Capture: Fix initialization order warning. Follow up to CL #2990314
#jira UE-31285
#lockdown Nick.Penwarden
Change 2990338 on 2016/05/25 by Zabir.Hoque
TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque.
#jira UE-28838
#lockdown cristina.riveron
Change 2990314 on 2016/05/25 by Max.Chen
Movie Capture: Flush the viewport when grabbing frames. This fixes more frame accuracy issues.
#jira UE-31285
#lockdown Nick.Penwarden
Change 2990249 on 2016/05/25 by Max.Chen
Sequencer: Fix tick prerequisites getting removed on stop and not re-set on play. This fixes frame accuracies when rendering in a separate process.
#jira UE-31285
#lockdown Nick.Penwarden
Change 2990243 on 2016/05/25 by Lukasz.Furman
Fixed behavior tree observers not being applied correctly
#jira UE-31307
#lockdown Cristina.Riveron
Change 2990206 on 2016/05/25 by Daniel.Lamb
Make sure min number of threads in the large thread pool is at least 2.
#jira UE-31253
#lockdown Cristina.Riveron
Change 2990182 on 2016/05/25 by Max.Chen
Sequencer: Fix null ptr crash on trying to record from current player. This is a regression from the off by one frame fixes.
#jira UE-31304
#lockdown Nick.Penwarden
Change 2990124 on 2016/05/25 by Chris.Bunner
Avoid creating additional inline code fragment casting matching uniform types.
#lockdown cristina.riveron
#jira UE-29089
Change 2989978 on 2016/05/25 by Uriel.Doyon
Merged fix for issue with resolution scale in PostProcessVisualizeComplexity
#jira UE-29473
#lockdown cristina.riveron
Change 2989970 on 2016/05/25 by Taizyd.Korambayil
#lockdown cristina.riveron
#jira UE-31293 Added TestMaps Folder and moved all Non-Relevant Maps into it.
Change 2989911 on 2016/05/25 by Chris.Babcock
Remove warning about Android debugging since CodeWorks for Android Nsight supports VS2015
#jira UE-31292
#ue4
#android
#lockdown cristina.riveron
Change 2989898 on 2016/05/25 by Robert.Manuszewski
Splitting inline shader registration from serialization. Serialization can happen on the async loading thread but registration should only happen on the game thread. Removed a lot of critical section locks.
Reimplementing CL #2952596
#jira UE-29245
#lockdown Nick.Penwarden
Change 2989849 on 2016/05/25 by Max.Preussner
Sequencer: Fixed Crash when playing UMG sequence with audio tracks (UE-31289)
#jira UE-31289
#lockdown nick.penwarden
Change 2989793 on 2016/05/25 by Max.Chen
Sequencer: Change automated capture so it captures in response to a sequence update to fix off by one frames.
#jira UE-30755
#lockdown Nick.Penwarden
Change 2989792 on 2016/05/25 by Max.Chen
Sequencer: Put back setting MaxFPS when forcing fixed frame interval playback to fix motion blur in editor.
#jira UE-30755
#lockdown Nick.Penwarden
Change 2989774 on 2016/05/25 by Mike.Beach
Mirroring CL 2946932
Guarding against invalid EdGraphPins (ones that have been moved to the transient package) when constructing the widget - prevents a crash that we've been unable to repro or determine the cause of (turns it instead into an ensure, so we can collect more contextual information on the issue).
#lockdown cristina.riveron
#jira UE-26998
Change 2989765 on 2016/05/25 by Olaf.Piesche
Moivng CL 2967970 from Dev-Rendering - fix for
#jira UE-27297
#lockdown nick.penwarden
Change 2989481 on 2016/05/25 by Marc.Audy
Properly route AttachToComponent to SetupAttachment if called from the constructor
#jira UE-31055
#lockdown Cristina.Riveron
Change 2989369 on 2016/05/25 by Robert.Manuszewski
Don't create asset import data for archetype TileMap. Propagate component flags to TileMap if the component is an archetype.
#jira UE-31033
#lockdown Nick.Penwarden
Change 2988975 on 2016/05/24 by Max.Preussner
Sequencer: Fixed Cinematic Camera look at tool crashes on auto save (UE-31195)
#jira UE-31195
#lockdown nick.penwarden
Change 2988834 on 2016/05/24 by Max.Chen
Movie Capture: Crash fix - Protect against null encoding filter.
#jira UE-31233
#lockdown Nick.Penwarden
Change 2988764 on 2016/05/24 by Peter.Sauerbrei
fix for exception when deploying to tvOS from PC
#jira UE-30318
#lockdown cristina.riveron
Change 2988540 on 2016/05/24 by Jeff.Campeau
Disable incompatible OpenVR for Windows XP builds.
Gut SteamVR and SteamVRController for Windows XP builds (rely on OpenVR).
#lockdown Nick.Penwarden
#jira UE-30823
Change 2988491 on 2016/05/24 by Zak.Middleton
#ue4 - (4.12) Remove version check from serialization logic that fixes up stale transient properties. They would still loaded for archetypes and we always want to prevent that in the future.
#lockdown cristina.riveron
#jira UE-30625
Change 2988427 on 2016/05/24 by Aaron.McLeran
#jira UE-31028 Stop Quietest Concurrency does not remove the quietest sound
Fix is to not re-add the sound once its stopped due to max concurrency.
#tests ran the QA test map that demonstrated the problem
#lockdown cristina.riveron
Change 2988391 on 2016/05/24 by Taizyd.Korambayil
#lockdown cristina.riveron
#jira UE-30301 Rebuilt Ligthing for all Content Example Maps
Change 2988315 on 2016/05/24 by Allan.Bentham
Re-enabled FLUTBlenderPS on vulkan devices. (it's required for protostar)
#jira UE-31079
Change 2988227 on 2016/05/24 by Frank.Fella
Sequencer - Add support for forcing editor and runtime evaluation to happen on exact fixed frame intervals. Updated the subway sequencer sample to work with these changes.
Change missed in first checkin.
#Jira UE-30755
Change 2988200 on 2016/05/24 by Robert.Manuszewski
Assert if MaxObjectsInEditor or MaxObjectsInGame are too big and collide with EInternalObjectFlags
#jira UE-31218
Change 2988181 on 2016/05/24 by Peter.Sauerbrei
revert out the last fix and add more logging as I can't reproduce this bug
#jira UE-30813
Change 2988140 on 2016/05/24 by Frank.Fella
Sequencer - Add support for forcing editor and runtime evaluation to happen on exact fixed frame intervals. Updated the subway sequencer sample to work with these changes.
#Jira UE-30755
Change 2988081 on 2016/05/24 by Jamie.Dale
Better fix for UE-29651 that will also work with packages saved from a build without an engine version
There was no version bump for the change to FFormatArgumentData, but VER_UE4_K2NODE_VAR_REFERENCEGUIDS was added at almost the same time so testing that should handle the vast majority of packages that we have internally, and will handle all external packages.
#jira UE-29651
Change 2987964 on 2016/05/24 by Lee.Clark
Fix empty ENV path when compiling PS4 targets.
#jira UE-31210
Change 2987721 on 2016/05/23 by Dan.Oconnor
Reworking node validation change done in 2910382 so that nodes that are going to spawn other nodes in the expansion step are still validated.
#jira UE-31099
Change 2987696 on 2016/05/23 by Chris.Babcock
Update AndroidWorks 1R1 to CodeWorks for Android 1R4
#jira UEPLAT-1312
#ue4
#android
Change 2987624 on 2016/05/23 by Jeff.Campeau
Fix a define protection for WinXP stack walking support.
#jira UE-30823
Change 2987607 on 2016/05/23 by Jeff.Campeau
Windows Stack Walk fixed to work with Windows XP.
Use the ASCII calls where needed.
Symbol server is unsupported and is disabled when building for Windows XP.
#jira UE-30823
Change 2987593 on 2016/05/23 by Zak.Middleton
#ue4 - (4.12) Reject old serialized values of UMovementComponent::UpdatedComponent and UpdatedPrimitive that were saved before those were marked transient. Mark UPawnMovementComponent::PawnOwner and UCharacterMovementComponent::CharacterOwner as transient, and similarly reject old saved values.
#jira UE-30625
Change 2987548 on 2016/05/23 by Lukasz.Furman
Moved newly added gameplay debugger's code out of perception component
#jira UE-31090
Change 2987510 on 2016/05/23 by Lukasz.Furman
Restored perception category in old gameplay debugger tool
#jira UE-31090
Change 2987278 on 2016/05/23 by Ben.Marsh
Rocket: Add Mac GenerateProjectFiles.sh script into installed engine distro.
#jira UE-31109
Change 2987156 on 2016/05/23 by Chris.Babcock
Added GoogleVR to InstalledEngineFilters.ini
#jira UE-31186
#ue4
#android
Change 2987129 on 2016/05/23 by Mieszko.Zielinski
Fixed FNavigationFilterArea not zeroing its properties in default constuctor #UE4
#jira UE-31185
Change 2987100 on 2016/05/23 by Peter.Sauerbrei
fix for crash in DeploymentServer when attempting to copy a file with a space in the path or name
#jira UE-30813
Change 2987064 on 2016/05/23 by Dmitry.Rekman
PR #2164: [Linux] Fix clang '&&' within '||' error (Contributed by slonopotamus)
#jira UE-28537
Change 2987002 on 2016/05/23 by Aaron.McLeran
#jira UE-31036 Sound volume does not change when moving past the Non Focus Azimuth range if set to greater than 90 degrees
Fix was to remove the clamp on the dot-product
#tests ran test map with focus factors greater than 90 degrees
Change 2986880 on 2016/05/23 by Mark.Satterthwaite
Fix UE-31124 due to bad array iteration logic - amazing that this hadn't been seen earlier.
#jira UE-31124
Change 2986873 on 2016/05/23 by Lina.Halper
#fix issue with morphtarget importings for LODs
- this was caused by option not being set correctly
#jira: UE-30955
#code review: Alexis.Matte
Change 2986804 on 2016/05/23 by Taizyd.Korambayil
#jira UE-31132 Added Missing Function to Blueprint.
Change 2986801 on 2016/05/23 by Jamie.Dale
SSearchBox will now only delay text changes while it has focus
A text changed event when it doesn't have focus is usually triggered by code (rather than the user typing), so we need to process it immediately to avoid other operational ordering issues.
#jira UE-31101
Change 2986793 on 2016/05/23 by Martin.Wilson
Fix for morph curves not getting applied to meshes in cooked builds (smart names were not being corrected). (brought from dev-rendering 2983747)
#Jira UE-31166
Change 2986772 on 2016/05/23 by Benn.Gallagher
Fixed montage single node instances with negative rate scales only repeating the final section when looping
#jira UE-31164
Change 2986766 on 2016/05/23 by Martin.Wilson
Fix for preview not updating when tranform curve flags are changed.
#Jira UE-31119
Change 2986569 on 2016/05/23 by Robert.Manuszewski
Making hang detection disabled bu default and an opt-in for games.
#jira UE-31151
Change 2986564 on 2016/05/23 by Martin.Wilson
Fix for being able to set montages on an anim track segment.
#jira UE-31039
Change 2986205 on 2016/05/21 by Zabir.Hoque
Add new instrumentation to bucketize why we are seeing device lost so often.
#jira UE-20434
Change 2986071 on 2016/05/20 by Dan.Oconnor
Fix for TRASHCLASS sneaking into property list when recompiling a blueprint that has a dependency that is dirty and requires bytecode recompilation of its dependencies. Make sure that the dirty blueprint itself is part of the bytecode recompilation process and make sure that blueprints compiled in this way are compiled after their parent classes
#jira UE-30411
Change 2986068 on 2016/05/20 by Dan.Oconnor
Fix for blueprint change/compile delegates leaking
#jira UE-31118
Change 2986044 on 2016/05/20 by Zabir.Hoque
Make OpenGL VB allocation support alignment (16 by default). Future work should expose this up through the RHI layers.
#CodeReview: Olaf.Piesche, Simon.Tovey
#jira UE-29231
Change 2985934 on 2016/05/20 by Mark.Satterthwaite
Further changes to ensure that UE-30710 really is fixed while also not live-leaking memory in MetalRHI.
#jira UE-30710
Change 2985852 on 2016/05/20 by Max.Chen
Subway Sequencer: Remove level sequence editor from plugin list since it's on by default.
#jira UE-31106
Change 2985821 on 2016/05/20 by Phillip.Kavan
[UE-22874] Fix UObject duplication to preserve default subobjects created by the native class ctor when the root object is duplicated.
change summary:
- added FObjectDuplicationHelperMethods::GatherDefaultSubobjectsForDuplication()
- modified StaticDuplicateObjectEx() to map default subobjects created in the duplicated root object's ctor before entering the serialization pass. this preserves those instances instead of causing StaticConstructObject to destroy/recreate them during serialization as part of the UObject reference duplication logic.
#jira UE-22874
Change 2985750 on 2016/05/20 by Michael.Gay
Default Game map set to SubwaySequencer_P
#jira UE-31108
Change 2985660 on 2016/05/20 by Michael.Gay
Removing unused track animation
#jira UE-30804
Change 2985349 on 2016/05/20 by Dan.Oconnor
Fix for crash that occurs when repeatedly pasting and undoing an object with subobjects. We were not clearing the internal flags when recycling an object
#jira UE-30954
Change 2985346 on 2016/05/20 by Leslie.Nivison
Updating 4.12 credit
#jira UEPROD-820
Change 2985297 on 2016/05/20 by Jamie.Dale
Fixed VS version detection
It was checking the file version (which is 12), rather than the VS version (which is 12 for 2013, and 14 for 2015).
#jira UE-30977
Change 2985233 on 2016/05/20 by Gareth.Martin
Fixed crash when building lighting when using "Use Landscape Lightmap" on landscape grass
#jira UE-30975
Change 2985184 on 2016/05/20 by Chris.Babcock
Move audio warning to show proper error result code
#jira UE-31085
#ue4
#android
Change 2985183 on 2016/05/20 by Chad.Taylor
GoogleVR disabled by default
#jira UE-30921
Change 2985145 on 2016/05/20 by Jack.Porter
Fix for precision issue causing blocky landscape LOD on iPad Pro and several other iOS devices
#jira UE-24792
Change 2985124 on 2016/05/20 by Alex.Delesky
#jira UE-29794
If the editor cannot find the SSL DLLs when enabling the Perforce source control plugin, it will now display a warning in the Source Control log instead of crashing.
Change 2985066 on 2016/05/20 by Lee.Clark
Fix r.SelectiveBasePassOutputs so that it defaults to off
#jira UE-30133
Change 2985063 on 2016/05/20 by Allan.Bentham
Fix for modulated shadow precision issues on low end android hardware.
#jira UE-29083
Change 2985061 on 2016/05/20 by Max.Chen
Viewport: Fix crash when the viewport widget is null.
#jira UE-31050
Change 2985059 on 2016/05/20 by Rolando.Caloca
UE4.12 - Workaround for crash trying to track down other crash
#jira UE-30875
Change 2984876 on 2016/05/20 by Richard.TalbotWatkin
Made SceneOutliner visibility code safer, to avoid a potential crash.
#jira UE-30831 - [CrashReport] UE4Editor_SceneOutliner!SceneOutliner::FGetVisibilityVisitor::RecurseChildren() [sceneoutlinergutter.cpp:24]
Change 2984873 on 2016/05/20 by Richard.TalbotWatkin
Clipped selection box bounds in Matinee viewport to prevent crash when reading outside of the viewport area.
#jira UE-30968 - Ctrl+Alt selection drag inside to outside of Matinee window will crash the editor
Change 2984844 on 2016/05/20 by Matthew.Griffin
Fixing compile error in mono games
Change 2984825 on 2016/05/20 by Robert.Manuszewski
When the application crashes becaused the GPU driver was disabled, make sure the CrashReporterClient window gets the updated screen metrics after the driver is restored.
#jira UE-30556
Change 2984693 on 2016/05/20 by Phillip.Kavan
[UE-30495] Fix BP editor crash on component rename following undo of component add action.
change summary:
- modified USimpleConstructionScript::CreateNode() to create the initial component template object in the transient package, so that subsequent undo actions restore to that state rather than to a valid BPGC-owned state.
- modified StaticConstructObject_Internal() to restore the inclusion of RF_ArchetypeObject-flagged objects in the logic that sets new objects to 'PendingKill' state before recording them into the transaction buffer. this ensures that they can be GC'd when construction is undone in the editor. Tested against sample/repro steps in UE-21240 to ensure that it no longer crashes even with the original change from CL# 2832225 reverted (that fix has since been superceded).
#jira UE-30495
Change 2984684 on 2016/05/20 by Phillip.Kavan
[UE-30852] Fix BPGC custom property list delta generation & post-construct initialization/serialization to properly handle array values that differ from default in length but not inner element values.
change summary:
- modified UBlueprintGeneratedClass::BuildCustomPropertyListForPostConstruction()/BuildCustomArrayPropertyListForPostConstruction() to return a boolean value indicating whether or not a delta value was detected.
- modified UBlueprintGeneratedClass::BuildCustomArrayPropertyListForPostConstruction() and FBlueprintEditorUtils::BuildComponentInstancingData() to ensure that array properties are emitted to delta property lists if the size differs from default, even if none of the elements actually differ from the default value
- removed the ensure() for the array property case in FObjectInitializer::InitPropertiesFromCustomList(), as it is now a valid case to encounter an array property delta value without any actual delta element value overrides following it in the custom property stream
- restored the bCanUsePostConstructLink optimization for non-native class types in FObjectInitializer::InitProperties()
- modified UArrayProperty::SerializeItem() for the ArUseCustomPropertyList case to not empty the array when a resize is needed on load (read) - this fixes an edge case in the cooked BP component data stream when array size differed from default but only one or more of the inner values actually differed, in which case all the array slots were being reset (constructed/zeroed) but only the overridden value was being serialized (loaded) from the template data stream
#jira UE-30852
Change 2984651 on 2016/05/19 by Zabir.Hoque
Forcing GoogleVR plugin to disabled by default since its causing even non HDM machines to render split foveated viewports.
#CodeReview: Chad.Taylor, Nick.Whiting
#jira UE-30921
Change 2984636 on 2016/05/19 by Zabir.Hoque
Explicitly store the cubemap resolution in encoded reflection data.
#CodeReview Daniel.Wright, Marcus.Wassmer
#jira UE-30341
Change 2984454 on 2016/05/19 by Rolando.Caloca
UE4.12 - Fix for vulkan failing to load shader
Integration mirroring changelist 2984432
#jira UE-28140
Change 2984452 on 2016/05/19 by Marcus.Wassmer
#jira UE-31054
Remove autocompletion for ToggleRHIThread and ShowMaterialDrawEvents as they no longer do anything
Change 2984415 on 2016/05/19 by Dan.Oconnor
Fix for crash when we fail to spawn the preview actor because the desired class is deprecated
#jira UE-31027
Change 2984376 on 2016/05/19 by Dan.Oconnor
Fix for regression in GetClassDefaults - we were not handling the 'None' case
#jira UE-31034
Change 2984316 on 2016/05/19 by Aaron.McLeran
#jira UE-31049 Updating the Oculus Audio SDK to vs 1.02
#tests Ran updated SDK in several test maps, confirmed HRTF spatialization is working.
Change 2984315 on 2016/05/19 by Lina.Halper
Fix issue with importing morphtarget LOD when it's missing between
#jira: UE-30949
Change 2984237 on 2016/05/19 by Dan.Oconnor
Fix for ensure/possible stale memory access in UpdateOverlaps
#jira UE-30919
Change 2984170 on 2016/05/19 by Max.Chen
Movie Capture: Another pass at texture streaming fix for movie capture.
#jira UE-30986
Change 2984134 on 2016/05/19 by Chad.Taylor
Mac compiler warning fix
#jira UE-30921
Change 2983903 on 2016/05/19 by Taizyd.Korambayil
#jira UE-30562 Replaced cube With BSP for Floor
Change 2983840 on 2016/05/19 by Taizyd.Korambayil
#jira UE-30979 Fixed Typo in one of the Stands
Change 2983662 on 2016/05/19 by Ben.Marsh
GitHub: Add an exception to allow GoogleVR files to be mirrored to GitHub
Change 2983653 on 2016/05/19 by Chris.Bunner
Modifed previous change to fixup incorrect ensures.
#jira UE-30877
Change 2983599 on 2016/05/19 by Chris.Bunner
Added ensure and null ptr check to canvas flush.
#jira UE-30877
Change 2983596 on 2016/05/19 by Chad.Taylor
FluffyBunny
#jira UE-30921
Change 2983534 on 2016/05/19 by Brian.Karis
4.12 fix per pixel translucency
#jira UE-30902
Change 2983530 on 2016/05/19 by Chris.Babcock
Broadcast EMediaEvent::MediaOpened when media opened successfully
#jira UE-31006
#ue4
#android
Change 2983427 on 2016/05/19 by Richard.TalbotWatkin
Conflated "Import" and "Import Scene" in the File menu; the new action is called "Import Into Level". Limited the allowed file types to .t3d and .fbx.
#jira UE-30891 - CRASH: Editor crashes when Importing Actors via File > Import
Change 2983386 on 2016/05/19 by Michael.Gay
minor last tweaks
#jira UE-30804
Change 2983280 on 2016/05/19 by Gil.Gribb
UE4 - Fixed crash in FHierarchicalStaticMeshSceneProxy related to reflection captures and foliage.
#jira UE-30837
Change 2983079 on 2016/05/18 by Max.Chen
Movie Capture: Fix so that texture streaming option for movie capture is set when capturing in editor.
#jira UE-30986
Change 2983078 on 2016/05/18 by Dmitriy.Dyomin
Added more logging to track UE-30878
#jira UE-30878
Change 2983067 on 2016/05/18 by Dmitriy.Dyomin
Fixed: Mobile HDR Path doesn't work on GearVR
#jira UE-11846
Change 2983049 on 2016/05/18 by Max.Chen
Movie Capture: Fix crash on movie rendering when in HDR mode.
#jira UE-30978
Change 2982825 on 2016/05/18 by Mark.Satterthwaite
Correctly wait for the dispatch semaphore when clearing the Metal resource free lists.
#jira UE-30710
Change 2982697 on 2016/05/18 by Marc.Audy
Fix Orion DataProvider use of AddReferencedObjects in light of CL# 2982607
#jira UE-00000
Change 2982546 on 2016/05/18 by Taizyd.Korambayil
#jira UE-30862 resaved A bunc hof assets to Fix to attempt to fix Build Warnings
Change 2982533 on 2016/05/18 by Daniel.Lamb
When you package if you haven't saved the changes will not be reflected in the game.
#jira UE-30904
Change 2982415 on 2016/05/18 by Marc.Audy
Bring forgotten 4.11 CL# 2928377 to 4.12
Ensure that the compiler will throw an error when passing a non-UObject* TArray to AddReferencedObjects
#jira UE-28933
Change 2982358 on 2016/05/18 by Taizyd.Korambayil
#jira UE-30546 Updated TP_VehicleAdvPawn Chase Camera Location
Change 2982280 on 2016/05/18 by Martin.Mittring
UE-26409 Crash when Light Propagation Volume Plugin is disabled on a Project
#jira:UE-26409
Change 2982229 on 2016/05/18 by Max.Chen
Sequencer: Add tick prerequisites so that the level sequence actor ticks before all of the actors that it controls. This fixes some inconsistencies in the movie rendered frames not matching what's in editor.
#jira UE-30755
Change 2982080 on 2016/05/18 by Max.Chen
Sequence Recorder: Fix crash when component class to record is null.
#jira UE-30944
Change 2982041 on 2016/05/18 by Marcus.Wassmer
Protect against crashes reading from a null texture.
#jira UE-30834
Change 2981915 on 2016/05/18 by Allan.Bentham
Do not mosaic encode for modulate blend operations.
Fixes dark 'halos' around mod shadows.
#jira UE-29083
Change 2981911 on 2016/05/18 by michael.gay
Set framing in sequencer, set start to 200
#jira UE-30633
Change 2981904 on 2016/05/18 by Chase.McAllister
#jira UE-30943 Removing unused asset to fix DDC compiling bug
Change 2981894 on 2016/05/18 by Michael.Gay
removed old cameras, changed start frame to remove black at head of sequence
#jira UE-30633
Change 2981827 on 2016/05/18 by Gareth.Martin
Fixed crash when entering landscape mode while a landscape is selected while simulating
- Landscape infos no longer get created for PIE/Simulate landscapes (they were empty anyway)
#jira UE-30917
Change 2981725 on 2016/05/18 by Keith.Judge
Xbox One - Fix issues with DFAO/DF Shadowing. Problems were in RHIUpdateTexture3D(). Needed to ensure temp texture had the correct bind flags, etc, and also use the graphics context rather than the DMA context to do the copying, as for some reason the DMA engine corrupts some pixels of the distance field atlas texture.
#jira UE-27591
Change 2981466 on 2016/05/17 by Max.Chen
Merge from Chris Bunner from Dev-SequencerGDC - Frame state fixes when Sequencer is paused; No velocity in AA, Clamp motion blur scale, Clamp to scatter blur method.
#jira UE-30576
Change 2981403 on 2016/05/17 by Dan.Oconnor
Fix for overzealous filtering of classes with Within markup
#jira UE-29878
Change 2981342 on 2016/05/17 by Dan.Oconnor
Removing overzealous check. In Dev-BP this has already been downgraded to an ensure, but no reason to ensure now that we understand why it happens.
#jira UE-30792
Change 2981318 on 2016/05/17 by Max.Preussner
Sequencer: Fixed crash when scrubbing attached audio tracks; reduced nesting (UE-30923)
#jira: UE-30923
Change 2981221 on 2016/05/17 by Dan.Oconnor
Preventing spawning components with 'Within' markup specified, it is unsupported by the SCSEditor and Core UObject logic at this time. Likely logic is CoreUObject needs to avoid type checking for RF_ArchetypeObject instances and the SCSEditor needs to be more consistent about using that flag on its template objects
#jira UE-29878
Change 2981169 on 2016/05/17 by Marc.Audy
Gracefully handle invalid GameSingleton class name in ini file
Remove unused DefaultPreviewPawnClass and ClassName from Engine
#jira UE-30829
Change 2981104 on 2016/05/17 by Mieszko.Zielinski
Made AISenses not send information to listeners that are not registered for given sense #UE4
#jira UE-29939
Change 2981086 on 2016/05/17 by Taizyd.Korambayil
#jira UE-30568 Added a check to make sure index being accessed was valid (BP_DemoRoom)
Change 2980755 on 2016/05/17 by Taizyd.Korambayil
#jira UE-30706 Set material to use Translucent Blend
Change 2980753 on 2016/05/17 by Jon.Nabozny
Initialize FBox used to store result for CalculateQuatACF96Bounds (bump from //UE4/Dev-Framework).
#JIRA UE-30846
Change 2980682 on 2016/05/17 by Taizyd.Korambayil
#jira UE-30570, UE-30575 Corrected Some Spellings
Change 2980559 on 2016/05/17 by Mieszko.Zielinski
Changed UNavigationSystem.AgentToNavDataMap to store weak object pointers rather than raw painters #UE4
This should make it immune to navigation data beging destroyed and not removed from AgentToNavDataMap.
#jira UE-30836
Change 2980504 on 2016/05/17 by Daniel.Wright
Integrate - Movable skylight now matches stationary for subsurface shading models
* Two sided was broken in 4.11, Subsurface had never been handled
#jira UE-30855
Change 2980467 on 2016/05/17 by Jamie.Dale
Added some checks to avoid temporary worlds being added as favorites
#jira UE-30613
Change 2980379 on 2016/05/17 by Jurre.deBaare
Fix for static mesh merging, little too eager with changes.
#jira UE-30808
Change 2980373 on 2016/05/17 by Gareth.Martin
Fixed shader compile errors when applying a speedtree material to a landscape spline
#jira UE-25820
Change 2980318 on 2016/05/17 by Gareth.Martin
Fixed crash when calling EditorApplySpline with a null spline component
Also stopped it doing anything in PIE (it's for blutilities, not runtime)
#jira UE-30830
Change 2980300 on 2016/05/17 by Marc.Audy
Treat Unreachable components the same as BeginDestroyed for endplay/cleanup purposes
#jira UE-30839
Change 2980298 on 2016/05/17 by Gareth.Martin
Fixed crash when loading landscape projects that used tessellation
#jira UE-30742
Change 2980296 on 2016/05/17 by Martin.Wilson
Fix crash accessing sync names from a child anim bp
#jira UE-30811
Change 2980289 on 2016/05/17 by Jurre.deBaare
Fix for regression with merge actor tab
#jira UE-30809
Change 2980272 on 2016/05/17 by Ori.Cohen
Make sure that root components do not get attached to non root components in the same actor. Fixes crash in scene outliner and other weird issues.
#JIRA UE-30876
Change 2980206 on 2016/05/17 by Keith.Judge
Xbox One - Bit the bullet and rewrote the occlusion query buffer handling so that we're not reliant on a finite ring buffer. Instead, each query has a small buffer of its own. removing the dependency of ordering when reading back the results. This should save memory on smaller maps too!
#jira UE-30581
#jira UEPLAT-623
Change 2980094 on 2016/05/17 by Matthew.Griffin
Added OSVR dlls to InstalledEngineFilters.ini so that they are included in Launcher build even though the plugin is disabled by default
#jira UE-30611
Change 2979935 on 2016/05/17 by Aaron.Herzog
#jira UE-30619 updating owen sk mesh with proper morph
Change 2979816 on 2016/05/16 by Chad.Taylor
Fix to address a crash related to multiple player VR Preview
#jira UE-20109
Change 2979744 on 2016/05/16 by Mike.Beach
Disabling Blueprint spawning, InitProperties() optimization until we can figure out why it is not filling out array properties properly.
#jira UE-30745
Change 2979743 on 2016/05/16 by Mike.Beach
Mirroring CL 2977497
Clearing property nodes and cached read-addresses when changing the details view object (so any queued actions will not operate on invalid properties).
#jira UE-26392
Change 2979544 on 2016/05/16 by Daniel.Wright
Fixed crash with RTDF shadows when r.DistanceFieldAO was disabled
#jira UE-26319
Change 2979477 on 2016/05/16 by michael.gay
Remove errant Play Rate track.
#jira UE-30633
Change 2979464 on 2016/05/16 by Mark.Satterthwaite
Duplicate CL #2945444: Cache the Metal fallback depth-stencil surface for the canvas tile rendering so that we only ever keep one spare depth-stencil surface around. This costs us a little more permanent memory but reduces churn.
#jira UE-30849
Change 2979441 on 2016/05/16 by Rolando.Caloca
UE4.12 - vk - Fix quitting taking a long time
#jira UE-28239
Change 2979315 on 2016/05/16 by Michael.Trepka
Rollback //UE4/Release-4.12/Engine/Source/Programs/UnrealBuildTool/System/XcodeProject.cs to revision 1
#jira UE-28016
Change 2979304 on 2016/05/16 by Jamie.Dale
Backing out some changes from CL# 2976673
These caused an issue with Slate hit-testing. The more correct fix here is to make the Slate Windows OS layer treat window positions as relative to the top-left of the window client area, rather than relative to the top-left of the window itself (which includes the OS border). This now matches what other platforms do.
To this end, FWindowsWindow::Initialize, FWindowsWindow::MoveWindowTo, and FWindowsWindow::ReshapeWindow all now consider the given window position to be relative to the window client area, and will consistently adjust it to relative to the window before moving/creating the OS window. This only impacts windows with OS borders (aka, non-fullscreen and non-Slate drawn windows).
#jira UE-30276
#jira UE-30677
#jira UE-30771
Change 2979077 on 2016/05/16 by Maciej.Mroz
#jira UE-28536 Attached Project Crashes on Attempting to Play in Standalone
merged from 2979069
Change 2979052 on 2016/05/16 by Chase.McAllister
#jira UE-30789 Resaving Maps to fix project warning
Change 2978984 on 2016/05/16 by Chase.McAllister
#jira UE-30789 Resaving start video assests that contained empty engine version
Change 2978806 on 2016/05/16 by Mieszko.Zielinski
Fixed EQS tests' scoring equation value getting reset on load #UE4
#jira UE-30470
Change 2978670 on 2016/05/16 by Max.Preussner
Media: Workaround for changing Media asset path can cause crash (UE-22691)
#jira: UE-22691
Change 2978638 on 2016/05/16 by Michael.Gay
Cleanup of old maps in SubwaySequencer project
#jira UE-30633
Change 2978636 on 2016/05/16 by Jamie.Dale
Added guard against a crash navigating through a menu
#jira UE-30698
Change 2978611 on 2016/05/16 by Lee.Clark
PS4 - Fix RenderTargetOutputFormat using the wrong output index for velocity rendering when using r.BasePassOutputsVelocity=True
#jira UE-30133
Change 2978596 on 2016/05/16 by Allan.Bentham
Extend iOS metal Z bias offset to all iOS (metal+gles) depth only shaders.
#jira UE-27530
Change 2978566 on 2016/05/16 by Jamie.Dale
Downgraded some checks to ensures and added more logging
#jira UE-30613
Change 2978399 on 2016/05/16 by Keith.Judge
Xbox One - Fix check() firing when we run out of occlusion buffer space. Also added occlusion query result caching (perf gain!).
#jira UE-30581
Change 2978323 on 2016/05/16 by Jurre.deBaare
Merge actor panel crashes when selecting a mesh component without static mesh
#fix display 'No Static Mesh' when none is available
#jira UE-30809
Change 2978322 on 2016/05/16 by Jurre.deBaare
Issue with merging meshes resulting data saved across different LOD levels
#fix use correct target LOD index for all source LODs
#jira UE-30808
#lockdown Nick.Penwarden
[CL 2999693 by Ben Marsh in Main branch]
2016-06-03 11:49:20 -04:00
FWeakWidgetPath WeakFocusPath = FocusPath ;
FWidgetPath NextFocusPath = WeakFocusPath . ToNextFocusedPath ( NavigationType ) ;
if ( NextFocusPath . Widgets . Num ( ) > 0 )
{
return FReply : : Handled ( ) . SetUserFocus ( NextFocusPath . Widgets . Last ( ) . Widget , EFocusCause : : Navigation ) ;
}
2014-03-14 14:13:41 -04:00
}
}
return FReply : : Unhandled ( ) ;
}
2014-10-30 12:29:36 -04:00
FReply SMultiBoxWidget : : OnFocusReceived ( const FGeometry & MyGeometry , const FFocusEvent & InFocusEvent )
2014-03-14 14:13:41 -04:00
{
2021-08-19 11:33:36 -04:00
// Mouse DOWN on an element in the search result may fires OnFocusReceived if the mouse down event is not handled.
// If the search is cleared, the widget layout changes and this usually prevents the mouse UP to reach the selected
// widget which in turn doesn't trigger the selected item action.
if ( InFocusEvent . GetCause ( ) ! = EFocusCause : : Mouse )
{
ResetSearch ( ) ;
}
2020-08-11 01:36:57 -04:00
2014-10-30 12:29:36 -04:00
if ( InFocusEvent . GetCause ( ) = = EFocusCause : : Navigation )
2014-03-14 14:13:41 -04:00
{
// forward focus to children
2014-10-30 12:29:36 -04:00
return FocusNextWidget ( EUINavigation : : Next ) ;
2014-03-14 14:13:41 -04:00
}
return FReply : : Unhandled ( ) ;
}
2014-10-30 12:29:36 -04:00
FReply SMultiBoxWidget : : OnKeyDown ( const FGeometry & MyGeometry , const FKeyEvent & KeyEvent )
2014-03-14 14:13:41 -04:00
{
2015-08-26 10:33:13 -04:00
SCompoundWidget : : OnKeyDown ( MyGeometry , KeyEvent ) ;
2014-03-14 14:13:41 -04:00
2015-08-26 10:33:13 -04:00
// allow use of up and down keys to transfer focus/hover state
2020-08-11 01:36:57 -04:00
if ( KeyEvent . GetKey ( ) = = EKeys : : Up )
Copying //UE4/Release-Staging-4.12 to //UE4/Main (Source: //UE4/Release-4.12 @ 2992821)
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2992821 on 2016/05/27 by Max.Chen
Subway Sequencer: Add "Assets" and "Character" to the list of additional directories to cook.
#jira UE-31279
#lockdown Cristina.Riveron
Change 2992761 on 2016/05/27 by Max.Chen
Add assets from "Directories to Always Cook".
#jira UE-31279
#lockdown Cristina.Riveron
Change 2992371 on 2016/05/26 by Dmitry.Rekman
Fix GUBP Tools node (UE-31378).
#jira UE-31378
#lockdown Josh.Adams
Change 2992279 on 2016/05/26 by Dmitry.Rekman
One more fix for UAT compilation failure (UE-31312).
- Make EnvVarsToXML target framework v4.5.
#lockdown Josh.Adams
#jira UE-31312
Change 2992060 on 2016/05/26 by Josh.Adams
- Reset PVRTC compression quality to default, so cooks don't take forever for IOS. We shipped with PVRTC Quality 4 for the App Store version. This is set in the Cooker Settings in the Project Settings window.
#lockdown cristina.riveron
#jira UE-31373
Change 2992009 on 2016/05/26 by Dmitry.Rekman
Fix packaging on Linux (UE-31312).
- System.Xml was spelled as System.XML.
#jira UE-31312
#lockdown Josh.Adams
Change 2991784 on 2016/05/26 by Martin.Wilson
Fix for RecalcRequiredBones crashing when there is no lod data
#jira UE-30028
#lockdown cristina.riveron
Change 2991744 on 2016/05/26 by Dmitry.Rekman
Fix Linux code project generation (UE-31322).
- Also fixes UE-31318 (not reopening when creating BP project).
- Apparently, we cannot reset all signals to default, this makes posix_spawn() fail after fork (child exits with 127).
- Added logging of child's return code.
#lockdown Josh.Adams
#jira UE-31322
#jira UE-31318
Change 2991448 on 2016/05/26 by Nick.Darnell
Disabling the logging in the git module that was added from the previous commit.
#jira UE-30781
#lockdown cristina.riveron
Change 2991352 on 2016/05/26 by Max.Chen
Subway Sequencer: Add "Sequencer" to the list of additional directories to cook.
#jira UE-31279
#lockdown Cristina.Riveron
Change 2991121 on 2016/05/26 by Ben.Marsh
Fix ShooterGame warnings on XboxOne.
#lockdown cristina.riveron
Change 2991097 on 2016/05/26 by Nick.Darnell
PR #2386: Git Plugin: fix initialization of a new repository broken by new "migrate" support 4.12 (Contributed by SRombauts)
#jira UE-30781
#lockdown cristina.riveron
Change 2991095 on 2016/05/26 by Dmitry.Rekman
Fix packaging on Linux (UE-31312).
- Excludes UAT modules unsupported on the platform (e.g. TVOS).
#jira UE-31312
#lockdown Josh.Adams
Change 2990806 on 2016/05/25 by Michael.Gay
Last minute adjustments to SubwaySequencer shots.
Fixed Fade track on master and moved Event tracks to shots.
#jira UE-30804
#lockdown Cristina.Riveron
Change 2990739 on 2016/05/25 by Dan.Oconnor
Fix for transaction buffer failing to restore preview widget trees, these are regenerated post undo/redo and should not be tagged as transactional
#jira UE-31155
#lockdown cristina.riveron
Change 2990657 on 2016/05/25 by Dmitry.Rekman
Fix crash in mono when invoked by the engine (UE-31312).
- Reset signal mask on spawning a subprocess. We mask out all signals except explicitly handled, which does not play well with mono.
- See also https://answers.unrealengine.com/questions/420161/mono-process-crash.html
#jira UE-31312
#lockdown Josh.Adams
Change 2990564 on 2016/05/25 by Marc.Audy
Undo 4.12 change to DetachFromParent when AttachTo is called with a null parent.
#jira UE-00000
#lockdown Cristina.Riveron
Change 2990429 on 2016/05/25 by Max.Chen
Movie Capture: Fix initialization order warning. Follow up to CL #2990314
#jira UE-31285
#lockdown Nick.Penwarden
Change 2990338 on 2016/05/25 by Zabir.Hoque
TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque.
#jira UE-28838
#lockdown cristina.riveron
Change 2990314 on 2016/05/25 by Max.Chen
Movie Capture: Flush the viewport when grabbing frames. This fixes more frame accuracy issues.
#jira UE-31285
#lockdown Nick.Penwarden
Change 2990249 on 2016/05/25 by Max.Chen
Sequencer: Fix tick prerequisites getting removed on stop and not re-set on play. This fixes frame accuracies when rendering in a separate process.
#jira UE-31285
#lockdown Nick.Penwarden
Change 2990243 on 2016/05/25 by Lukasz.Furman
Fixed behavior tree observers not being applied correctly
#jira UE-31307
#lockdown Cristina.Riveron
Change 2990206 on 2016/05/25 by Daniel.Lamb
Make sure min number of threads in the large thread pool is at least 2.
#jira UE-31253
#lockdown Cristina.Riveron
Change 2990182 on 2016/05/25 by Max.Chen
Sequencer: Fix null ptr crash on trying to record from current player. This is a regression from the off by one frame fixes.
#jira UE-31304
#lockdown Nick.Penwarden
Change 2990124 on 2016/05/25 by Chris.Bunner
Avoid creating additional inline code fragment casting matching uniform types.
#lockdown cristina.riveron
#jira UE-29089
Change 2989978 on 2016/05/25 by Uriel.Doyon
Merged fix for issue with resolution scale in PostProcessVisualizeComplexity
#jira UE-29473
#lockdown cristina.riveron
Change 2989970 on 2016/05/25 by Taizyd.Korambayil
#lockdown cristina.riveron
#jira UE-31293 Added TestMaps Folder and moved all Non-Relevant Maps into it.
Change 2989911 on 2016/05/25 by Chris.Babcock
Remove warning about Android debugging since CodeWorks for Android Nsight supports VS2015
#jira UE-31292
#ue4
#android
#lockdown cristina.riveron
Change 2989898 on 2016/05/25 by Robert.Manuszewski
Splitting inline shader registration from serialization. Serialization can happen on the async loading thread but registration should only happen on the game thread. Removed a lot of critical section locks.
Reimplementing CL #2952596
#jira UE-29245
#lockdown Nick.Penwarden
Change 2989849 on 2016/05/25 by Max.Preussner
Sequencer: Fixed Crash when playing UMG sequence with audio tracks (UE-31289)
#jira UE-31289
#lockdown nick.penwarden
Change 2989793 on 2016/05/25 by Max.Chen
Sequencer: Change automated capture so it captures in response to a sequence update to fix off by one frames.
#jira UE-30755
#lockdown Nick.Penwarden
Change 2989792 on 2016/05/25 by Max.Chen
Sequencer: Put back setting MaxFPS when forcing fixed frame interval playback to fix motion blur in editor.
#jira UE-30755
#lockdown Nick.Penwarden
Change 2989774 on 2016/05/25 by Mike.Beach
Mirroring CL 2946932
Guarding against invalid EdGraphPins (ones that have been moved to the transient package) when constructing the widget - prevents a crash that we've been unable to repro or determine the cause of (turns it instead into an ensure, so we can collect more contextual information on the issue).
#lockdown cristina.riveron
#jira UE-26998
Change 2989765 on 2016/05/25 by Olaf.Piesche
Moivng CL 2967970 from Dev-Rendering - fix for
#jira UE-27297
#lockdown nick.penwarden
Change 2989481 on 2016/05/25 by Marc.Audy
Properly route AttachToComponent to SetupAttachment if called from the constructor
#jira UE-31055
#lockdown Cristina.Riveron
Change 2989369 on 2016/05/25 by Robert.Manuszewski
Don't create asset import data for archetype TileMap. Propagate component flags to TileMap if the component is an archetype.
#jira UE-31033
#lockdown Nick.Penwarden
Change 2988975 on 2016/05/24 by Max.Preussner
Sequencer: Fixed Cinematic Camera look at tool crashes on auto save (UE-31195)
#jira UE-31195
#lockdown nick.penwarden
Change 2988834 on 2016/05/24 by Max.Chen
Movie Capture: Crash fix - Protect against null encoding filter.
#jira UE-31233
#lockdown Nick.Penwarden
Change 2988764 on 2016/05/24 by Peter.Sauerbrei
fix for exception when deploying to tvOS from PC
#jira UE-30318
#lockdown cristina.riveron
Change 2988540 on 2016/05/24 by Jeff.Campeau
Disable incompatible OpenVR for Windows XP builds.
Gut SteamVR and SteamVRController for Windows XP builds (rely on OpenVR).
#lockdown Nick.Penwarden
#jira UE-30823
Change 2988491 on 2016/05/24 by Zak.Middleton
#ue4 - (4.12) Remove version check from serialization logic that fixes up stale transient properties. They would still loaded for archetypes and we always want to prevent that in the future.
#lockdown cristina.riveron
#jira UE-30625
Change 2988427 on 2016/05/24 by Aaron.McLeran
#jira UE-31028 Stop Quietest Concurrency does not remove the quietest sound
Fix is to not re-add the sound once its stopped due to max concurrency.
#tests ran the QA test map that demonstrated the problem
#lockdown cristina.riveron
Change 2988391 on 2016/05/24 by Taizyd.Korambayil
#lockdown cristina.riveron
#jira UE-30301 Rebuilt Ligthing for all Content Example Maps
Change 2988315 on 2016/05/24 by Allan.Bentham
Re-enabled FLUTBlenderPS on vulkan devices. (it's required for protostar)
#jira UE-31079
Change 2988227 on 2016/05/24 by Frank.Fella
Sequencer - Add support for forcing editor and runtime evaluation to happen on exact fixed frame intervals. Updated the subway sequencer sample to work with these changes.
Change missed in first checkin.
#Jira UE-30755
Change 2988200 on 2016/05/24 by Robert.Manuszewski
Assert if MaxObjectsInEditor or MaxObjectsInGame are too big and collide with EInternalObjectFlags
#jira UE-31218
Change 2988181 on 2016/05/24 by Peter.Sauerbrei
revert out the last fix and add more logging as I can't reproduce this bug
#jira UE-30813
Change 2988140 on 2016/05/24 by Frank.Fella
Sequencer - Add support for forcing editor and runtime evaluation to happen on exact fixed frame intervals. Updated the subway sequencer sample to work with these changes.
#Jira UE-30755
Change 2988081 on 2016/05/24 by Jamie.Dale
Better fix for UE-29651 that will also work with packages saved from a build without an engine version
There was no version bump for the change to FFormatArgumentData, but VER_UE4_K2NODE_VAR_REFERENCEGUIDS was added at almost the same time so testing that should handle the vast majority of packages that we have internally, and will handle all external packages.
#jira UE-29651
Change 2987964 on 2016/05/24 by Lee.Clark
Fix empty ENV path when compiling PS4 targets.
#jira UE-31210
Change 2987721 on 2016/05/23 by Dan.Oconnor
Reworking node validation change done in 2910382 so that nodes that are going to spawn other nodes in the expansion step are still validated.
#jira UE-31099
Change 2987696 on 2016/05/23 by Chris.Babcock
Update AndroidWorks 1R1 to CodeWorks for Android 1R4
#jira UEPLAT-1312
#ue4
#android
Change 2987624 on 2016/05/23 by Jeff.Campeau
Fix a define protection for WinXP stack walking support.
#jira UE-30823
Change 2987607 on 2016/05/23 by Jeff.Campeau
Windows Stack Walk fixed to work with Windows XP.
Use the ASCII calls where needed.
Symbol server is unsupported and is disabled when building for Windows XP.
#jira UE-30823
Change 2987593 on 2016/05/23 by Zak.Middleton
#ue4 - (4.12) Reject old serialized values of UMovementComponent::UpdatedComponent and UpdatedPrimitive that were saved before those were marked transient. Mark UPawnMovementComponent::PawnOwner and UCharacterMovementComponent::CharacterOwner as transient, and similarly reject old saved values.
#jira UE-30625
Change 2987548 on 2016/05/23 by Lukasz.Furman
Moved newly added gameplay debugger's code out of perception component
#jira UE-31090
Change 2987510 on 2016/05/23 by Lukasz.Furman
Restored perception category in old gameplay debugger tool
#jira UE-31090
Change 2987278 on 2016/05/23 by Ben.Marsh
Rocket: Add Mac GenerateProjectFiles.sh script into installed engine distro.
#jira UE-31109
Change 2987156 on 2016/05/23 by Chris.Babcock
Added GoogleVR to InstalledEngineFilters.ini
#jira UE-31186
#ue4
#android
Change 2987129 on 2016/05/23 by Mieszko.Zielinski
Fixed FNavigationFilterArea not zeroing its properties in default constuctor #UE4
#jira UE-31185
Change 2987100 on 2016/05/23 by Peter.Sauerbrei
fix for crash in DeploymentServer when attempting to copy a file with a space in the path or name
#jira UE-30813
Change 2987064 on 2016/05/23 by Dmitry.Rekman
PR #2164: [Linux] Fix clang '&&' within '||' error (Contributed by slonopotamus)
#jira UE-28537
Change 2987002 on 2016/05/23 by Aaron.McLeran
#jira UE-31036 Sound volume does not change when moving past the Non Focus Azimuth range if set to greater than 90 degrees
Fix was to remove the clamp on the dot-product
#tests ran test map with focus factors greater than 90 degrees
Change 2986880 on 2016/05/23 by Mark.Satterthwaite
Fix UE-31124 due to bad array iteration logic - amazing that this hadn't been seen earlier.
#jira UE-31124
Change 2986873 on 2016/05/23 by Lina.Halper
#fix issue with morphtarget importings for LODs
- this was caused by option not being set correctly
#jira: UE-30955
#code review: Alexis.Matte
Change 2986804 on 2016/05/23 by Taizyd.Korambayil
#jira UE-31132 Added Missing Function to Blueprint.
Change 2986801 on 2016/05/23 by Jamie.Dale
SSearchBox will now only delay text changes while it has focus
A text changed event when it doesn't have focus is usually triggered by code (rather than the user typing), so we need to process it immediately to avoid other operational ordering issues.
#jira UE-31101
Change 2986793 on 2016/05/23 by Martin.Wilson
Fix for morph curves not getting applied to meshes in cooked builds (smart names were not being corrected). (brought from dev-rendering 2983747)
#Jira UE-31166
Change 2986772 on 2016/05/23 by Benn.Gallagher
Fixed montage single node instances with negative rate scales only repeating the final section when looping
#jira UE-31164
Change 2986766 on 2016/05/23 by Martin.Wilson
Fix for preview not updating when tranform curve flags are changed.
#Jira UE-31119
Change 2986569 on 2016/05/23 by Robert.Manuszewski
Making hang detection disabled bu default and an opt-in for games.
#jira UE-31151
Change 2986564 on 2016/05/23 by Martin.Wilson
Fix for being able to set montages on an anim track segment.
#jira UE-31039
Change 2986205 on 2016/05/21 by Zabir.Hoque
Add new instrumentation to bucketize why we are seeing device lost so often.
#jira UE-20434
Change 2986071 on 2016/05/20 by Dan.Oconnor
Fix for TRASHCLASS sneaking into property list when recompiling a blueprint that has a dependency that is dirty and requires bytecode recompilation of its dependencies. Make sure that the dirty blueprint itself is part of the bytecode recompilation process and make sure that blueprints compiled in this way are compiled after their parent classes
#jira UE-30411
Change 2986068 on 2016/05/20 by Dan.Oconnor
Fix for blueprint change/compile delegates leaking
#jira UE-31118
Change 2986044 on 2016/05/20 by Zabir.Hoque
Make OpenGL VB allocation support alignment (16 by default). Future work should expose this up through the RHI layers.
#CodeReview: Olaf.Piesche, Simon.Tovey
#jira UE-29231
Change 2985934 on 2016/05/20 by Mark.Satterthwaite
Further changes to ensure that UE-30710 really is fixed while also not live-leaking memory in MetalRHI.
#jira UE-30710
Change 2985852 on 2016/05/20 by Max.Chen
Subway Sequencer: Remove level sequence editor from plugin list since it's on by default.
#jira UE-31106
Change 2985821 on 2016/05/20 by Phillip.Kavan
[UE-22874] Fix UObject duplication to preserve default subobjects created by the native class ctor when the root object is duplicated.
change summary:
- added FObjectDuplicationHelperMethods::GatherDefaultSubobjectsForDuplication()
- modified StaticDuplicateObjectEx() to map default subobjects created in the duplicated root object's ctor before entering the serialization pass. this preserves those instances instead of causing StaticConstructObject to destroy/recreate them during serialization as part of the UObject reference duplication logic.
#jira UE-22874
Change 2985750 on 2016/05/20 by Michael.Gay
Default Game map set to SubwaySequencer_P
#jira UE-31108
Change 2985660 on 2016/05/20 by Michael.Gay
Removing unused track animation
#jira UE-30804
Change 2985349 on 2016/05/20 by Dan.Oconnor
Fix for crash that occurs when repeatedly pasting and undoing an object with subobjects. We were not clearing the internal flags when recycling an object
#jira UE-30954
Change 2985346 on 2016/05/20 by Leslie.Nivison
Updating 4.12 credit
#jira UEPROD-820
Change 2985297 on 2016/05/20 by Jamie.Dale
Fixed VS version detection
It was checking the file version (which is 12), rather than the VS version (which is 12 for 2013, and 14 for 2015).
#jira UE-30977
Change 2985233 on 2016/05/20 by Gareth.Martin
Fixed crash when building lighting when using "Use Landscape Lightmap" on landscape grass
#jira UE-30975
Change 2985184 on 2016/05/20 by Chris.Babcock
Move audio warning to show proper error result code
#jira UE-31085
#ue4
#android
Change 2985183 on 2016/05/20 by Chad.Taylor
GoogleVR disabled by default
#jira UE-30921
Change 2985145 on 2016/05/20 by Jack.Porter
Fix for precision issue causing blocky landscape LOD on iPad Pro and several other iOS devices
#jira UE-24792
Change 2985124 on 2016/05/20 by Alex.Delesky
#jira UE-29794
If the editor cannot find the SSL DLLs when enabling the Perforce source control plugin, it will now display a warning in the Source Control log instead of crashing.
Change 2985066 on 2016/05/20 by Lee.Clark
Fix r.SelectiveBasePassOutputs so that it defaults to off
#jira UE-30133
Change 2985063 on 2016/05/20 by Allan.Bentham
Fix for modulated shadow precision issues on low end android hardware.
#jira UE-29083
Change 2985061 on 2016/05/20 by Max.Chen
Viewport: Fix crash when the viewport widget is null.
#jira UE-31050
Change 2985059 on 2016/05/20 by Rolando.Caloca
UE4.12 - Workaround for crash trying to track down other crash
#jira UE-30875
Change 2984876 on 2016/05/20 by Richard.TalbotWatkin
Made SceneOutliner visibility code safer, to avoid a potential crash.
#jira UE-30831 - [CrashReport] UE4Editor_SceneOutliner!SceneOutliner::FGetVisibilityVisitor::RecurseChildren() [sceneoutlinergutter.cpp:24]
Change 2984873 on 2016/05/20 by Richard.TalbotWatkin
Clipped selection box bounds in Matinee viewport to prevent crash when reading outside of the viewport area.
#jira UE-30968 - Ctrl+Alt selection drag inside to outside of Matinee window will crash the editor
Change 2984844 on 2016/05/20 by Matthew.Griffin
Fixing compile error in mono games
Change 2984825 on 2016/05/20 by Robert.Manuszewski
When the application crashes becaused the GPU driver was disabled, make sure the CrashReporterClient window gets the updated screen metrics after the driver is restored.
#jira UE-30556
Change 2984693 on 2016/05/20 by Phillip.Kavan
[UE-30495] Fix BP editor crash on component rename following undo of component add action.
change summary:
- modified USimpleConstructionScript::CreateNode() to create the initial component template object in the transient package, so that subsequent undo actions restore to that state rather than to a valid BPGC-owned state.
- modified StaticConstructObject_Internal() to restore the inclusion of RF_ArchetypeObject-flagged objects in the logic that sets new objects to 'PendingKill' state before recording them into the transaction buffer. this ensures that they can be GC'd when construction is undone in the editor. Tested against sample/repro steps in UE-21240 to ensure that it no longer crashes even with the original change from CL# 2832225 reverted (that fix has since been superceded).
#jira UE-30495
Change 2984684 on 2016/05/20 by Phillip.Kavan
[UE-30852] Fix BPGC custom property list delta generation & post-construct initialization/serialization to properly handle array values that differ from default in length but not inner element values.
change summary:
- modified UBlueprintGeneratedClass::BuildCustomPropertyListForPostConstruction()/BuildCustomArrayPropertyListForPostConstruction() to return a boolean value indicating whether or not a delta value was detected.
- modified UBlueprintGeneratedClass::BuildCustomArrayPropertyListForPostConstruction() and FBlueprintEditorUtils::BuildComponentInstancingData() to ensure that array properties are emitted to delta property lists if the size differs from default, even if none of the elements actually differ from the default value
- removed the ensure() for the array property case in FObjectInitializer::InitPropertiesFromCustomList(), as it is now a valid case to encounter an array property delta value without any actual delta element value overrides following it in the custom property stream
- restored the bCanUsePostConstructLink optimization for non-native class types in FObjectInitializer::InitProperties()
- modified UArrayProperty::SerializeItem() for the ArUseCustomPropertyList case to not empty the array when a resize is needed on load (read) - this fixes an edge case in the cooked BP component data stream when array size differed from default but only one or more of the inner values actually differed, in which case all the array slots were being reset (constructed/zeroed) but only the overridden value was being serialized (loaded) from the template data stream
#jira UE-30852
Change 2984651 on 2016/05/19 by Zabir.Hoque
Forcing GoogleVR plugin to disabled by default since its causing even non HDM machines to render split foveated viewports.
#CodeReview: Chad.Taylor, Nick.Whiting
#jira UE-30921
Change 2984636 on 2016/05/19 by Zabir.Hoque
Explicitly store the cubemap resolution in encoded reflection data.
#CodeReview Daniel.Wright, Marcus.Wassmer
#jira UE-30341
Change 2984454 on 2016/05/19 by Rolando.Caloca
UE4.12 - Fix for vulkan failing to load shader
Integration mirroring changelist 2984432
#jira UE-28140
Change 2984452 on 2016/05/19 by Marcus.Wassmer
#jira UE-31054
Remove autocompletion for ToggleRHIThread and ShowMaterialDrawEvents as they no longer do anything
Change 2984415 on 2016/05/19 by Dan.Oconnor
Fix for crash when we fail to spawn the preview actor because the desired class is deprecated
#jira UE-31027
Change 2984376 on 2016/05/19 by Dan.Oconnor
Fix for regression in GetClassDefaults - we were not handling the 'None' case
#jira UE-31034
Change 2984316 on 2016/05/19 by Aaron.McLeran
#jira UE-31049 Updating the Oculus Audio SDK to vs 1.02
#tests Ran updated SDK in several test maps, confirmed HRTF spatialization is working.
Change 2984315 on 2016/05/19 by Lina.Halper
Fix issue with importing morphtarget LOD when it's missing between
#jira: UE-30949
Change 2984237 on 2016/05/19 by Dan.Oconnor
Fix for ensure/possible stale memory access in UpdateOverlaps
#jira UE-30919
Change 2984170 on 2016/05/19 by Max.Chen
Movie Capture: Another pass at texture streaming fix for movie capture.
#jira UE-30986
Change 2984134 on 2016/05/19 by Chad.Taylor
Mac compiler warning fix
#jira UE-30921
Change 2983903 on 2016/05/19 by Taizyd.Korambayil
#jira UE-30562 Replaced cube With BSP for Floor
Change 2983840 on 2016/05/19 by Taizyd.Korambayil
#jira UE-30979 Fixed Typo in one of the Stands
Change 2983662 on 2016/05/19 by Ben.Marsh
GitHub: Add an exception to allow GoogleVR files to be mirrored to GitHub
Change 2983653 on 2016/05/19 by Chris.Bunner
Modifed previous change to fixup incorrect ensures.
#jira UE-30877
Change 2983599 on 2016/05/19 by Chris.Bunner
Added ensure and null ptr check to canvas flush.
#jira UE-30877
Change 2983596 on 2016/05/19 by Chad.Taylor
FluffyBunny
#jira UE-30921
Change 2983534 on 2016/05/19 by Brian.Karis
4.12 fix per pixel translucency
#jira UE-30902
Change 2983530 on 2016/05/19 by Chris.Babcock
Broadcast EMediaEvent::MediaOpened when media opened successfully
#jira UE-31006
#ue4
#android
Change 2983427 on 2016/05/19 by Richard.TalbotWatkin
Conflated "Import" and "Import Scene" in the File menu; the new action is called "Import Into Level". Limited the allowed file types to .t3d and .fbx.
#jira UE-30891 - CRASH: Editor crashes when Importing Actors via File > Import
Change 2983386 on 2016/05/19 by Michael.Gay
minor last tweaks
#jira UE-30804
Change 2983280 on 2016/05/19 by Gil.Gribb
UE4 - Fixed crash in FHierarchicalStaticMeshSceneProxy related to reflection captures and foliage.
#jira UE-30837
Change 2983079 on 2016/05/18 by Max.Chen
Movie Capture: Fix so that texture streaming option for movie capture is set when capturing in editor.
#jira UE-30986
Change 2983078 on 2016/05/18 by Dmitriy.Dyomin
Added more logging to track UE-30878
#jira UE-30878
Change 2983067 on 2016/05/18 by Dmitriy.Dyomin
Fixed: Mobile HDR Path doesn't work on GearVR
#jira UE-11846
Change 2983049 on 2016/05/18 by Max.Chen
Movie Capture: Fix crash on movie rendering when in HDR mode.
#jira UE-30978
Change 2982825 on 2016/05/18 by Mark.Satterthwaite
Correctly wait for the dispatch semaphore when clearing the Metal resource free lists.
#jira UE-30710
Change 2982697 on 2016/05/18 by Marc.Audy
Fix Orion DataProvider use of AddReferencedObjects in light of CL# 2982607
#jira UE-00000
Change 2982546 on 2016/05/18 by Taizyd.Korambayil
#jira UE-30862 resaved A bunc hof assets to Fix to attempt to fix Build Warnings
Change 2982533 on 2016/05/18 by Daniel.Lamb
When you package if you haven't saved the changes will not be reflected in the game.
#jira UE-30904
Change 2982415 on 2016/05/18 by Marc.Audy
Bring forgotten 4.11 CL# 2928377 to 4.12
Ensure that the compiler will throw an error when passing a non-UObject* TArray to AddReferencedObjects
#jira UE-28933
Change 2982358 on 2016/05/18 by Taizyd.Korambayil
#jira UE-30546 Updated TP_VehicleAdvPawn Chase Camera Location
Change 2982280 on 2016/05/18 by Martin.Mittring
UE-26409 Crash when Light Propagation Volume Plugin is disabled on a Project
#jira:UE-26409
Change 2982229 on 2016/05/18 by Max.Chen
Sequencer: Add tick prerequisites so that the level sequence actor ticks before all of the actors that it controls. This fixes some inconsistencies in the movie rendered frames not matching what's in editor.
#jira UE-30755
Change 2982080 on 2016/05/18 by Max.Chen
Sequence Recorder: Fix crash when component class to record is null.
#jira UE-30944
Change 2982041 on 2016/05/18 by Marcus.Wassmer
Protect against crashes reading from a null texture.
#jira UE-30834
Change 2981915 on 2016/05/18 by Allan.Bentham
Do not mosaic encode for modulate blend operations.
Fixes dark 'halos' around mod shadows.
#jira UE-29083
Change 2981911 on 2016/05/18 by michael.gay
Set framing in sequencer, set start to 200
#jira UE-30633
Change 2981904 on 2016/05/18 by Chase.McAllister
#jira UE-30943 Removing unused asset to fix DDC compiling bug
Change 2981894 on 2016/05/18 by Michael.Gay
removed old cameras, changed start frame to remove black at head of sequence
#jira UE-30633
Change 2981827 on 2016/05/18 by Gareth.Martin
Fixed crash when entering landscape mode while a landscape is selected while simulating
- Landscape infos no longer get created for PIE/Simulate landscapes (they were empty anyway)
#jira UE-30917
Change 2981725 on 2016/05/18 by Keith.Judge
Xbox One - Fix issues with DFAO/DF Shadowing. Problems were in RHIUpdateTexture3D(). Needed to ensure temp texture had the correct bind flags, etc, and also use the graphics context rather than the DMA context to do the copying, as for some reason the DMA engine corrupts some pixels of the distance field atlas texture.
#jira UE-27591
Change 2981466 on 2016/05/17 by Max.Chen
Merge from Chris Bunner from Dev-SequencerGDC - Frame state fixes when Sequencer is paused; No velocity in AA, Clamp motion blur scale, Clamp to scatter blur method.
#jira UE-30576
Change 2981403 on 2016/05/17 by Dan.Oconnor
Fix for overzealous filtering of classes with Within markup
#jira UE-29878
Change 2981342 on 2016/05/17 by Dan.Oconnor
Removing overzealous check. In Dev-BP this has already been downgraded to an ensure, but no reason to ensure now that we understand why it happens.
#jira UE-30792
Change 2981318 on 2016/05/17 by Max.Preussner
Sequencer: Fixed crash when scrubbing attached audio tracks; reduced nesting (UE-30923)
#jira: UE-30923
Change 2981221 on 2016/05/17 by Dan.Oconnor
Preventing spawning components with 'Within' markup specified, it is unsupported by the SCSEditor and Core UObject logic at this time. Likely logic is CoreUObject needs to avoid type checking for RF_ArchetypeObject instances and the SCSEditor needs to be more consistent about using that flag on its template objects
#jira UE-29878
Change 2981169 on 2016/05/17 by Marc.Audy
Gracefully handle invalid GameSingleton class name in ini file
Remove unused DefaultPreviewPawnClass and ClassName from Engine
#jira UE-30829
Change 2981104 on 2016/05/17 by Mieszko.Zielinski
Made AISenses not send information to listeners that are not registered for given sense #UE4
#jira UE-29939
Change 2981086 on 2016/05/17 by Taizyd.Korambayil
#jira UE-30568 Added a check to make sure index being accessed was valid (BP_DemoRoom)
Change 2980755 on 2016/05/17 by Taizyd.Korambayil
#jira UE-30706 Set material to use Translucent Blend
Change 2980753 on 2016/05/17 by Jon.Nabozny
Initialize FBox used to store result for CalculateQuatACF96Bounds (bump from //UE4/Dev-Framework).
#JIRA UE-30846
Change 2980682 on 2016/05/17 by Taizyd.Korambayil
#jira UE-30570, UE-30575 Corrected Some Spellings
Change 2980559 on 2016/05/17 by Mieszko.Zielinski
Changed UNavigationSystem.AgentToNavDataMap to store weak object pointers rather than raw painters #UE4
This should make it immune to navigation data beging destroyed and not removed from AgentToNavDataMap.
#jira UE-30836
Change 2980504 on 2016/05/17 by Daniel.Wright
Integrate - Movable skylight now matches stationary for subsurface shading models
* Two sided was broken in 4.11, Subsurface had never been handled
#jira UE-30855
Change 2980467 on 2016/05/17 by Jamie.Dale
Added some checks to avoid temporary worlds being added as favorites
#jira UE-30613
Change 2980379 on 2016/05/17 by Jurre.deBaare
Fix for static mesh merging, little too eager with changes.
#jira UE-30808
Change 2980373 on 2016/05/17 by Gareth.Martin
Fixed shader compile errors when applying a speedtree material to a landscape spline
#jira UE-25820
Change 2980318 on 2016/05/17 by Gareth.Martin
Fixed crash when calling EditorApplySpline with a null spline component
Also stopped it doing anything in PIE (it's for blutilities, not runtime)
#jira UE-30830
Change 2980300 on 2016/05/17 by Marc.Audy
Treat Unreachable components the same as BeginDestroyed for endplay/cleanup purposes
#jira UE-30839
Change 2980298 on 2016/05/17 by Gareth.Martin
Fixed crash when loading landscape projects that used tessellation
#jira UE-30742
Change 2980296 on 2016/05/17 by Martin.Wilson
Fix crash accessing sync names from a child anim bp
#jira UE-30811
Change 2980289 on 2016/05/17 by Jurre.deBaare
Fix for regression with merge actor tab
#jira UE-30809
Change 2980272 on 2016/05/17 by Ori.Cohen
Make sure that root components do not get attached to non root components in the same actor. Fixes crash in scene outliner and other weird issues.
#JIRA UE-30876
Change 2980206 on 2016/05/17 by Keith.Judge
Xbox One - Bit the bullet and rewrote the occlusion query buffer handling so that we're not reliant on a finite ring buffer. Instead, each query has a small buffer of its own. removing the dependency of ordering when reading back the results. This should save memory on smaller maps too!
#jira UE-30581
#jira UEPLAT-623
Change 2980094 on 2016/05/17 by Matthew.Griffin
Added OSVR dlls to InstalledEngineFilters.ini so that they are included in Launcher build even though the plugin is disabled by default
#jira UE-30611
Change 2979935 on 2016/05/17 by Aaron.Herzog
#jira UE-30619 updating owen sk mesh with proper morph
Change 2979816 on 2016/05/16 by Chad.Taylor
Fix to address a crash related to multiple player VR Preview
#jira UE-20109
Change 2979744 on 2016/05/16 by Mike.Beach
Disabling Blueprint spawning, InitProperties() optimization until we can figure out why it is not filling out array properties properly.
#jira UE-30745
Change 2979743 on 2016/05/16 by Mike.Beach
Mirroring CL 2977497
Clearing property nodes and cached read-addresses when changing the details view object (so any queued actions will not operate on invalid properties).
#jira UE-26392
Change 2979544 on 2016/05/16 by Daniel.Wright
Fixed crash with RTDF shadows when r.DistanceFieldAO was disabled
#jira UE-26319
Change 2979477 on 2016/05/16 by michael.gay
Remove errant Play Rate track.
#jira UE-30633
Change 2979464 on 2016/05/16 by Mark.Satterthwaite
Duplicate CL #2945444: Cache the Metal fallback depth-stencil surface for the canvas tile rendering so that we only ever keep one spare depth-stencil surface around. This costs us a little more permanent memory but reduces churn.
#jira UE-30849
Change 2979441 on 2016/05/16 by Rolando.Caloca
UE4.12 - vk - Fix quitting taking a long time
#jira UE-28239
Change 2979315 on 2016/05/16 by Michael.Trepka
Rollback //UE4/Release-4.12/Engine/Source/Programs/UnrealBuildTool/System/XcodeProject.cs to revision 1
#jira UE-28016
Change 2979304 on 2016/05/16 by Jamie.Dale
Backing out some changes from CL# 2976673
These caused an issue with Slate hit-testing. The more correct fix here is to make the Slate Windows OS layer treat window positions as relative to the top-left of the window client area, rather than relative to the top-left of the window itself (which includes the OS border). This now matches what other platforms do.
To this end, FWindowsWindow::Initialize, FWindowsWindow::MoveWindowTo, and FWindowsWindow::ReshapeWindow all now consider the given window position to be relative to the window client area, and will consistently adjust it to relative to the window before moving/creating the OS window. This only impacts windows with OS borders (aka, non-fullscreen and non-Slate drawn windows).
#jira UE-30276
#jira UE-30677
#jira UE-30771
Change 2979077 on 2016/05/16 by Maciej.Mroz
#jira UE-28536 Attached Project Crashes on Attempting to Play in Standalone
merged from 2979069
Change 2979052 on 2016/05/16 by Chase.McAllister
#jira UE-30789 Resaving Maps to fix project warning
Change 2978984 on 2016/05/16 by Chase.McAllister
#jira UE-30789 Resaving start video assests that contained empty engine version
Change 2978806 on 2016/05/16 by Mieszko.Zielinski
Fixed EQS tests' scoring equation value getting reset on load #UE4
#jira UE-30470
Change 2978670 on 2016/05/16 by Max.Preussner
Media: Workaround for changing Media asset path can cause crash (UE-22691)
#jira: UE-22691
Change 2978638 on 2016/05/16 by Michael.Gay
Cleanup of old maps in SubwaySequencer project
#jira UE-30633
Change 2978636 on 2016/05/16 by Jamie.Dale
Added guard against a crash navigating through a menu
#jira UE-30698
Change 2978611 on 2016/05/16 by Lee.Clark
PS4 - Fix RenderTargetOutputFormat using the wrong output index for velocity rendering when using r.BasePassOutputsVelocity=True
#jira UE-30133
Change 2978596 on 2016/05/16 by Allan.Bentham
Extend iOS metal Z bias offset to all iOS (metal+gles) depth only shaders.
#jira UE-27530
Change 2978566 on 2016/05/16 by Jamie.Dale
Downgraded some checks to ensures and added more logging
#jira UE-30613
Change 2978399 on 2016/05/16 by Keith.Judge
Xbox One - Fix check() firing when we run out of occlusion buffer space. Also added occlusion query result caching (perf gain!).
#jira UE-30581
Change 2978323 on 2016/05/16 by Jurre.deBaare
Merge actor panel crashes when selecting a mesh component without static mesh
#fix display 'No Static Mesh' when none is available
#jira UE-30809
Change 2978322 on 2016/05/16 by Jurre.deBaare
Issue with merging meshes resulting data saved across different LOD levels
#fix use correct target LOD index for all source LODs
#jira UE-30808
#lockdown Nick.Penwarden
[CL 2999693 by Ben Marsh in Main branch]
2016-06-03 11:49:20 -04:00
{
return FocusNextWidget ( EUINavigation : : Previous ) ;
}
else if ( KeyEvent . GetKey ( ) = = EKeys : : Down )
2015-08-26 10:33:13 -04:00
{
return FocusNextWidget ( EUINavigation : : Next ) ;
2014-03-14 14:13:41 -04:00
}
return FReply : : Unhandled ( ) ;
}
2015-07-02 10:25:42 -04:00
2020-08-11 01:36:57 -04:00
FReply SMultiBoxWidget : : OnKeyChar ( const FGeometry & MyGeometry , const FCharacterEvent & InCharacterEvent )
2015-08-26 10:33:13 -04:00
{
FReply Reply = FReply : : Unhandled ( ) ;
2020-08-11 01:36:57 -04:00
if ( bSearchable & & SearchText . IsEmpty ( ) )
2015-08-28 16:20:02 -04:00
{
// Check for special characters
const TCHAR Character = InCharacterEvent . GetCharacter ( ) ;
2020-08-11 01:36:57 -04:00
BeginSearch ( Character ) ;
2015-08-28 16:20:02 -04:00
Reply = FReply : : Handled ( ) ;
}
2015-08-26 10:33:13 -04:00
return Reply ;
}
2020-08-11 01:36:57 -04:00
void SMultiBoxWidget : : BeginSearch ( const TCHAR InChar )
2015-08-26 10:33:13 -04:00
{
// Certain characters are not allowed
bool bIsCharAllowed = true ;
{
2020-08-11 01:36:57 -04:00
if ( InChar < = 0x1F )
2015-08-26 10:33:13 -04:00
{
bIsCharAllowed = false ;
}
}
2020-08-11 01:36:57 -04:00
if ( bIsCharAllowed )
2015-08-26 10:33:13 -04:00
{
2020-08-11 01:36:57 -04:00
FString NewSearchText ;
NewSearchText + = InChar ;
if ( SearchTextWidget . IsValid ( ) & & SearchBlockWidget . IsValid ( ) )
{
// Make the search box visible and focused
SearchBlockWidget - > SetVisibility ( EVisibility : : Visible ) ;
FSlateApplication : : Get ( ) . SetUserFocus ( 0 , SearchTextWidget ) ;
SearchTextWidget - > SetText ( FText : : FromString ( NewSearchText ) ) ;
}
2015-08-26 10:33:13 -04:00
}
}
void SMultiBoxWidget : : ResetSearch ( )
{
2020-08-11 01:36:57 -04:00
// Empty search text
if ( SearchTextWidget . IsValid ( ) )
2015-08-26 10:33:13 -04:00
{
2020-08-11 01:36:57 -04:00
SearchTextWidget - > SetText ( FText : : GetEmpty ( ) ) ;
2015-08-26 10:33:13 -04:00
}
}
2021-11-07 23:43:01 -05:00
void SMultiBoxWidget : : FlattenSubMenusRecursive ( uint32 MaxRecursionLevels )
{
// Only flatten once (should happen the first time menu search is invoked).
// If we reached MaxRecursionLevels of 0, then don't continue flattening sub-menus to prevent infinite recursion.
if ( bDidFlattenSearchableBlocks | | ! GetSearchable ( ) | | MaxRecursionLevels = = 0 )
{
return ;
}
bDidFlattenSearchableBlocks = true ;
// Do a first pass and find/process all blocks that are submenus. This pass ends up being recursive.
for ( auto It = MultiBoxWidgets . CreateConstIterator ( ) ; It ; + + It )
{
const TSharedPtr < SWidget > & BlockWidget = It . Key ( ) ;
const TArray < FText > SearchableTextHierarchy = It . Value ( ) ;
// Skip non-submenu blocks
if ( BlockWidget - > GetTypeAsString ( ) ! = TEXT ( " SMenuEntryBlock " ) )
{
continue ;
}
// If the block widget being added displays a searchable text.
const FText & ThisBlockDisplayText = UE : : MultiBoxUtils : : GetBlockWidgetDisplayText ( SearchableTextHierarchy ) ;
if ( ! ThisBlockDisplayText . IsEmpty ( ) )
{
// If the underlying block is searchable and the search is allowed to walk down sub-menus recursively.
TSharedPtr < SMenuEntryBlock > MenuEntryBlockWidget = StaticCastSharedPtr < SMenuEntryBlock > ( BlockWidget ) ;
TSharedPtr < const FMultiBlock > Block = MenuEntryBlockWidget - > GetBlock ( ) ;
if ( ! Block - > GetSearchable ( ) | | Block - > GetType ( ) ! = EMultiBlockType : : MenuEntry | | ! static_cast < const FMenuEntryBlock & > ( * Block . Get ( ) ) . IsSubMenu ( ) | | ! static_cast < const FMenuEntryBlock & > ( * Block . Get ( ) ) . IsRecursivelySearchable ( ) )
{
continue ;
}
// Expand the block widget into its sub-menu (as if the user clicked on the block widget to expand it).
TSharedRef < SWidget > SubMenuWidget = StaticCastSharedPtr < SMenuEntryBlock > ( BlockWidget ) - > MakeNewMenuWidget ( ) ;
// If the sub-menu widget is a multibox widget.
if ( SubMenuWidget - > GetTypeAsString ( ) = = TEXT ( " SMultiBoxWidget " ) )
{
// Scan this expanded menu widgets.
TSharedRef < SMultiBoxWidget > SubMenuMultiboxWidget = StaticCastSharedRef < SMultiBoxWidget > ( SubMenuWidget ) ;
// Force all the sub-menus contained, in turn, by this submenu to be flattened so that we can flatten them into our searchable hierarchy.
// Each time we recurse, we should decrease MaxRecursionLevels to prevent infinite recursion (e.g., in dynamic sub-menus which could go on forever).
SubMenuMultiboxWidget - > FlattenSubMenusRecursive ( MaxRecursionLevels - 1 ) ;
for ( const TPair < TSharedPtr < SWidget > , TArray < FText > > & Pair : SubMenuMultiboxWidget - > MultiBoxWidgets )
{
const TSharedPtr < SWidget > & ChildBlockWidget = Pair . Key ; // The widget.
const TArray < FText > & ChildBlockSearchTextHierarchy = Pair . Value ; // The text displayed by the widget to the user along with all ancestor menus. Ex. "["Shapes", "Cube"]
const FText & ChildBlockDisplayText = UE : : MultiBoxUtils : : GetBlockWidgetDisplayText ( ChildBlockSearchTextHierarchy ) ; // The text displayed by the widget to the user. Ex "Cube"
// Skip if the widget has no searcheable text or if this is the 'search' text entry widget.
if ( ChildBlockDisplayText . IsEmpty ( ) | | ChildBlockWidget = = SubMenuMultiboxWidget - > GetSearchTextWidget ( ) )
{
continue ; // Skip over, not searchable.
}
TSharedPtr < const FMultiBlock > ChildBlock = StaticCastSharedPtr < SMultiBlockBaseWidget > ( ChildBlockWidget ) - > GetBlock ( ) ;
if ( ChildBlock - > GetSearchable ( ) )
{
// The algorithm to flatten the structure is recursive. It walks down to create/expand the tree and then walk up to collect and flatten the children blocks that have a displayable text.
// For example if the blocks were organized as below, A would create B, which would create C1 and C2, then B would collect and merge it children C1 and C2 as B/C1 and B/C2, then A would
// collect its children B, B/C1, B/C2 as A/B, A/B/C1 and A/B/C2.
// A
// |- B
// |- C1
// |- C2
TSharedPtr < FFlattenSearchableBlockInfo > FlattenSearchableBlockInfo = MakeShared < FFlattenSearchableBlockInfo > ( ) ;
FlattenSearchableBlockInfo - > SearchableTextHierarchyComponents . Add ( ThisBlockDisplayText ) ; // If the multibox was adding the block displayed as "A" in the example, this would be "A".
FlattenSearchableBlockInfo - > SearchableTextHierarchyComponents . Append ( ChildBlockSearchTextHierarchy ) ; // If the multibox was adding the block displayed as "A" and visiting the child ["B", "C1"], that would generate ["A", "B", "C1"] path.
// The widget corresponding to this flatten block is not added to this multibox yet, preserve the hierarchy information to update the widget searchable hierarchy once the block is added and the widget created.
FlattenSearchableBlocks . Emplace ( ChildBlock , MoveTemp ( FlattenSearchableBlockInfo ) ) ;
}
}
}
}
}
// The first loop above added the multibox blocks and discovered/collected all sub-menus blocks. This second loops adds all sub-menu blocks discovered in the first pass.
for ( const TPair < TSharedPtr < const FMultiBlock > , TSharedPtr < FFlattenSearchableBlockInfo > > & Pair : FlattenSearchableBlocks )
{
// Do not add a block if it is being dragged
if ( ! IsBlockBeingDragged ( Pair . Key ) )
{
TSharedPtr < const FToolBarComboButtonBlock > OptionsBlock ;
AddBlockWidget ( * Pair . Key , MainHorizontalBox , MainVerticalBox , EMultiBlockLocation : : None , /*bSectionContainsIcons*/ false , OptionsBlock ) ;
}
}
}
2015-08-26 10:33:13 -04:00
void SMultiBoxWidget : : FilterMultiBoxEntries ( )
{
2021-08-19 11:33:36 -04:00
VisibleFlattenHierarchyTips . Empty ( ) ;
2020-08-11 01:36:57 -04:00
if ( SearchText . IsEmpty ( ) )
{
for ( auto It = MultiBoxWidgets . CreateConstIterator ( ) ; It ; + + It )
{
It . Key ( ) - > SetVisibility ( EVisibility : : Visible ) ;
}
if ( SearchBlockWidget . IsValid ( ) )
{
SearchBlockWidget - > SetVisibility ( EVisibility : : Collapsed ) ;
}
2021-08-19 11:33:36 -04:00
// Hide the sub-menus widgets that were made visible by searching this multi-box hierarchy.
for ( TPair < TSharedPtr < const FMultiBlock > , TSharedPtr < FFlattenSearchableBlockInfo > > & Pair : FlattenSearchableBlocks )
{
Pair . Value - > Widget - > SetVisibility ( EVisibility : : Collapsed ) ;
Pair . Value - > HierarchyTipVisibility = EVisibility : : Collapsed ;
}
2020-08-11 01:36:57 -04:00
// Return focus to parent widget
FSlateApplication : : Get ( ) . SetUserFocus ( 0 , SharedThis ( this ) ) ;
return ;
}
2021-11-07 23:43:01 -05:00
// Index 5 levels of nested sub-menus (this doesn't do anything if we already flattened)
FlattenSubMenusRecursive ( /*MaxRecursionLevels*/ 5 ) ;
2020-08-11 01:36:57 -04:00
for ( auto It = MultiBoxWidgets . CreateConstIterator ( ) ; It ; + + It )
2015-08-26 10:33:13 -04:00
{
2021-08-19 11:33:36 -04:00
FText DisplayText = UE : : MultiBoxUtils : : GetBlockWidgetDisplayText ( It . Value ( ) ) ;
const TSharedPtr < SWidget > & Widget = It . Key ( ) ;
// Non-labeled elements should not be visible when searching
if ( DisplayText . IsEmpty ( ) )
2015-08-26 10:33:13 -04:00
{
2021-08-19 11:33:36 -04:00
Widget - > SetVisibility ( EVisibility : : Collapsed ) ;
2015-08-26 10:33:13 -04:00
}
else
{
2021-08-19 11:33:36 -04:00
// Does the widget label match the searched text?
EVisibility WidgetVisibility = DisplayText . ToString ( ) . Contains ( SearchText . ToString ( ) ) ? EVisibility : : Visible : EVisibility : : Collapsed ;
// If this widget is one of the sub-menu item that was flatten to support recursive search
if ( TSharedPtr < FFlattenSearchableBlockInfo > * FlattenBlockInfo = FlattenSearchableWidgets . Find ( Widget ) )
2015-08-26 10:33:13 -04:00
{
2021-08-19 11:33:36 -04:00
( * FlattenBlockInfo ) - > Widget - > SetVisibility ( WidgetVisibility ) ;
( * FlattenBlockInfo ) - > HierarchyTipVisibility = WidgetVisibility ;
if ( WidgetVisibility = = EVisibility : : Visible )
{
// Check if a item in the the same menu already enabled the 'hierarchy tip'. Because they are added in order, every next one with the same parent will be below each other. For example if
// the user searches for 'C' and the multibox has expendable menus "Cinematics" containing "Camera X" and "Shapes" containing "Cube", "Cone" and "Cylinder", we want the search result to look like:
//
// - Cinematics > (This is an expandable menu that matches the search)
// ##Shapes## (This is the hierarchy tip enabled once for all matching items in the expandable 'Shapes' menu)
// - Cube
// - Cone
// - Cylinder
// ##Cinematics## (This is the hierarchy tip enabled once for the single matching item in the expandable 'Cinematics' menu)
// - Camera X
//
bool bHierarchyTipAlreadyVisible = false ;
VisibleFlattenHierarchyTips . FindOrAdd ( UE : : MultiBoxUtils : : GetSearchHierarchyInfoText ( ( * FlattenBlockInfo ) - > SearchableTextHierarchyComponents ) . ToString ( ) , & bHierarchyTipAlreadyVisible ) ;
if ( bHierarchyTipAlreadyVisible )
{
( * FlattenBlockInfo ) - > HierarchyTipVisibility = EVisibility : : Collapsed ;
}
}
2015-08-26 10:33:13 -04:00
}
2021-08-19 11:33:36 -04:00
else // This widget is a normal item in this menu.
2015-08-26 10:33:13 -04:00
{
2021-08-19 11:33:36 -04:00
Widget - > SetVisibility ( WidgetVisibility ) ;
2015-08-26 10:33:13 -04:00
}
}
}
2020-08-11 01:36:57 -04:00
if ( SearchBlockWidget . IsValid ( ) )
2015-08-26 10:33:13 -04:00
{
2020-08-11 01:36:57 -04:00
SearchBlockWidget - > SetVisibility ( EVisibility : : Visible ) ;
2015-08-26 10:33:13 -04:00
}
}
FText SMultiBoxWidget : : GetSearchText ( ) const
{
return SearchText ;
}
2020-08-11 01:36:57 -04:00
TSharedPtr < SWidget > SMultiBoxWidget : : GetSearchTextWidget ( )
2015-08-26 10:33:13 -04:00
{
return SearchTextWidget ;
}
void SMultiBoxWidget : : SetSearchBlockWidget ( TSharedPtr < SWidget > InWidget )
{
SearchBlockWidget = InWidget ;
}
void SMultiBoxWidget : : AddSearchElement ( TSharedPtr < SWidget > BlockWidget , FText BlockDisplayText )
{
2020-08-11 01:36:57 -04:00
AddElement ( BlockWidget , BlockDisplayText , true ) ;
Copying //UE4/Orion-Staging to //UE4/Dev-Main (Source: //Orion/Dev-General @ 2961068)
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2958488 on 2016/04/27 by Michael.Noland
Engine: Added support for UNumericProperty (int64, etc...) and doubles as allowable types in data table structures (Note: Blueprints still can't access these types, so use is limited to C++ for now)
#tests Tested with a data table created from a struct that contained int64 properties
Change 2958440 on 2016/04/27 by Leslie.Nivison
Adding .tps and licenses for elftoolchain
#test none
Change 2958434 on 2016/04/27 by david.nikdel
#ROBOMERGE-AUTHOR: josh.markiewicz
#UE4 - fix for merge conflict from 0.25 branch
#tests none
#ROBOMERGE-SOURCE: CL 2958433 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 2958431 on 2016/04/27 by Martin.Wilson
Fix crash when changing curve type of new curve
#TESTS recreated original issue to prove changes fix it
Change 2958409 on 2016/04/27 by Brad.Angelcyk
updates LinuxToolChain with a function to escape arguments passed to clang
#tests compiled LinuxNoEditor and LinuxServer
Change 2958287 on 2016/04/27 by Jason.Bestimt
#ORION_DG - Merge MAIN @ CL 2958273
#RB:none
#Tests:none
Change 2958201 on 2016/04/27 by Jason.Bestimt
#ORION_DG - Merge MAIN @ CL 2958156
#RB:none
#Tests:none
Change 2958034 on 2016/04/27 by Dmitry.Rekman
Do not skip rendering commands on server (UE-29891).
- Enqueue... macros changed to make commands execute on the calling thread for UE_SERVER.
- Removed workaround in stats code that was added because advancing frame was not previously happening.
- Added logic to avoid allocating memory (and triggering check()) from NullRHI in FStaticShadowDepthMap.
#coderreview Daniel.Wright, Sam.Zamani
#tests Compiled Linux server and Windows client, ran a couple matches (on compatible cooked build).
Change 2957881 on 2016/04/27 by Andrew.Grant
Fix for UE-29973
#tests compiled
Change 2957769 on 2016/04/27 by Robert.Manuszewski
Stopping thread heartbeat when the engine crashes to prevent it from interfering with generating crash reports.
#jira OR-20501
#tests Win64 client cooked build
Change 2957711 on 2016/04/27 by david.nikdel
#ROBOMERGE-AUTHOR: ben.marsh
EC: Use the original author for any ROBOMERGED changes in failure emails.
[CodeReviewed] David.Nikdel
#ROBOMERGE-SOURCE: CL 2957709 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 2957042 on 2016/04/26 by david.nikdel
#ROBOMERGE-AUTHOR: nick.atamas
Merging CL 2956472 from .25 to Main.
Fading out HUD on victory/defeat. Added code to SRetainerWidget to respect its own opacity.
#test PIE
#ROBOMERGE-SOURCE: CL 2957041 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 2957005 on 2016/04/26 by Daniel.Lamb
Included pete on the rebuild lighting emails.
He will be taking over whilest I'm out next week
#test Compile.
Change 2956915 on 2016/04/26 by Leslie.Nivison
Adding .tps for swaggerui, roboto font.
#test none
Change 2956778 on 2016/04/26 by Lina.Halper
Fixed crash with curve importing UID issue
#Rb: none
#Code review:Martin.Wilson
#tests: editor, import, no crash
Change 2956735 on 2016/04/26 by Mieszko.Zielinski
Removed PRAGMA_DISABLE_OPTIMIZATION that slipped through code review #Orion
#test none
Change 2956669 on 2016/04/26 by Mieszko.Zielinski
Big Bot Objectives pass #Orion
- Objective graph navigation introduced, acompanied with BT task to take advantage of it
- lots of improvements to AICommander and ObjectiveGraph
- bot teams are aware of their human members while dealing objectives
- behavior improvements, including a separate EQS queries for melee and ranged enemy selection
Disabled for now, will get enabled in a separate CL
#test golden path
Change 2956665 on 2016/04/26 by Mieszko.Zielinski
Changed NavMesh projection code to use 2d distance when looking for the best point on navmesh #UE4
#test golen path
Change 2956639 on 2016/04/26 by Mieszko.Zielinski
Implemented a generic, template 2d grid #UE4
#test none
Change 2956628 on 2016/04/26 by Jon.Lietz
first pass on gameplay code needed for Buff Bar
- added OnTimeChangeDelegate to FActiveGameplayEffect to tracking when the duration or start effect time changes for a gameplay effect.
- added GetGameplayEffectStartTimeAndDuration() that will set the passed in start time and duration for the given FActiveGameplayEffectHandle
- added support for FOrionStatusEffectDisplayInfo to be a dynamic array vs a static one.
- added a FGameplayTag and UTexture2D* to track buff effects
#RB DaveRatti
#tests apply and remove tracked gameplay effects.
Change 2956424 on 2016/04/26 by Simon.Tovey
Fix for OR-20387
Bone Socket module could require different sizes of instance data depending on properties that can differ between lods.
Allocation code assumes all lods want the same size.
Altered module to request max of all possible sizes.
#tests Editor, GoldenPath, Fixes crash
Change 2956403 on 2016/04/26 by Mieszko.Zielinski
Generic, graph, template A* implementation #UE4
#test golden path
Change 2956360 on 2016/04/26 by Lina.Halper
Fix crash of animation editing when joint becomes invalid - due to compact joint and so on
- Coil's editing has caused issue where it isn't included to compact bone container
#tests: Michael Rumple tested this change in his local machine where we could crash consistently.
Change 2956068 on 2016/04/26 by Leslie.Nivison
Adding licenses, .tps for Mono
#test none
Change 2956049 on 2016/04/26 by Andrew.Grant
Undid accidental console variables checkin
Change 2955972 on 2016/04/26 by Bart.Bressler
Add "Mixed" replication mode used by OrionPlayerState_Game to save bandwidth while replicating the player state. Saves 1.5-2kb/s Currently turned off with a cvar (Orion.PlayerState.MixedReplicationModeForPlayers)
#tests took network profiles with/without changes, also loaded replays and used logging to make sure the correct data was getting replicated
Change 2955966 on 2016/04/26 by Andrew.Grant
Merging //UE4/Orion-Staging (Source: //UE4/Main @ 2952833)
#tests compiled, cooked, PIE, golden-path
Change 2955598 on 2016/04/25 by Andrew.Grant
Optionally show warnings and errors visually on the HUD in dev builds.
Controlled by DurationOfErrorsAndWarningsOnHUD in Engine.Engine section of DefaultEngine.ini (set to 0 to disable)
#tests game, editor, PS4 played, exited.
Change 2955589 on 2016/04/25 by Andrew.Grant
Clarified array bounds warnings in script
#tests local tests with bounds checking
Change 2955506 on 2016/04/25 by david.nikdel
#ROBOMERGE-AUTHOR: andrew.grant
Merging changes from Release branches to Main (//Orion/Main)
#ROBOMERGE-SOURCE: CL 2955505 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 2955274 on 2016/04/25 by Eric.Newman
Improved support for in-memory screenshots. Added a RequestScreenshot variant that does not require a filename parameter.
#tests sent myself several player report screenshots
#robomerge: MAIN, 25
Change 2955109 on 2016/04/25 by Jason.Bestimt
#ORION_DG - Merge MAIN @ CL 2955087
#RB:none
#Tests:none
Change 2954451 on 2016/04/25 by Jason.Bestimt
#ORION_DG - Merge MAIN @ CL 2954443
#RB:none
#tests:none
Change 2954444 on 2016/04/25 by david.nikdel
#ROBOMERGE-AUTHOR: jason.bestimt
#ORION_MAIN - Merge 25 @ CL 2954417
#RB:none
#Tests:none
#ROBOMERGE-SOURCE: CL 2954443 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 2954439 on 2016/04/25 by Robert.Manuszewski
Removing debug code
#tests none
Change 2954437 on 2016/04/25 by Robert.Manuszewski
Changing thread hang detection and DLL injection asserts to custom ensures so that we have time to verify if they work correctly in live environment.
- DLL injection will now print only worker threads' callstacks
- Tweaked messages printed when game hang is detected
- re-enabled DLL injection test
#tests Tested with cooked Win64 Client
Change 2954379 on 2016/04/25 by david.nikdel
#ROBOMERGE-AUTHOR: jason.bestimt
#ORION_25 - Merge 24.1 fixes @ CL 2954327
#RB:none
#Tests:none
#ROBOMERGE-SOURCE: CL 2954377 in //Orion/Release-0.25/... via CL 2954378
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 2954157 on 2016/04/25 by Robert.Manuszewski
Possible fix for missing/incomplete callstacks reported by thread hartbeat when a hang is detected.
#tests Cooked Win64 client
Change 2954051 on 2016/04/24 by Chris.Gagnon
Copying CL 2953496 to Paragon from Fortnite
When the console closes it now properly restores the viewports input state (both focus and capture).
#tests ran the game and used the Console
Change 2953620 on 2016/04/22 by Brad.Angelcyk
adds nullrhi to the exclusions list for rendering on linux builds. fixes build error on case sensitive filesystems.
#tests compiled LinuxNoEditor and LinuxServer
Change 2953546 on 2016/04/22 by david.nikdel
#ROBOMERGE-AUTHOR: ben.marsh
BuildGraph: Fix chunking task not correctly filtering files into the ignore list, and adding quotes around the filenames that BPT doesn't seem parse. New output verified to be the same as UAT's debug manifest.
#tests ran chunking part of build script on an existing build, and verified that the generated ignore list matches up with the UAT debug manifest.
#ROBOMERGE-SOURCE: CL 2953545 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 2953468 on 2016/04/22 by Andrew.Grant
Pulling updated PhysX binaries from //UE4/Main to address OR-19860
#tests golden path with Gideon
Change 2953432 on 2016/04/22 by Rob.Cannaday
Ignore presence updates for local user with different resources
#jira OR-19929
#tests front end party invites
#ROBOMERGE Main
Change 2953367 on 2016/04/22 by Leslie.Nivison
TPSAuditTool can't find files under Engine/Build, so adding Android .tps files under Engine/Source/ThirdParty/Android to be properly picked up.
#test none
Change 2952860 on 2016/04/22 by Ben.Marsh
EC: Simplify patterns for excluded jobs so they only have to match against the custom part of the job name. Prevents jobs with decorators such as "(#2)" not matching current patterns.
Change 2952824 on 2016/04/22 by Ben.Marsh
EC: Allow filtering out jobs from the grid view on the dashboard. We don't want to show promotion jobs there.
Change 2952632 on 2016/04/22 by Dan.Youhon
Fix delayed minion reactions to sudden root motion movements on clients
- Added OnRootMotionSourceBeingApplied virtual function to UCharacterMovementComponent, does nothing by default, in OrionCharMovementComponent we ForceServerTick() like we do on knockbacks/other velocity-changing events
- This specifically fixes Coil's BFG ability push being so quick that minions looked like they were almost teleporting to their end destination on clients - much more responsive now
#tests PIE
Change 2952390 on 2016/04/22 by david.nikdel
#ROBOMERGE-AUTHOR: andrew.grant
Back out revision 10 from //Orion/Main/Engine/Source/Runtime/PakFile/Public/IPlatformFilePak.h
#tests compiled
#ROBOMERGE-SOURCE: CL 2952388 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 2952352 on 2016/04/21 by david.nikdel
#ROBOMERGE-AUTHOR: jason.bestimt
#ORION_MAIN - Merge 25 @ CL 2952347
#RB:none
#Tests:none
#ROBOMERGE-SOURCE: CL 2952351 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 2952164 on 2016/04/21 by Leslie.Nivison
Removing invalid characters, incorrect redirect from .tps
#test none
Change 2952092 on 2016/04/21 by David.Ratti
Change Add to AddUnique for attribute initialization. This is to prevent adding attribute set twice in cases where people are initing attribute sets from DefaultStartingData
#tests pie
Change 2951671 on 2016/04/21 by Rob.Cannaday
Clear Recently Completed User Ids list when we flush a completion delegate.
#tests front end, parties, adding / removing friends
Change 2951511 on 2016/04/21 by Robert.Manuszewski
Added code to dump all running threads' stack traces to the log when DLL injection is detected.
#tests Tested in cooked win64 client
Change 2951384 on 2016/04/21 by Josh.Markiewicz
#UE4 - fixed assert when using a dedicated server only function in PIE
- too much of a pain to make this work properly, removing check
#tests PIE
#ROBOMERGE: MAIN, DUI
Change 2951247 on 2016/04/21 by david.nikdel
#ROBOMERGE-AUTHOR: jason.bestimt
#ORION_24.1 - Merge 24 @ CL 2951213
#RB:none
#Tests:none
#ROBOMERGE-SOURCE: CL 2951241 in //Orion/Release-0.24.1/... via CL 2951245
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 2950766 on 2016/04/20 by david.nikdel
#ROBOMERGE-AUTHOR: jason.bestimt
#ORION_MAIN - Merge UI @ CL 2950642
#RB:none
#Tests:none
[CodeReviewed]: matt.kuhlenschmidt, matt.schembari
#ROBOMERGE-SOURCE: CL 2950765 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 2950504 on 2016/04/20 by Jamie.Dale
Added P4FileType.Utf8
#tests Built UAT
Change 2950136 on 2016/04/20 by Andrew.Grant
Fixed issue where config var HangDuration wasn't being used
Now read from config every tick to be hotfix friendly
#tests ran game
[CL 2961397 by Andrew Grant in Main branch]
2016-04-29 15:14:04 -04:00
}
2020-08-11 01:36:57 -04:00
void SMultiBoxWidget : : AddElement ( TSharedPtr < SWidget > BlockWidget , FText BlockDisplayText , bool bInSearchable )
{
// Non-Searchable widgets shouldn't have search text
if ( ! bInSearchable )
{
BlockDisplayText = FText : : GetEmpty ( ) ;
}
2021-08-19 11:33:36 -04:00
MultiBoxWidgets . Add ( BlockWidget , TArray < FText > { BlockDisplayText } ) ;
2020-08-11 01:36:57 -04:00
}
Copying //UE4/Orion-Staging to //UE4/Dev-Main (Source: //Orion/Dev-General @ 2961068)
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2958488 on 2016/04/27 by Michael.Noland
Engine: Added support for UNumericProperty (int64, etc...) and doubles as allowable types in data table structures (Note: Blueprints still can't access these types, so use is limited to C++ for now)
#tests Tested with a data table created from a struct that contained int64 properties
Change 2958440 on 2016/04/27 by Leslie.Nivison
Adding .tps and licenses for elftoolchain
#test none
Change 2958434 on 2016/04/27 by david.nikdel
#ROBOMERGE-AUTHOR: josh.markiewicz
#UE4 - fix for merge conflict from 0.25 branch
#tests none
#ROBOMERGE-SOURCE: CL 2958433 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 2958431 on 2016/04/27 by Martin.Wilson
Fix crash when changing curve type of new curve
#TESTS recreated original issue to prove changes fix it
Change 2958409 on 2016/04/27 by Brad.Angelcyk
updates LinuxToolChain with a function to escape arguments passed to clang
#tests compiled LinuxNoEditor and LinuxServer
Change 2958287 on 2016/04/27 by Jason.Bestimt
#ORION_DG - Merge MAIN @ CL 2958273
#RB:none
#Tests:none
Change 2958201 on 2016/04/27 by Jason.Bestimt
#ORION_DG - Merge MAIN @ CL 2958156
#RB:none
#Tests:none
Change 2958034 on 2016/04/27 by Dmitry.Rekman
Do not skip rendering commands on server (UE-29891).
- Enqueue... macros changed to make commands execute on the calling thread for UE_SERVER.
- Removed workaround in stats code that was added because advancing frame was not previously happening.
- Added logic to avoid allocating memory (and triggering check()) from NullRHI in FStaticShadowDepthMap.
#coderreview Daniel.Wright, Sam.Zamani
#tests Compiled Linux server and Windows client, ran a couple matches (on compatible cooked build).
Change 2957881 on 2016/04/27 by Andrew.Grant
Fix for UE-29973
#tests compiled
Change 2957769 on 2016/04/27 by Robert.Manuszewski
Stopping thread heartbeat when the engine crashes to prevent it from interfering with generating crash reports.
#jira OR-20501
#tests Win64 client cooked build
Change 2957711 on 2016/04/27 by david.nikdel
#ROBOMERGE-AUTHOR: ben.marsh
EC: Use the original author for any ROBOMERGED changes in failure emails.
[CodeReviewed] David.Nikdel
#ROBOMERGE-SOURCE: CL 2957709 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 2957042 on 2016/04/26 by david.nikdel
#ROBOMERGE-AUTHOR: nick.atamas
Merging CL 2956472 from .25 to Main.
Fading out HUD on victory/defeat. Added code to SRetainerWidget to respect its own opacity.
#test PIE
#ROBOMERGE-SOURCE: CL 2957041 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 2957005 on 2016/04/26 by Daniel.Lamb
Included pete on the rebuild lighting emails.
He will be taking over whilest I'm out next week
#test Compile.
Change 2956915 on 2016/04/26 by Leslie.Nivison
Adding .tps for swaggerui, roboto font.
#test none
Change 2956778 on 2016/04/26 by Lina.Halper
Fixed crash with curve importing UID issue
#Rb: none
#Code review:Martin.Wilson
#tests: editor, import, no crash
Change 2956735 on 2016/04/26 by Mieszko.Zielinski
Removed PRAGMA_DISABLE_OPTIMIZATION that slipped through code review #Orion
#test none
Change 2956669 on 2016/04/26 by Mieszko.Zielinski
Big Bot Objectives pass #Orion
- Objective graph navigation introduced, acompanied with BT task to take advantage of it
- lots of improvements to AICommander and ObjectiveGraph
- bot teams are aware of their human members while dealing objectives
- behavior improvements, including a separate EQS queries for melee and ranged enemy selection
Disabled for now, will get enabled in a separate CL
#test golden path
Change 2956665 on 2016/04/26 by Mieszko.Zielinski
Changed NavMesh projection code to use 2d distance when looking for the best point on navmesh #UE4
#test golen path
Change 2956639 on 2016/04/26 by Mieszko.Zielinski
Implemented a generic, template 2d grid #UE4
#test none
Change 2956628 on 2016/04/26 by Jon.Lietz
first pass on gameplay code needed for Buff Bar
- added OnTimeChangeDelegate to FActiveGameplayEffect to tracking when the duration or start effect time changes for a gameplay effect.
- added GetGameplayEffectStartTimeAndDuration() that will set the passed in start time and duration for the given FActiveGameplayEffectHandle
- added support for FOrionStatusEffectDisplayInfo to be a dynamic array vs a static one.
- added a FGameplayTag and UTexture2D* to track buff effects
#RB DaveRatti
#tests apply and remove tracked gameplay effects.
Change 2956424 on 2016/04/26 by Simon.Tovey
Fix for OR-20387
Bone Socket module could require different sizes of instance data depending on properties that can differ between lods.
Allocation code assumes all lods want the same size.
Altered module to request max of all possible sizes.
#tests Editor, GoldenPath, Fixes crash
Change 2956403 on 2016/04/26 by Mieszko.Zielinski
Generic, graph, template A* implementation #UE4
#test golden path
Change 2956360 on 2016/04/26 by Lina.Halper
Fix crash of animation editing when joint becomes invalid - due to compact joint and so on
- Coil's editing has caused issue where it isn't included to compact bone container
#tests: Michael Rumple tested this change in his local machine where we could crash consistently.
Change 2956068 on 2016/04/26 by Leslie.Nivison
Adding licenses, .tps for Mono
#test none
Change 2956049 on 2016/04/26 by Andrew.Grant
Undid accidental console variables checkin
Change 2955972 on 2016/04/26 by Bart.Bressler
Add "Mixed" replication mode used by OrionPlayerState_Game to save bandwidth while replicating the player state. Saves 1.5-2kb/s Currently turned off with a cvar (Orion.PlayerState.MixedReplicationModeForPlayers)
#tests took network profiles with/without changes, also loaded replays and used logging to make sure the correct data was getting replicated
Change 2955966 on 2016/04/26 by Andrew.Grant
Merging //UE4/Orion-Staging (Source: //UE4/Main @ 2952833)
#tests compiled, cooked, PIE, golden-path
Change 2955598 on 2016/04/25 by Andrew.Grant
Optionally show warnings and errors visually on the HUD in dev builds.
Controlled by DurationOfErrorsAndWarningsOnHUD in Engine.Engine section of DefaultEngine.ini (set to 0 to disable)
#tests game, editor, PS4 played, exited.
Change 2955589 on 2016/04/25 by Andrew.Grant
Clarified array bounds warnings in script
#tests local tests with bounds checking
Change 2955506 on 2016/04/25 by david.nikdel
#ROBOMERGE-AUTHOR: andrew.grant
Merging changes from Release branches to Main (//Orion/Main)
#ROBOMERGE-SOURCE: CL 2955505 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 2955274 on 2016/04/25 by Eric.Newman
Improved support for in-memory screenshots. Added a RequestScreenshot variant that does not require a filename parameter.
#tests sent myself several player report screenshots
#robomerge: MAIN, 25
Change 2955109 on 2016/04/25 by Jason.Bestimt
#ORION_DG - Merge MAIN @ CL 2955087
#RB:none
#Tests:none
Change 2954451 on 2016/04/25 by Jason.Bestimt
#ORION_DG - Merge MAIN @ CL 2954443
#RB:none
#tests:none
Change 2954444 on 2016/04/25 by david.nikdel
#ROBOMERGE-AUTHOR: jason.bestimt
#ORION_MAIN - Merge 25 @ CL 2954417
#RB:none
#Tests:none
#ROBOMERGE-SOURCE: CL 2954443 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 2954439 on 2016/04/25 by Robert.Manuszewski
Removing debug code
#tests none
Change 2954437 on 2016/04/25 by Robert.Manuszewski
Changing thread hang detection and DLL injection asserts to custom ensures so that we have time to verify if they work correctly in live environment.
- DLL injection will now print only worker threads' callstacks
- Tweaked messages printed when game hang is detected
- re-enabled DLL injection test
#tests Tested with cooked Win64 Client
Change 2954379 on 2016/04/25 by david.nikdel
#ROBOMERGE-AUTHOR: jason.bestimt
#ORION_25 - Merge 24.1 fixes @ CL 2954327
#RB:none
#Tests:none
#ROBOMERGE-SOURCE: CL 2954377 in //Orion/Release-0.25/... via CL 2954378
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 2954157 on 2016/04/25 by Robert.Manuszewski
Possible fix for missing/incomplete callstacks reported by thread hartbeat when a hang is detected.
#tests Cooked Win64 client
Change 2954051 on 2016/04/24 by Chris.Gagnon
Copying CL 2953496 to Paragon from Fortnite
When the console closes it now properly restores the viewports input state (both focus and capture).
#tests ran the game and used the Console
Change 2953620 on 2016/04/22 by Brad.Angelcyk
adds nullrhi to the exclusions list for rendering on linux builds. fixes build error on case sensitive filesystems.
#tests compiled LinuxNoEditor and LinuxServer
Change 2953546 on 2016/04/22 by david.nikdel
#ROBOMERGE-AUTHOR: ben.marsh
BuildGraph: Fix chunking task not correctly filtering files into the ignore list, and adding quotes around the filenames that BPT doesn't seem parse. New output verified to be the same as UAT's debug manifest.
#tests ran chunking part of build script on an existing build, and verified that the generated ignore list matches up with the UAT debug manifest.
#ROBOMERGE-SOURCE: CL 2953545 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 2953468 on 2016/04/22 by Andrew.Grant
Pulling updated PhysX binaries from //UE4/Main to address OR-19860
#tests golden path with Gideon
Change 2953432 on 2016/04/22 by Rob.Cannaday
Ignore presence updates for local user with different resources
#jira OR-19929
#tests front end party invites
#ROBOMERGE Main
Change 2953367 on 2016/04/22 by Leslie.Nivison
TPSAuditTool can't find files under Engine/Build, so adding Android .tps files under Engine/Source/ThirdParty/Android to be properly picked up.
#test none
Change 2952860 on 2016/04/22 by Ben.Marsh
EC: Simplify patterns for excluded jobs so they only have to match against the custom part of the job name. Prevents jobs with decorators such as "(#2)" not matching current patterns.
Change 2952824 on 2016/04/22 by Ben.Marsh
EC: Allow filtering out jobs from the grid view on the dashboard. We don't want to show promotion jobs there.
Change 2952632 on 2016/04/22 by Dan.Youhon
Fix delayed minion reactions to sudden root motion movements on clients
- Added OnRootMotionSourceBeingApplied virtual function to UCharacterMovementComponent, does nothing by default, in OrionCharMovementComponent we ForceServerTick() like we do on knockbacks/other velocity-changing events
- This specifically fixes Coil's BFG ability push being so quick that minions looked like they were almost teleporting to their end destination on clients - much more responsive now
#tests PIE
Change 2952390 on 2016/04/22 by david.nikdel
#ROBOMERGE-AUTHOR: andrew.grant
Back out revision 10 from //Orion/Main/Engine/Source/Runtime/PakFile/Public/IPlatformFilePak.h
#tests compiled
#ROBOMERGE-SOURCE: CL 2952388 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 2952352 on 2016/04/21 by david.nikdel
#ROBOMERGE-AUTHOR: jason.bestimt
#ORION_MAIN - Merge 25 @ CL 2952347
#RB:none
#Tests:none
#ROBOMERGE-SOURCE: CL 2952351 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 2952164 on 2016/04/21 by Leslie.Nivison
Removing invalid characters, incorrect redirect from .tps
#test none
Change 2952092 on 2016/04/21 by David.Ratti
Change Add to AddUnique for attribute initialization. This is to prevent adding attribute set twice in cases where people are initing attribute sets from DefaultStartingData
#tests pie
Change 2951671 on 2016/04/21 by Rob.Cannaday
Clear Recently Completed User Ids list when we flush a completion delegate.
#tests front end, parties, adding / removing friends
Change 2951511 on 2016/04/21 by Robert.Manuszewski
Added code to dump all running threads' stack traces to the log when DLL injection is detected.
#tests Tested in cooked win64 client
Change 2951384 on 2016/04/21 by Josh.Markiewicz
#UE4 - fixed assert when using a dedicated server only function in PIE
- too much of a pain to make this work properly, removing check
#tests PIE
#ROBOMERGE: MAIN, DUI
Change 2951247 on 2016/04/21 by david.nikdel
#ROBOMERGE-AUTHOR: jason.bestimt
#ORION_24.1 - Merge 24 @ CL 2951213
#RB:none
#Tests:none
#ROBOMERGE-SOURCE: CL 2951241 in //Orion/Release-0.24.1/... via CL 2951245
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 2950766 on 2016/04/20 by david.nikdel
#ROBOMERGE-AUTHOR: jason.bestimt
#ORION_MAIN - Merge UI @ CL 2950642
#RB:none
#Tests:none
[CodeReviewed]: matt.kuhlenschmidt, matt.schembari
#ROBOMERGE-SOURCE: CL 2950765 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 2950504 on 2016/04/20 by Jamie.Dale
Added P4FileType.Utf8
#tests Built UAT
Change 2950136 on 2016/04/20 by Andrew.Grant
Fixed issue where config var HangDuration wasn't being used
Now read from config every tick to be hotfix friendly
#tests ran game
[CL 2961397 by Andrew Grant in Main branch]
2016-04-29 15:14:04 -04:00
bool SMultiBoxWidget : : OnVisualizeTooltip ( const TSharedPtr < SWidget > & TooltipContent )
{
Copying //UE4/Dev-Editor to //UE4/Dev-Main (Source: //UE4/Dev-Editor @ 3133954)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3077573 on 2016/08/04 by Nick.Darnell
Removing some unused code, adding additional needed modules to editor tests.
#rb none
Change 3077580 on 2016/08/04 by Nick.Darnell
Removing the test plugins, going to be recreating them in EngineTest.
Change 3082659 on 2016/08/09 by Nick.Darnell
Automation - Presets are now stored in json files stored in Config so they can be shared, and human readable. Working on screenshot automation, getting it where it needs to be to permit us to have repeatable tests for comarison. Removing the option to not take full size screenshots, that defeats the purpose of being able to compare them.
#rb none
Change 3082766 on 2016/08/09 by Jamie.Dale
Fixed crashes when dealing with code-points outside the BMP on platforms with UTF-32 FStrings
ICU always deals with its offsets as UTF-16 (as it always uses UTF-16 internally with icu::UnicodeString), so there were a couple of places in code (break iteration, and bidi detection) where we needed to adjust those UTF-16 offsets to UTF-32 offsets in the case where FString is UTF-32.
#jira UE-33971
#rb James.Hopkin
Change 3083067 on 2016/08/09 by Nick.Darnell
Automation - Working on screenshot support, system now allows a lot more customization in terms of how large the shot is.
#rb none
Change 3084475 on 2016/08/10 by Richard.TalbotWatkin
Fixed issue with ModelComponent replication in client/server PIE if BSP is rebuilt. ModelComponent now implements IsNameStableForNetworking and always returns true, as a level's model components will never be rebuilt during a game session. Brush poly normals are now only fixed up in Editor builds.
#jira UE-34391 - No run animation on client that is not focused when running 2 player and dedicated server
#codereview Matt.Kuhlenschmidt
#rb none
Change 3084661 on 2016/08/10 by Matt.Kuhlenschmidt
Added grayscale texture importing support
#rb none
Change 3084774 on 2016/08/10 by Cody.Albert
Adding controller support for ComboBox widget
#jira UE-33826
#rb nick.darnell
Change 3085716 on 2016/08/11 by Nick.Darnell
UMG - Taking the Widget Component and Widget Interaction Components out of experimental. Removed old importing support for upgrading ancient versions of widget components. Removing parbola distortion, as users can now do whatever they want in their custom MID they can override the widget with.
#rb none
Change 3085733 on 2016/08/11 by Nick.Darnell
UMG - Documenting the meta parameters allowed on widgets, like we do for regular UObjects. For binding widgets from blueprints you can now do BindWidget (unchanged), and to simplify binding widgets optionally, you can now just do (BindWidgetOptional), rather than the combination of BindWidget + OptionalWidget=true. Made generating the Design time wrapper call a little more efficent, by optimizing it away by force inlining a noop. Also added some additional checking when we forcefully set focus in UMG, to help people catch cases where they set focus, but didn't make the widget focusable.
#rb none
Change 3085734 on 2016/08/11 by Nick.Darnell
Texture - Making GetDefaultMipMapBias a bit more efficent in the common case.
#rb none
Change 3085736 on 2016/08/11 by Nick.Darnell
Static Lighting - Warning the user when they build lighting, but have bForceNoPrecomputedLighting set to true on the world settings.
#rb none
Change 3085737 on 2016/08/11 by Nick.Darnell
Editor - code organization.
#rb none
Change 3085875 on 2016/08/11 by Nick.Darnell
UMG - You can now use 'G' to toggle game mode on the designer so that you can disable and enable the dashed lines around containers. The option in the settings is now used as the default when you startup a designer.
#rb none
Change 3086209 on 2016/08/11 by Ben.Salem
Make our automated test pass reporting more robust and pipe out to JSON in \saved\automation\logs\AutomationReport-{CL}-{Timestamp}.json format.
#rb adric.worley, william.ewen
Change 3086515 on 2016/08/11 by Nick.Darnell
Editor - Fixing a crash in the curve table customization. If the row doesn't exist, it would crash, we now protect against that case.
#rb Matt.Kuhlenschmidt
Change 3087216 on 2016/08/12 by Jamie.Dale
Fixed an issue where re-scanning a package file may leave old assets in the asset registry
We didn't used to clear out anything associated with the old package before scanning the file, which could result in old assets being left if they'd since been removed from the package.
This also exposes a PackageDeleted function to allow people to manually clear anything associated with a package (if doing some custom asset work).
#rb Andrew.Rodham
Change 3087219 on 2016/08/12 by Jamie.Dale
Updated TextRenderComponent to support multiple font pages
It used to use the correct UV data, but wouldn't set the correct texture page when rendering. It now creates MIDs for all of the texture pages used by the font, and will use these MIDs (which override the font page on the material) when rendering the text (batched on sequential index/vertex buffer data with the same texture page).
#rb Matt.Kuhlenschmidt
Change 3087308 on 2016/08/12 by Alex.Delesky
#jira UE-14727 - Support for editing TSet properties in the editor's Details panel has been added.
#rb Matt.Kuhlenschmidt
Change 3089140 on 2016/08/15 by Jamie.Dale
We now abort a directory watch if we lose access to the directory in question
This prevents an infinite loop in the call to MsgWaitForMultipleObjectsEx if a watched directory is deleted.
#jira UE-30172
#rb Andrew.Rodham
Change 3089148 on 2016/08/15 by Alexis.Matte
Allow fbx export of any actor type.
#rb none
#codereview dmitriy.dyomin
Change 3089211 on 2016/08/15 by Jamie.Dale
Unified access to the parent window for external dialogs
A lot of places used to ad-hoc use the MainFrame window, even when they had access to a widget that may be belong to a different window. This could cause issues where an external dialog could appear behind a modal UE4 window (as it would appear above the MainFrame), and be inaccessible.
You can now use IMainFrameModule::GetBestParentWindowHandleForDialogs to get the best window handle to use for an external dialog. This will either be the parent window for the given widget (if known), or failing that, the MainFrame window.
#rb Andrew.Rodham
Change 3089640 on 2016/08/15 by Jamie.Dale
Wrapped UMaterialExpression::MenuCategories in WITH_EDITORONLY_DATA to avoid gathering it for game-only loc
#rb none
Change 3089661 on 2016/08/15 by Nick.Darnell
Editor - There's a new view option "Show C++ Classes" in the content browser. Lets you hide all those C++ folders most folks probably don't care to see.
#rb none
Change 3089667 on 2016/08/15 by Cody.Albert
Updating RoutePointerUpEvent to call OnDrop for touch events when dragging
#jira UE-34709
#rb nick.darnell
Change 3089694 on 2016/08/15 by Jamie.Dale
Applied a fix to the ExcludeClasses setting in the loc gather
#rb none
Change 3089889 on 2016/08/15 by Nick.Darnell
Automation - Continued work on the screenshot portion of the automation system. Going to start using the adapter information in the screenshots taken, otherwise we can't accurately test a plethora of devices sharing the same OS, with different capabilities.
#rb none
Change 3090256 on 2016/08/16 by Nick.Darnell
Automation - working on screenshots.
#rb none
Change 3090322 on 2016/08/16 by Nick.Darnell
Automation - Adding modified screenshot function.
#rb none
Change 3090335 on 2016/08/16 by Nick.Darnell
Automation - The tests were determined to need to be shared afterall, but at least keeping them as plugins. Moved to Engine plugins.
#rb none
Change 3090881 on 2016/08/16 by Nick.Darnell
Automation - Moving the content over and fixing up some code so that the AutoRimport tests work as expected.
#rb none
Change 3090884 on 2016/08/16 by Nick.Darnell
Plugins - There's now support for generating a Content Only plugin from the new plugin wizard.
#rb none
Change 3090911 on 2016/08/16 by Nick.Darnell
Feature Packs - If there's an error loading a manifest, it's now an error, not a warning.
#rb none
Change 3090913 on 2016/08/16 by Jamie.Dale
Optimization and usability improvements of the MemoryProfiler2 tool
- Optimized the processing of the Callgraph, Histogram, and Short lived allocations views.
- The callgraph view is now using a virtualized tree view mapped to our own internal tree. This allows us to amortize the cost of adding nodes to the TreeView as the user views the nodes in the tree. In my own test, this took callgraph generation from ~45 seconds to ~5 seconds.
- The Histogram view was vastly optimized via the use of a HashSet on the callstack filter, and the batch addition of unsorted callstacks that are sorted once at the end. In my own test, this took histogram generation from ~15 minutes to ~2 seconds.
- The Short lived allocations view was optimized by avoiding redundant sorting, including maintaining a sorted order while inserting items, and instead doing a final sort at the end. The column selection was also optimized by avoiding copying the entire dataset just to resort it. In my own test, this took short lived allocation generation from ~1 minute to ~3 seconds.
- Added a user-configurable list of allocator functions to trim (which now includes FMemory and operator new by default, and produces much cleaner callstacks).
#jira UETOOL-948
#jira UETOOL-949
#rb James.Hopkin
Change 3090962 on 2016/08/16 by Jamie.Dale
Fixed double assignment of filter functions
#rb none
Change 3090989 on 2016/08/16 by Nick.Darnell
Editor - Attempting to fix the build, non-unity issue I suspect.
#rb none
Change 3091754 on 2016/08/17 by Nick.Darnell
FbxAutomationTestBuilder is now a plugin. Users won't see it unless they've enabled the plugin (so primarily internal QA). Reorganized the automation tools and testing menu to be a bit lower in the main menu, and gave them a more test sounding name. Additionally made some modifications to the workspace menu structure to allow generating just a subset of a workplace menu so that I could target where I wanted to insert all of the automation tool menu items, rather than just allowing the general placement of them under developer tools...etc.
#rb none
#codereview Alexis.Matte
Change 3091758 on 2016/08/17 by Nick.Darnell
Slate / Editor - Trying to make the editor less focus greedy. Now when there are notification popups and tabs attempt to grab your attention we now do a few activation ownership checks to ensure that it or a parent window actually owns activation. Not doing this has the nasty side effect of things like notifications and message log errors that popup while playing the game (if the game is in new window PIE), causing the game to be hidden, and focus returned to the editor. Ran into this a lot running the automation tests, the new PIE window that's launched to run tests is immediately hidden as soon as the tests log a warning or error or a notification about high res screenshots happens.
#rb none
#codereview Nick.Atamas,Matt.Kuhlenschmidt
Change 3091829 on 2016/08/17 by Nick.Darnell
Build - Attempting to repair the build.
#rb none
Change 3091920 on 2016/08/17 by Nick.Darnell
Build - Another attempt at fixing the mac build.
#rb none
Change 3093380 on 2016/08/18 by Matt.Kuhlenschmidt
Ignore group actors when checking for references to other actors when deleting. The check for references is designed for gameplay affecting references which groups are not. Having this show up for groups is annoying
#rb none
Change 3094474 on 2016/08/19 by Jamie.Dale
Fixed PS4 error when building with USE_MALLOC_PROFILER, and optimized symbol name resolution for a build with USE_MALLOC_PROFILER enabled
#jira UETOOL-951
#rb James.Hopkin
Change 3094581 on 2016/08/19 by Jamie.Dale
Added missing allocator filter needed by PS4 profiles
#rb none
Change 3094681 on 2016/08/19 by Richard.TalbotWatkin
Fixed issue where painting override vertex colors on a SpeedTree mesh would cause its wind animation to cease. The OverrideVertexColors vertex factory needed to be registered with the SpeedTree renderer.
#jira UE-32762 - Custom VertexPaint on SpeedTrees interferes with wind animation
#rb none
Change 3095163 on 2016/08/19 by Trung.Le
#jira UE-20849: Added tooltips to the inputs of the Material final result node
#rb matt.kuhlenschmidt
Change 3095285 on 2016/08/19 by Trung.Le
#jira UE-20849 In SGraphNodeMaterialResult, renamed ToolTip to ToolTipWidget so we're not hiding class member
#rb none
Change 3095344 on 2016/08/19 by Alexis.Matte
#jira UE-34690 When using the optionnal matrix to change the scene root node, we have to flush the fbx evaluation engine.
Add also a new option to allow the user to automatically convert the fbx scene to unreal unit (centimeter).
#rb none
#codereview matt.kuhlenschmidt
Change 3096162 on 2016/08/22 by Alexis.Matte
#jira UE-34763 Remove offending no-action combo box entry when the json file is readonly. Also clean up other combo box menu.
#rb none
#codereview matt.kuhlenschmidt
Change 3096261 on 2016/08/22 by Alexis.Matte
#jira UE-33121 Make sure re-import all and import all fix all the issue before starting the job. So it get not interrupt during the process.
#rb lina.halper
#codereview lina.halper
Change 3096344 on 2016/08/22 by Jamie.Dale
NSString conversion fix for UTF-32 strings containing characters outside of the BMP
#jira UE-33971
#rb Peter.Sauerbrei, James.Hopkin
Change 3096605 on 2016/08/22 by Alex.Delesky
#jira UE-34787 - Dropdown menus in standalone programs will now correctly display tooltips if they have any.
#rb Matt.Kuhlenschmidt
Change 3096615 on 2016/08/22 by Alex.Delesky
#jira UE-33334 - Scrolling up on the mouse wheel when using the orbit camera should no longer move away from the orbit point when the camera moves too close to the orbit origin.
#rb Matt.Kuhlenschmidt
Change 3096619 on 2016/08/22 by Alex.Delesky
#jira UE-34084 - Structs containing an enum with a value that contains a whitespace character will now serialize correctly when copied from the Details Panel.
#rb Matt.Kuhlenschmidt
Change 3097644 on 2016/08/23 by Matt.Kuhlenschmidt
PR #2729: Fix a typo in the comment (Contributed by adcentury)
#rb none
Change 3097648 on 2016/08/23 by Matt.Kuhlenschmidt
PR #2726: Undef unused macros (Contributed by shrimpy56)
#rb none
Change 3097697 on 2016/08/23 by Matt.Kuhlenschmidt
Guard against crash when details panels rebuild when their customizations have been torn down
https://jira.ol.epicgames.net/browse/UE-35048
#rb none
Change 3097757 on 2016/08/23 by Alex.Delesky
#jira UE-14727 - Support for editing TMap properties in the editor's Details panel has been added. This change also removes the Duplicate option from TSet elements, and disallows entry of duplicates elements into a TSet or duplicate keys into a TMap
#rb Matt.Kuhlenschmidt
Change 3098164 on 2016/08/23 by Alexis.Matte
#jira UE-34686 Fbx importer bImportMeshesInBoneHierarchy is used also by the animation.
#rb none
#codereview matt.kuhlenschmidt
Change 3098502 on 2016/08/23 by Alexis.Matte
#jira UE-30951 Fbx option dialog, we disable the option to bake pivot if transform vertex position is true
#rb none
#codereview matt.kuhlenschmidt
Change 3099986 on 2016/08/24 by Jamie.Dale
Fixing non-editor builds
#rb none
Change 3101138 on 2016/08/25 by Matt.Kuhlenschmidt
Fixed viewport redraw callback not being called when certian property modifications occur in the details panel (reset to default, array size changes, etc)
#rb none
Change 3101280 on 2016/08/25 by Jamie.Dale
Fixed crash when counting memory over internationalization meta-data
- The serialization code only used to handle loading or saving, now it handles loading or not loading.
- The Type of the meta-data wasn't set by all constructors. For safety it has been removed and replaced with a virtual function that the derived types override.
#rb James.Hopkin
Change 3101283 on 2016/08/25 by Jamie.Dale
MProf2 platform and symbol parsing improvements
- Updated ISymbolParser to work with lazy symbol resolution (handled via the UI when looking at full callstacks).
- Added a PS4 symbol parser which handles performing full file/line resolution for symbols.
- Removed all the V3 file format support and legacy platform handling.
- Optimized FStreamInfo.GetNameIndex so it can be used by the lazy symbol fixup.
#rb James.Hopkin
Change 3101586 on 2016/08/25 by Jamie.Dale
Small code cleanup and path normalization
#rb James.Hopkin
Change 3101837 on 2016/08/25 by Alexis.Matte
#jira UE-35101 we now store the sourceanimationname to retrieve the correct animtrack when re-importing animations
#rb none
#codereview matt.kuhlenschmidt
Change 3102537 on 2016/08/26 by Jamie.Dale
Fix for potential crash in FICUCamelCaseBreakIterator
In platforms with UTF-32 strings, the index returned by FICUTextCharacterIterator may not be in the same range as FString, so we need to call InternalIndexToSourceIndex to ensure that it is.
#rb James.Hopkin
Change 3102582 on 2016/08/26 by Matt.Kuhlenschmidt
Log the freetype version when it starts up (for debugging purposes)
#rb none
Change 3102657 on 2016/08/26 by Alexis.Matte
#jira UE-29177 When re-importing a texture we want to notify materials using this texture so they can recompile the shader.
#review-3101585 @uriel.doyon
#rb matt.kuhlenschmidt
Change 3102704 on 2016/08/26 by Jamie.Dale
Added symbol meta-data support to MProf2
You can now define platform specific meta-data using FPlatformStackWalk::GetSymbolMetaData, which is then stored within the generated .mprof file.
PS4 uses this meta-data to say where the original .self file can be found, so that MProf2 can usually automatically load the .self file without having to bother the user.
#rb James.Hopkin
Change 3102878 on 2016/08/26 by Matt.Kuhlenschmidt
Added support for outline fonts
- An outline size (in slate units), optional material and optional fill color can be specified with each font info.
- Outlines do not contribute to measurement directly so the text measuring and shaping methods have been modified to account for outlines
- Fixed a bug where font materials do not work properly if part of the font's rendered glyphs were in a different atlas
#rb jamie.dale
Change 3102879 on 2016/08/26 by Jamie.Dale
Bumped the MProf2 version so we can tell which build of the tool can load v6 mprof files
#rb none
Change 3102960 on 2016/08/26 by Alexis.Matte
build fix
#rb none
Change 3103032 on 2016/08/26 by Jamie.Dale
Fixed SEditableText and SMultiLineEditableText not setting the correct foreground color when painting
#jira UE-34936
#rb Matt.Kuhlenschmidt
Change 3103278 on 2016/08/26 by Jamie.Dale
Fixing Clang warnings
#rb none
Change 3104211 on 2016/08/29 by Ben.Marsh
Add build script for automated tests, and create settings file for Dev-Editor which adds an agent pool for running them.
#rb none
Change 3104290 on 2016/08/29 by Alex.Delesky
Adding additional documentation accessible from the editor for TSet and TMap properties, along with a quick clarification on container properties to let the user know what kind of container they're working with.
#rb Matt.Kuhlenschmidt
Change 3104292 on 2016/08/29 by Alex.Delesky
#jira UE-35039 - Command/Control user keybindings will no longer flip-flop when the editor is opened on Mac.
#rb Matt.Kuhlenschmidt
Change 3104294 on 2016/08/29 by Alex.Delesky
#jira UE-34952 - The user will no longer encounter an ensure when setting the value of Period equal to or less than 0 on the circular throbber widget
#rb Matt.Kuhlenschmidt
Change 3104295 on 2016/08/29 by Matt.Kuhlenschmidt
PR #2682: Remove unused bUseDesktopResolutionForFullscreen (Contributed by stfx)
#rb none
Change 3104296 on 2016/08/29 by Alex.Delesky
#jira UE-35160 - The Auto Distance Error for LOD meshes can now be set to any value larger than zero.
#rb Matt.Kuhlenschmidt
Change 3104348 on 2016/08/29 by Matt.Kuhlenschmidt
Added the ability to clear the preview mesh on a material instance. Previously there was no way to null it out.
#rb none
Change 3104355 on 2016/08/29 by Matt.Kuhlenschmidt
Guard against crash with invalid path to the default physical material. Just create a new one if it doesnt exist and warn about it.
#rb none
#jira UE-31865
Change 3104396 on 2016/08/29 by Ben.Marsh
Fix incrorrect agent names for running automated tests
Change 3104610 on 2016/08/29 by Alex.Delesky
Fix for AutomationTool compile editor from changes introduced today.
#rb None
Change 3104611 on 2016/08/29 by Michael.Dupuis
#jira UETOOL-253
#rb Alexis.Matte
Change 3105826 on 2016/08/30 by Gareth.Martin
Added console variables to discard grass and/or scalable foliage data on load
#jira UE-35086
#rb Benn
Change 3106126 on 2016/08/30 by Matt.Kuhlenschmidt
Eliminated bad code duplication between retainer widgets and element batcher
#rb none
#codereview nick.darnell
Change 3106449 on 2016/08/30 by Michael.Dupuis
#jira UETOOL-229 Added generic command icons used in Edit Menu (including contextual menu)
#rb Alexis.Matte
Change 3106966 on 2016/08/30 by Jamie.Dale
Fixed FApp::IsAuthorizedUser not considering the SessionOwner override
#rb Max.Preussner
Change 3107687 on 2016/08/31 by Michael.Dupuis
Checkout/Make Writable on proper config file
#rb Matt Kuhlenschmidt
Change 3107736 on 2016/08/31 by Matt.Kuhlenschmidt
Fixed mode typos in the lerp instruction
#rb none
Change 3107830 on 2016/08/31 by Matt.Kuhlenschmidt
Logging and guard against UEditorEngine::TeardownPlaySession crash.
#rb none
https://jira.ol.epicgames.net/browse/UE-35325
Change 3107912 on 2016/08/31 by Alex.Delesky
#jira UE-35181 - Normalizing paths when retrieving absolute filenames for source control operations.
#rb Matt.Kuhlenschmidt
Change 3107986 on 2016/08/31 by Matt.Kuhlenschmidt
Removed PropertyTestObject.h out of UnrealEd.h so you dont have to compile the entire editor when changing this one file.
#rb none
Change 3108027 on 2016/08/31 by Chris.Wood
Re-added lost doc comment for analytics event "Engine.AbnormalShutdown".
#rb none - just a comment in a cpp file
#codereview wes.hunt
Change 3108580 on 2016/08/31 by Mike.Fricker
Deleted the "Live Editor" plugins from UE4
- These were undocumented, buggy and never finished, and we have no plans to complete them
- Both the "LiveEditor" and "LiveEditorListenServer" plugins were deleted, along with related icon files
#codereview matt.kuhlenschmidt
#rb matt.kuhlenschmidt
Change 3108604 on 2016/08/31 by Mike.Fricker
Added new "MIDI Device" plugin (disabled by default)
- This is a simple MIDI interface that allows you to receive MIDI events from devices connected to your computer
- Currently only input is supported. In the future we might allow for output, as well.
- In Blueprints, here's how to use it:
- Look for "MIDI Device Manager" in the Blueprint RMB menu
- Call "Find MIDI Devices" to choose your favorite device. Break the "Found MIDI Device" struct to see what's available.
- Then call "Create MIDI Device Controller" for the device you want. Store that in a variable.
- On your MIDI Device Controller, bind your own Event to the "On MIDI Event" event. This will be called every game Tick when there is at least one new MIDI event to receive.
- Process the data passed into the Event to make your project do stuff!
- This plugin makes use of the "PortMidi" third party library (which already existed in UE4 -- it was used by the now-deprecated 'LiveEditor' plugin)
#codereview matt.kuhlenschmidt
#rb none
Change 3108760 on 2016/08/31 by Alexis.Matte
#jira UE-25840 Fbx export collision mesh, we now export collision: box, sphere, capsule and convex mesh. There is an option in the editor preference to enable the export of collisions, default value is false.
#rb none
#codereview matt.kuhlenschmidt
Change 3109006 on 2016/08/31 by Alex.Delesky
#ignore Source Control rename test - initial commit
Change 3109044 on 2016/08/31 by Alex.Delesky
#ignore Testing asset rename from P4 to observe correct behavior.
#rb none
Change 3109048 on 2016/08/31 by Alex.Delesky
#ignore Testing P4 rename to identify correct behavior
#rb none
Change 3110044 on 2016/09/01 by Gareth.Martin
Fixed painting foliage on blocking "query" actors not working
#jira UE-33852
#rb Allan.Bentham
Change 3110133 on 2016/09/01 by Alexis.Matte
Fix crash in function GetForceRecompileTextureIdsHash
#rb none
#codereview jamie.dale
Change 3111848 on 2016/09/02 by Mike.Fricker
MIDI Device plugin: Fixed compilation error on Clang compilers (Mac, Linux)
- Fixed bad enum cast
#rb none
Change 3111995 on 2016/09/02 by Michael.Dupuis
#jira UE-35263
Do not try selecting the actor if the actor is in the blueprint
Properly Refresh the ToopTip & Hyper Link to take into account blueprint recreation process
#rb Alexis Matte
Change 3112280 on 2016/09/02 by Michael.Dupuis
Call MakeWritable if source control fail
#rb Alexis Matte
Change 3112335 on 2016/09/02 by Cody.Albert
Updating cursor hiding logic to not improperly hide cursor when left clicking in ortho mode
#jira UE-35306
#rb none
Change 3112478 on 2016/09/02 by Alexis.Matte
#jira UE-20059 Use a base material to import fbx material.
#rb uriel.doyon
#codereview matt.kuhlenschmidt
#1468 Github pull request number
Change 3113912 on 2016/09/06 by Michael.Dupuis
#jira UE-32288 Fixed Console params display
#rb Alexis Matte
Change 3114026 on 2016/09/06 by Alex.Delesky
#jira UE-35123 - The Details panel in a Texture editor or Simple Asset editor window will no longer disappear when the inspected asset is imported again.
#rb Matt.Kuhlenschmidt
Change 3114032 on 2016/09/06 by Alex.Delesky
PR #2733: Improved the project launcher progress page (Contributed by projectgheist)
#jira UE-34027
#rb Matt.Kuhlenschmidt
Change 3114034 on 2016/09/06 by Alex.Delesky
#jira UE-35265 - Copying a comment node from a Material Function and pasting it inside a Material will no longer render the Material unsaveable
#rb Matt.Kuhlenschmidt
Change 3114071 on 2016/09/06 by Nick.Darnell
[AUTOMATED TEST] Automatic checkin, testing functionality.
Change 3114109 on 2016/09/06 by Nick.Darnell
[AUTOMATED TEST] Automatic checkin, testing functionality.
Change 3114562 on 2016/09/06 by Nick.Darnell
Adding LevelEditor to the FbxAutomationTestBuilder to fix a compiler issue.
#rb none
Change 3114701 on 2016/09/06 by Michael.Dupuis
#jira UE-31988 add const to all usage of TArray<ItemType>* as it was done in SListView
#rb Alexis Matte
Change 3114861 on 2016/09/06 by Matt.Kuhlenschmidt
Prevent non-thread safe slate code from running on the slate loading thread
#rb none
Change 3115698 on 2016/09/07 by Nick.Darnell
Make sure the commands are available - during functional testing that was found to not always be the case.
#rb none
Change 3115719 on 2016/09/07 by Nick.Darnell
Adding an IsRegistered command to commands.
#rb none
Change 3115721 on 2016/09/07 by Nick.Darnell
Adding a new built VirtualReality feature pack, this new one contains the update manifest that will parse correctly.
#rb none
Change 3115722 on 2016/09/07 by Nick.Darnell
IsBindWidgetProperty now returns false if the property passed in is null.
#rb none
Change 3115734 on 2016/09/07 by Alexis.Matte
#jira UE-30166 Support fbx sdk 2017
#rb none
Change 3115737 on 2016/09/07 by Nick.Darnell
Adding an image comparer for screenshots. Removing some content from EngineTest.
#rb none
Change 3115743 on 2016/09/07 by Nick.Darnell
Checkpointing a bunch of progress towards a screenshot comparison workflow that allows us to diff screenshots taken on various platforms and hardware. Disabling many tests that are not passing. Updating a few tests to log better errors, and fixed a few tests with easy bugs in them so they would start passing again. All editor tests currently passing!
#rb none
Change 3115748 on 2016/09/07 by Nick.Darnell
Making the RuntimeTests plugin a Developer module, so that it doesn't get included in shipping builds.
#rb none
Change 3115789 on 2016/09/07 by Jamie.Dale
We now favor Traditional Chinese for Hong Kong and Macau
#rb James.Hopkin
Change 3115799 on 2016/09/07 by Jamie.Dale
Removed validity check on source cultures when remapping, as platforms may use invalid cultures that need to be remapped
#rb James.Hopkin
Change 3115826 on 2016/09/07 by Nick.Darnell
Adding missing files.
#rb none
Change 3115838 on 2016/09/07 by Nick.Darnell
Back out revision 6 from //UE4/Dev-Editor/Engine/Source/Runtime/UMG/Public/Components/WidgetInteractionComponent.h
#rb none
Change 3116007 on 2016/09/07 by Alexis.Matte
build fix
#rb none
Change 3116057 on 2016/09/07 by Jamie.Dale
Fixed widget snapshot messages so they appear in the message debugger
#rb none
Change 3116112 on 2016/09/07 by Nick.Darnell
Removing the FbxAutomationBuilder file that go recreated on a merge from main.
#rb none
Change 3116365 on 2016/09/07 by Michael.Dupuis
#jira UE-20765 Added missing class flag to test (CLASS_CONFIG) and change a bit how the checkout/make writable work.
#codereview Matt.Kuhlenschmidt
#rb Alexis.Matte
Change 3116622 on 2016/09/07 by Alexis.Matte
#jira UE-35608 Use the same naming convention when trying to retrieve uv channel by name.
#rb matt.kuhlenschmidt
Change 3116638 on 2016/09/07 by Jamie.Dale
Ensured that manifests and archives don't try and load data that they can't parse
#rb none
Change 3117397 on 2016/09/08 by Gareth.Martin
Added rotate and blend support to the landscape mirror tool
#jira UE-34829
#rb Jack.Porter
Change 3117459 on 2016/09/08 by Gareth.Martin
Fixed crash saving a hidden landscape level with an offset (cloned from 4.13.1)
#jira UE-35301
#rb Jack.Porter
Change 3117462 on 2016/09/08 by Gareth.Martin
Fixed invisible landscape components and crashes when tessellation is enabled (cloned from 4.13.1)
#jira UE-35494
#rb Benn.Gallagher
Change 3117583 on 2016/09/08 by Nick.Darnell
Continued work on automation support for screenshot comparison, stubbing in a commandlet that can be run after automation tests that would perform the diffing. Need to finish rigging it up so that deltas and results can be dumped out somewhere and consumed by a tool to approve shots.
#rb none
Change 3117595 on 2016/09/08 by Nick.Darnell
Updating the build script for AutomatedTests, going to see if this works!
#rb none
Change 3117808 on 2016/09/08 by Nick.Darnell
Adding header includes for async.
#rb none
Change 3117812 on 2016/09/08 by Matt.Kuhlenschmidt
Partially taken from Pr 2381
Fixed Array Properties to handle duplicates properly and fixed Material Parameter Collection duplicate Guid problem.
#rb none
Change 3117851 on 2016/09/08 by Jamie.Dale
Silenced some redundant P4 errors that could be generated when running a stat update on a file
Some of the options produced errors when working with newly added files. These errors are now downgraded to infos like they are for the main stat command.
#rb Ben.Marsh
#codereview Thomas.Sarkanen
Change 3117853 on 2016/09/08 by Gareth.Martin
Clean up landscape includes and PCH
#rb steve.robb
Change 3117859 on 2016/09/08 by Alex.Delesky
#jira UE-35321 - Minimized windows will no longer act like they are visible when determining what widgets are currently underneath the mouse.
#rb Nick.Darnell
Change 3117997 on 2016/09/08 by Nick.Darnell
Updating the automation tests build script to use Editor-Cmd
#rb none
Change 3118005 on 2016/09/08 by Matt.Kuhlenschmidt
Properly reference graph node on material expressions so they are not GC'd while an expression still uses them
#jira UE-35362
#rb none
Change 3118043 on 2016/09/08 by Alex.Delesky
#jira UE-30649 - Removed unnecessary returns from UWidget API.
PR #2377: fix widget bug. (Contributed by dorgonman)
#rb none
Change 3118045 on 2016/09/08 by Matt.Kuhlenschmidt
Guard against crash saving config during level editor shutdown
#rb none
#jira UE-35605
Change 3118074 on 2016/09/08 by Matt.Kuhlenschmidt
PR #2783: Removed #pragme once from CPP files (Contributed by projectgheist)
#rb none
Change 3118078 on 2016/09/08 by Michael.Dupuis
#jira UE-32065 Removed the -windows that was added as a default option and add it simply if fullscreen is not specified
#rb Alexis.Matte
Change 3118080 on 2016/09/08 by Michael.Dupuis
#jira UE-31131 Do not show a contextual menu if the menu is empty
#rb Alexis.Matte
Change 3118087 on 2016/09/08 by Matt.Kuhlenschmidt
Constify this method
#rb none
Change 3118166 on 2016/09/08 by Nick.Darnell
Trying additional command options for the build machine for automation.
#rb none
Change 3118222 on 2016/09/08 by Matt.Kuhlenschmidt
Fix actor delete during mesh paint not working during undo
#rb none
#jira UE-35684
Change 3118298 on 2016/09/08 by Alexis.Matte
#jira UE-35302 Export all LODs for static mesh when there is no force LOD
#rb uriel.doyon
Change 3118325 on 2016/09/08 by Matt.Kuhlenschmidt
Fixed reset to default not appearing for slate brushes
#rb none
#jira UE-34958
Change 3119321 on 2016/09/09 by Matt.Kuhlenschmidt
Guard against crash with an invalid world trying to be opened from the content browser
#rb none
https://jira.ol.epicgames.net/browse/UE-35712
Change 3119433 on 2016/09/09 by Nick.Darnell
Removing a hack added by Paragon that prevents applications from resizing in real time as the user drags the size of the window around.
#rb Matt.Kuklenschmidt
#jira UE-35789
Change 3119448 on 2016/09/09 by Alex.Delesky
When simulating touch events using the mouse, clicking the mouse will no longer let a drag operation continue. This should also allow the finger that started a drag to continue dragging items until it is released from the surface.
#rb Nick.Darnell
Change 3119522 on 2016/09/09 by Jamie.Dale
Fixed FDetailCategoryImpl::ShouldBeExpanded not honoring bShouldBeInitiallyCollapsed when bRestoreExpansionState was true
#rb Matt.Kuhlenschmidt
Change 3119528 on 2016/09/09 by Jamie.Dale
Some UI re-work to the localization dashboard
This makes a better use of the available space, and will make it easier to make some other planned changes in the future.
#rb James.Hopkin
Change 3119861 on 2016/09/09 by Michael.Dupuis
#jira UE-9284 Added the Play/Stop button on the thumbnail
#rb Alexis.Matte
Change 3120027 on 2016/09/09 by Alexis.Matte
incorporate some fixes from licensee for LOD group re-import workflow
#jira UE-32268
#rb uriel.doyon
#codereview matt.kuhlenschmidt
Change 3120845 on 2016/09/12 by Gareth.Martin
Fixed crash in landscape editor when "Early Z" is enabled (cloned from 4.13.1)
#jira UE-35850
#rb Allan.Bentham
Change 3120980 on 2016/09/12 by Nick.Darnell
Adding a commandlet that is runnable for comparing screenshots. Adding comparing and exporting capability to the screenshot manager.
#rb none
Change 3120992 on 2016/09/12 by Alex.Delesky
#jira UE-35575 - TScriptInterface UProperties now have asset picker support.
#rb Matt.Kuhlenschmidt
Change 3121074 on 2016/09/12 by Michael.Dupuis
#jira UE-30092
Added path length in error message when typing
Added display of current filepath lenght for cooking
#rb Alexis.Matte
Change 3121113 on 2016/09/12 by Nick.Darnell
Adding some placeholder examples to show people how to author tests in EngineTest.
#rb none
Change 3121152 on 2016/09/12 by Gareth.Martin
Added TElementType, TIsContiguousContainer traits
Added GetData(), GetNum() generic functions
#rb Steve.Robb
Change 3121702 on 2016/09/12 by Jamie.Dale
Optimized a loop over a sorted list to instead use a binary search
This speeds up the short-lived allocation view generation.
We also now dump the exception information to the Trace log when in a non-debug build.
#rb James.Hopkin
Change 3121721 on 2016/09/12 by Jamie.Dale
We now set the window mode first when resizing the game viewport to ensure that the work area is correct
Fullscreen windows can affect the available work area size, which can break centering when moving between fullscreen and windowed mode.
#jira UE-32842
#rb Matt.Kuhlenschmidt
Change 3122578 on 2016/09/13 by Jamie.Dale
Small code clean up
Removed a use of the placement new style array addition.
#rb none
Change 3122634 on 2016/09/13 by Jamie.Dale
We now immediately update DefaultConfigCheckOutNeeded when checking out/making writable the config file, rather than wait for the text tick
#jira UE-34865
#rb James.Hopkin
Change 3122656 on 2016/09/13 by Jamie.Dale
Fixed array combo button not focusing its contents, which prevented the menu closing correctly
#jira UE-33667
#rb none
Change 3122661 on 2016/09/13 by Nick.Darnell
Checkpointing additional work on the screenshot compare dialog, moving some Directory path picker widget into a more common area. Moving some "Find the best top level window handle for this widget for dialogs' code out of the main frame module and into Slate Application where it probably belongs.
#rb none
Change 3122678 on 2016/09/13 by Jamie.Dale
Fixing CIS error on Clang
CoreUObject needs to be included before USTRUCT can be used.
#rb none
Change 3122686 on 2016/09/13 by Jamie.Dale
Fixing CIS error on Clang
CoreUObject needs to be included before UCLASS can be used.
#rb none
Change 3122728 on 2016/09/13 by Nick.Darnell
UMG - Exposing a trace channel for the WIC, defaults to Visibility. Improving how the WIC handles the cursor moving off the widget, it now maintains the last hit location rather than 0,0 which would cause things like dragged Sliders to reset to the left. Ideally - the WIC would know the underlying widget has capture and continue to fake collision against an imaginary plane to simulate a continuous surface.
#jira UE-35167
#rb none
Change 3122775 on 2016/09/13 by Nick.Darnell
Automation - Fixing an error with the ScreenshotTools plugin, needed to add an the include for Engine.h to the PCH.
#rb none
Change 3122779 on 2016/09/13 by Nick.Darnell
Widgetnimation - Exposing more of the class to C++.
#rb none
Change 3122793 on 2016/09/13 by Nick.Darnell
Fixing a crash in UWidgetComponent::UpdateRenderTarget updating a null material instance.
#jira UE-35796
#rb none
Change 3122834 on 2016/09/13 by Matt.Kuhlenschmidt
Fixed crash undoing moves after bsp creation
https://jira.ol.epicgames.net/browse/UE-35880
#rb none
Change 3122835 on 2016/09/13 by Nick.Darnell
Reverting changes to WIdgetAnimation
#rb none
Change 3122897 on 2016/09/13 by Matt.Kuhlenschmidt
Fixed non-editor compile error
#rb none
Change 3122988 on 2016/09/13 by Alexis.Matte
Material workflow refactor
#jira UETOOL-774
#rb matt.kuhlenschmidt
Change 3123006 on 2016/09/13 by Jamie.Dale
Fixed dynamic collections not returning anything
#jira UE-35869
#rb James.Hopkin
Change 3123145 on 2016/09/13 by Alexis.Matte
Fix fbx automation test. The test found a regression cause by CL: 3120027. In the case where we dont have a LODGroup we dont want to add LODs before the build.
#jira UE-32268
#rb none
#codereview matt.kuhlenschmidt
Change 3123148 on 2016/09/13 by Matt.Kuhlenschmidt
Fix fortnite compile error
#rb alexis.matte
Change 3123208 on 2016/09/13 by Jamie.Dale
The 'find culprit' dialog now honors the user choice
#rb RichTW
Change 3123545 on 2016/09/13 by Nick.Darnell
Slate - Adjusting the window dialog host finding code to do a better job of searching for slate windows and excluding popups and non-regular windows.
#rb none
Change 3124494 on 2016/09/14 by Jamie.Dale
Added ~ to the list of invalid characters for object/package names
#jira UE-12908
#rb Matt.Kuhlenschmidt
Change 3124513 on 2016/09/14 by Gareth.Martin
Implemented filter to allow painting foliage on other foliage
- Altered foliage filters so it will no longer paint on object types which don't have a filter, e.g. skeletal meshes
#rb Allan.Bentham
#2472
Change 3124523 on 2016/09/14 by Jamie.Dale
PR #2724: Fix ScrollBox right mouse/touch grab scrolling functionality (Contributed by aarmbruster)
#jira UE-34811
#jira UE-32082
#rb none
Change 3124607 on 2016/09/14 by Nick.Darnell
UMG - Adding BoundsScale support to the WidgetComponent's CalcBounds function.
#jira UE-35667
#rb none
Change 3124785 on 2016/09/14 by Gareth.Martin
Made some foliage functions editor-only to fix non-editor build
#rb none
Change 3124795 on 2016/09/14 by Gareth.Martin
Saved/loaded the new foliage filter
#rb Allan.Bentham
#2472
Change 3124915 on 2016/09/14 by Michael.Dupuis
#jira UE-19511
Add support for Add to source control on DefaultEditorPerProjectUserSettings file
Remove CheckoutNotice when not editing a DefaultXXXX.ini file
Edit proper config file either we're modifying settings from a Default file or Local user file
#codereview Matt.Kuhlenschmidt Max.Preussner
#rb Alexis.Matte
Change 3125266 on 2016/09/14 by Jamie.Dale
Fixed ULocalizationTarget::DeleteFiles not deleting cultures, and using SCC wrong
#rb none
Change 3125385 on 2016/09/14 by Matt.Kuhlenschmidt
Fix crash when using SaveAs to save over top of an existing level
#rb none
https://jira.ol.epicgames.net/browse/UE-35919
https://jira.ol.epicgames.net/browse/UE-35921
Change 3125487 on 2016/09/14 by Alexis.Matte
Fix cook content, regression induce by the material workflow refactor
#rb matt.kuhlenschmidt
Change 3126217 on 2016/09/15 by Gareth.Martin
Unset bHasPerInstanceHitProxies on landscape grass components, as they don't have individually editable instances
#rb Allan.Bentham
Change 3126311 on 2016/09/15 by Jamie.Dale
Placement mode fixes
- The display name is now cached correctly on construction, and the FPlaceableItem instance used with SPlacementAssetEntry is now const.
- Ensured that the ID used by FPlaceableItem could never overflow.
- Fixed some types being missing from the "All Classes" list.
- Fixed the escape key not cancelling the search.
#jira UE-35972
#rb James.Hopkin
Change 3126325 on 2016/09/15 by Jamie.Dale
Made sure that UWorld::GetAssetRegistryTags called its Super function so that properties tagged as AssetRegistrySearchable will be added.
#rb Andrew.Rodham
Change 3126403 on 2016/09/15 by Gareth.Martin
Added Find and Contains functions to TBitArray
#rb Steve.Robb
Change 3126405 on 2016/09/15 by Gareth.Martin
Allowed instances of Hierarchical Instanced Mesh Components to be moved around with the transform widget in the blueprint editor
- Just like regular instanced mesh components!
Also fixed not being able to move instances of an instanced mesh component when it is the root component
Also also fixed Hierarchical Instanced Mesh Components not flushing their async tree build on saving (this was causing log spam from PostLoad when dragging instances around as the blueprint would constantly reinstance the component before the async tree build had finished)
#jira UE-29357
#rb Allan.Bentham
Change 3126444 on 2016/09/15 by Jamie.Dale
Fixed the loc dashboard configs not working with SCC
This isn't a great solution, but the whole way the loc dashboard manages its config data is in need of an overhaul.
#rb none
Change 3126446 on 2016/09/15 by Jamie.Dale
Fixed loc dashboard game and engine targets sharing the same expansion settting
#rb none
Change 3126555 on 2016/09/15 by Chris.Wood
Removed WER from Windows crash handling. Crashes saved to log folder and passed to CRC with explicit path.
[UE-34470] - Investigate WER settings and if they can conflict with CRC on Windows
#rb Steve.Robb
Change 3126586 on 2016/09/15 by Gareth.Martin
Fixed missing landscape components when using a LODBias (cloned from 4.13.1)
#jira UE-35873
#rb Jack.Porter
Change 3126610 on 2016/09/15 by Jamie.Dale
Stopped PS4 from always staging all ICU data files
#rb Marcus.Wassmer
Change 3126779 on 2016/09/15 by Michael.Dupuis
#jira UE-32914 Improve the help text to provide usage examples and params
#rb Alexis.Matte
Change 3126849 on 2016/09/15 by Matt.Kuhlenschmidt
Fix font material and outline font material not being animatable in sequencer
#rb frank.fella
Change 3126858 on 2016/09/15 by Matt.Kuhlenschmidt
File not saved
#rb none
Change 3127001 on 2016/09/15 by Matt.Kuhlenschmidt
Fixed reset to default state still not appearing in all cases after changing a property.
#rb none
Change 3127038 on 2016/09/15 by Nick.Darnell
UMG - Improving focus setting for users on widgets. If we're unable to set the focus immediately, possibly because the user is setting focus in the Construct callback before the widget is in the tree, we now update the SlateOperations FReply on LocalPlayer to set focus next frame when it's more likely the widget will become focusable.
#rb none
Change 3127061 on 2016/09/15 by Nick.Darnell
Slate - We now have a reentrancy guard in TPanelChildren to avoid the broad cases where users might attempt to remove children while all children are being removed. Which is an easy case to engineer if you've got widgets spawning children managed by another widget, that all go away at the same time, thus causing the parent to attempt to cleanup children. The end result is a delete while deleting. So now TPanelChildren prevents adds/removes while emptying the list of children.
#jira UE-35726
#rb Matt.Kuchlenschmidt
Change 3127205 on 2016/09/15 by Alex.Delesky
#jira UE-18013 - Users can now add Textures, Materials, or Sprites to a Widget Blueprint directly from the content browser. This also fixes a few issues with adding Widget Blueprints to another Widget BP from the content browser, such as adding a widget to itself or creating a circular dependency.
#rb Nick.Darnell
Change 3127971 on 2016/09/16 by Matt.Kuhlenschmidt
Fix crash in scene outliner if actors become invalid
#rb none
https://jira.ol.epicgames.net/browse/UE-35932
Change 3128011 on 2016/09/16 by Matt.Kuhlenschmidt
Added guards for crashes accessing slate resources for deleted uobjects
#rb nick.darnell
Change 3128067 on 2016/09/16 by Michael.Dupuis
#jira UE-34158 Add an option to auto expand advanced details
#rb Alexis.Matte
Change 3128073 on 2016/09/16 by Michael.Dupuis
#jira UE-1145
Set Save As to Ctrl + Alt + S
Set Save All to Ctrl + Shift + S
Set Save Current to Ctrl + S
#rb Alexis.Matte
Change 3128117 on 2016/09/16 by Jamie.Dale
Updated the pin-type filter combo to filter on both the localized and source type descriptions
#jira UE-36081
#rb none
Change 3128177 on 2016/09/16 by Alexis.Matte
#jira UE-35946 Remove unnecessary GetReadValue call with bad parameter. The read value call is cache so subsequent call was returning the bad cache value.
#rb michael.dupuis
#codereview matt.kuhlenschmidt
Change 3128387 on 2016/09/16 by Gareth.Martin
Fixed location and rotation of arrow widget in the landscape mirror tool when using one of the new "Rotate" modes
#jira UE-36093
#rb none
Change 3128445 on 2016/09/16 by Matt.Kuhlenschmidt
Guard against scene outliner crash. Print out tree when items appear twice.
https://jira.ol.epicgames.net/browse/UE-35935
#rb none
Change 3128454 on 2016/09/16 by Matt.Kuhlenschmidt
Remove category for WindowTitleBarArea. It is very custom for internal use and should not be a top level widget
#rb none
Change 3128482 on 2016/09/16 by Michael.Dupuis
Added new key binding for generic Save, Save As
Added new key binding for Save All for the content browser
#rb Alexis.Matte (approved by MattK)
Change 3128560 on 2016/09/16 by Matt.Kuhlenschmidt
Fix build warning
#codereview nick.darnell
#rb none
Change 3128642 on 2016/09/16 by Alexis.Matte
#jira UE-36047 We now convert the light color correctly when importing and exporting fbx files. UE4 is sRGB and FBX is linear
#rb none
#codereview matt.kuhlenschmidt
Change 3128733 on 2016/09/16 by Nick.Darnell
UMG - Fixing a bad merge, some code was removed causing all BindWidget statements to fail to compile correctly.
#jira UE-36105
#rb none
Change 3128768 on 2016/09/16 by Matt.Kuhlenschmidt
Fix selection outline showing around edges of all internal mesh sections of a component instead of around the entire actor
#rb none
Change 3128779 on 2016/09/16 by Matt.Kuhlenschmidt
Fix offset characters on some small fonts
#rb none
Change 3130057 on 2016/09/19 by Jamie.Dale
Fixing volatility and invalidation issues for text widgets
#jira UE-33988
#rb Nick.Darnell
Change 3130064 on 2016/09/19 by Jamie.Dale
Changed mprof meta-data to allow unicode strings and updated ReadString to deal with them correctly
#rb James.Hopkin
Change 3130233 on 2016/09/19 by Michael.Dupuis
#jira UE-32914 Added missing args that the UI supported
#rb Alexis.Matte
Change 3130265 on 2016/09/19 by Nick.Darnell
Automation - Cleaning up some API items.
#rb none
Change 3130378 on 2016/09/19 by Matt.Kuhlenschmidt
Fix reentrancy saving assets while a prompt for checkout dialog is open
#rb none
Change 3130398 on 2016/09/19 by Jamie.Dale
Fixing UHT error when building
#rb none
Change 3132101 on 2016/09/20 by Nick.Darnell
UMG - Adding a toolbar option in the designer for the 'G' command, similar to 'Game View' in the level editor, it disables all the dashed lines / future editor visuals.
#rb none
Change 3132110 on 2016/09/20 by Nick.Darnell
PR #2792: ShowFlags for WidgetComponents (Contributed by projectgheist)
#jira UE-13770
#rb Nick.Darnell
Change 3132111 on 2016/09/20 by Nick.Darnell
UMG - The retainer now embeds a virtual window into the focus path so that paths are resolved correctly.
#rb none
Change 3132138 on 2016/09/20 by Michael.Dupuis
#jira UE-30945 Added missing PostEditComponentMove after drag is finished
#rb Alexis.Matte
Change 3132147 on 2016/09/20 by Michael.Dupuis
#jira UE-30866 Fixed the filter to work properly
#rb Alexis.Matte
Change 3132190 on 2016/09/20 by Matt.Kuhlenschmidt
Fix static analysis warnings in this file
#rb none
Change 3132231 on 2016/09/20 by Nick.Darnell
Slate - Updating the material blend states to match what is expected of Slate rendering, which differs a lot from the scene renderer with the way it treats alpha. This fixes translucent rendering with the retainer widget, users will need to set their materials to Alpha Composite though for it to behave as expected.
#jira UE-33285
#rb none
Change 3132255 on 2016/09/20 by Alex.Delesky
#jira UE-36048 - TMap and TSet properties are now disallowed from adding more children through the Details panel when they contain the dfault value for a key or element. Reset to Default is also no longer allowed on a Map or Set child when it will result in a second default value existing within the container.
#rb Matt.Kuhlenschmidt
Change 3132587 on 2016/09/20 by Mike.Fricker
MIDI Plugin: Fixed a CIS error in shipping configuration (introduced in CL 3108604)
#rb none
#lockdown matt.kuhlenschmidt
Change 3132623 on 2016/09/20 by Matt.Kuhlenschmidt
Fix crash opening the cooker settings
https://jira.it.epicgames.net/browse/UE-36197
#rb none
#lockdown nick.darnell
Change 3133144 on 2016/09/20 by Nick.Darnell
Build configuration for automation tests.
#rb none
#lockdown matt.kuhlenschmidt
Change 3133206 on 2016/09/20 by Matt.Kuhlenschmidt
Fix default material on odin text
#rb none
#lockdown nick.darnell
Change 3133913 on 2016/09/21 by Nick.Darnell
Back out revision 17 from //UE4/Dev-Editor/Engine/Source/Runtime/UMG/Private/Slate/SRetainerWidget.cpp
#rb none
#jira UE-36231
#lockdown matt.kuhlenschmidt
[CL 3133983 by Matt Kuhlenschmidt in Main branch]
2016-09-21 10:07:18 -04:00
// tooltips on multibox widgets are not supported outside of the editor or programs
return ! GIsEditor & & ! FGenericPlatformProperties : : IsProgram ( ) ;
Copying //UE4/Orion-Staging to //UE4/Dev-Main (Source: //Orion/Dev-General @ 2961068)
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2958488 on 2016/04/27 by Michael.Noland
Engine: Added support for UNumericProperty (int64, etc...) and doubles as allowable types in data table structures (Note: Blueprints still can't access these types, so use is limited to C++ for now)
#tests Tested with a data table created from a struct that contained int64 properties
Change 2958440 on 2016/04/27 by Leslie.Nivison
Adding .tps and licenses for elftoolchain
#test none
Change 2958434 on 2016/04/27 by david.nikdel
#ROBOMERGE-AUTHOR: josh.markiewicz
#UE4 - fix for merge conflict from 0.25 branch
#tests none
#ROBOMERGE-SOURCE: CL 2958433 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 2958431 on 2016/04/27 by Martin.Wilson
Fix crash when changing curve type of new curve
#TESTS recreated original issue to prove changes fix it
Change 2958409 on 2016/04/27 by Brad.Angelcyk
updates LinuxToolChain with a function to escape arguments passed to clang
#tests compiled LinuxNoEditor and LinuxServer
Change 2958287 on 2016/04/27 by Jason.Bestimt
#ORION_DG - Merge MAIN @ CL 2958273
#RB:none
#Tests:none
Change 2958201 on 2016/04/27 by Jason.Bestimt
#ORION_DG - Merge MAIN @ CL 2958156
#RB:none
#Tests:none
Change 2958034 on 2016/04/27 by Dmitry.Rekman
Do not skip rendering commands on server (UE-29891).
- Enqueue... macros changed to make commands execute on the calling thread for UE_SERVER.
- Removed workaround in stats code that was added because advancing frame was not previously happening.
- Added logic to avoid allocating memory (and triggering check()) from NullRHI in FStaticShadowDepthMap.
#coderreview Daniel.Wright, Sam.Zamani
#tests Compiled Linux server and Windows client, ran a couple matches (on compatible cooked build).
Change 2957881 on 2016/04/27 by Andrew.Grant
Fix for UE-29973
#tests compiled
Change 2957769 on 2016/04/27 by Robert.Manuszewski
Stopping thread heartbeat when the engine crashes to prevent it from interfering with generating crash reports.
#jira OR-20501
#tests Win64 client cooked build
Change 2957711 on 2016/04/27 by david.nikdel
#ROBOMERGE-AUTHOR: ben.marsh
EC: Use the original author for any ROBOMERGED changes in failure emails.
[CodeReviewed] David.Nikdel
#ROBOMERGE-SOURCE: CL 2957709 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 2957042 on 2016/04/26 by david.nikdel
#ROBOMERGE-AUTHOR: nick.atamas
Merging CL 2956472 from .25 to Main.
Fading out HUD on victory/defeat. Added code to SRetainerWidget to respect its own opacity.
#test PIE
#ROBOMERGE-SOURCE: CL 2957041 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 2957005 on 2016/04/26 by Daniel.Lamb
Included pete on the rebuild lighting emails.
He will be taking over whilest I'm out next week
#test Compile.
Change 2956915 on 2016/04/26 by Leslie.Nivison
Adding .tps for swaggerui, roboto font.
#test none
Change 2956778 on 2016/04/26 by Lina.Halper
Fixed crash with curve importing UID issue
#Rb: none
#Code review:Martin.Wilson
#tests: editor, import, no crash
Change 2956735 on 2016/04/26 by Mieszko.Zielinski
Removed PRAGMA_DISABLE_OPTIMIZATION that slipped through code review #Orion
#test none
Change 2956669 on 2016/04/26 by Mieszko.Zielinski
Big Bot Objectives pass #Orion
- Objective graph navigation introduced, acompanied with BT task to take advantage of it
- lots of improvements to AICommander and ObjectiveGraph
- bot teams are aware of their human members while dealing objectives
- behavior improvements, including a separate EQS queries for melee and ranged enemy selection
Disabled for now, will get enabled in a separate CL
#test golden path
Change 2956665 on 2016/04/26 by Mieszko.Zielinski
Changed NavMesh projection code to use 2d distance when looking for the best point on navmesh #UE4
#test golen path
Change 2956639 on 2016/04/26 by Mieszko.Zielinski
Implemented a generic, template 2d grid #UE4
#test none
Change 2956628 on 2016/04/26 by Jon.Lietz
first pass on gameplay code needed for Buff Bar
- added OnTimeChangeDelegate to FActiveGameplayEffect to tracking when the duration or start effect time changes for a gameplay effect.
- added GetGameplayEffectStartTimeAndDuration() that will set the passed in start time and duration for the given FActiveGameplayEffectHandle
- added support for FOrionStatusEffectDisplayInfo to be a dynamic array vs a static one.
- added a FGameplayTag and UTexture2D* to track buff effects
#RB DaveRatti
#tests apply and remove tracked gameplay effects.
Change 2956424 on 2016/04/26 by Simon.Tovey
Fix for OR-20387
Bone Socket module could require different sizes of instance data depending on properties that can differ between lods.
Allocation code assumes all lods want the same size.
Altered module to request max of all possible sizes.
#tests Editor, GoldenPath, Fixes crash
Change 2956403 on 2016/04/26 by Mieszko.Zielinski
Generic, graph, template A* implementation #UE4
#test golden path
Change 2956360 on 2016/04/26 by Lina.Halper
Fix crash of animation editing when joint becomes invalid - due to compact joint and so on
- Coil's editing has caused issue where it isn't included to compact bone container
#tests: Michael Rumple tested this change in his local machine where we could crash consistently.
Change 2956068 on 2016/04/26 by Leslie.Nivison
Adding licenses, .tps for Mono
#test none
Change 2956049 on 2016/04/26 by Andrew.Grant
Undid accidental console variables checkin
Change 2955972 on 2016/04/26 by Bart.Bressler
Add "Mixed" replication mode used by OrionPlayerState_Game to save bandwidth while replicating the player state. Saves 1.5-2kb/s Currently turned off with a cvar (Orion.PlayerState.MixedReplicationModeForPlayers)
#tests took network profiles with/without changes, also loaded replays and used logging to make sure the correct data was getting replicated
Change 2955966 on 2016/04/26 by Andrew.Grant
Merging //UE4/Orion-Staging (Source: //UE4/Main @ 2952833)
#tests compiled, cooked, PIE, golden-path
Change 2955598 on 2016/04/25 by Andrew.Grant
Optionally show warnings and errors visually on the HUD in dev builds.
Controlled by DurationOfErrorsAndWarningsOnHUD in Engine.Engine section of DefaultEngine.ini (set to 0 to disable)
#tests game, editor, PS4 played, exited.
Change 2955589 on 2016/04/25 by Andrew.Grant
Clarified array bounds warnings in script
#tests local tests with bounds checking
Change 2955506 on 2016/04/25 by david.nikdel
#ROBOMERGE-AUTHOR: andrew.grant
Merging changes from Release branches to Main (//Orion/Main)
#ROBOMERGE-SOURCE: CL 2955505 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 2955274 on 2016/04/25 by Eric.Newman
Improved support for in-memory screenshots. Added a RequestScreenshot variant that does not require a filename parameter.
#tests sent myself several player report screenshots
#robomerge: MAIN, 25
Change 2955109 on 2016/04/25 by Jason.Bestimt
#ORION_DG - Merge MAIN @ CL 2955087
#RB:none
#Tests:none
Change 2954451 on 2016/04/25 by Jason.Bestimt
#ORION_DG - Merge MAIN @ CL 2954443
#RB:none
#tests:none
Change 2954444 on 2016/04/25 by david.nikdel
#ROBOMERGE-AUTHOR: jason.bestimt
#ORION_MAIN - Merge 25 @ CL 2954417
#RB:none
#Tests:none
#ROBOMERGE-SOURCE: CL 2954443 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 2954439 on 2016/04/25 by Robert.Manuszewski
Removing debug code
#tests none
Change 2954437 on 2016/04/25 by Robert.Manuszewski
Changing thread hang detection and DLL injection asserts to custom ensures so that we have time to verify if they work correctly in live environment.
- DLL injection will now print only worker threads' callstacks
- Tweaked messages printed when game hang is detected
- re-enabled DLL injection test
#tests Tested with cooked Win64 Client
Change 2954379 on 2016/04/25 by david.nikdel
#ROBOMERGE-AUTHOR: jason.bestimt
#ORION_25 - Merge 24.1 fixes @ CL 2954327
#RB:none
#Tests:none
#ROBOMERGE-SOURCE: CL 2954377 in //Orion/Release-0.25/... via CL 2954378
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 2954157 on 2016/04/25 by Robert.Manuszewski
Possible fix for missing/incomplete callstacks reported by thread hartbeat when a hang is detected.
#tests Cooked Win64 client
Change 2954051 on 2016/04/24 by Chris.Gagnon
Copying CL 2953496 to Paragon from Fortnite
When the console closes it now properly restores the viewports input state (both focus and capture).
#tests ran the game and used the Console
Change 2953620 on 2016/04/22 by Brad.Angelcyk
adds nullrhi to the exclusions list for rendering on linux builds. fixes build error on case sensitive filesystems.
#tests compiled LinuxNoEditor and LinuxServer
Change 2953546 on 2016/04/22 by david.nikdel
#ROBOMERGE-AUTHOR: ben.marsh
BuildGraph: Fix chunking task not correctly filtering files into the ignore list, and adding quotes around the filenames that BPT doesn't seem parse. New output verified to be the same as UAT's debug manifest.
#tests ran chunking part of build script on an existing build, and verified that the generated ignore list matches up with the UAT debug manifest.
#ROBOMERGE-SOURCE: CL 2953545 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 2953468 on 2016/04/22 by Andrew.Grant
Pulling updated PhysX binaries from //UE4/Main to address OR-19860
#tests golden path with Gideon
Change 2953432 on 2016/04/22 by Rob.Cannaday
Ignore presence updates for local user with different resources
#jira OR-19929
#tests front end party invites
#ROBOMERGE Main
Change 2953367 on 2016/04/22 by Leslie.Nivison
TPSAuditTool can't find files under Engine/Build, so adding Android .tps files under Engine/Source/ThirdParty/Android to be properly picked up.
#test none
Change 2952860 on 2016/04/22 by Ben.Marsh
EC: Simplify patterns for excluded jobs so they only have to match against the custom part of the job name. Prevents jobs with decorators such as "(#2)" not matching current patterns.
Change 2952824 on 2016/04/22 by Ben.Marsh
EC: Allow filtering out jobs from the grid view on the dashboard. We don't want to show promotion jobs there.
Change 2952632 on 2016/04/22 by Dan.Youhon
Fix delayed minion reactions to sudden root motion movements on clients
- Added OnRootMotionSourceBeingApplied virtual function to UCharacterMovementComponent, does nothing by default, in OrionCharMovementComponent we ForceServerTick() like we do on knockbacks/other velocity-changing events
- This specifically fixes Coil's BFG ability push being so quick that minions looked like they were almost teleporting to their end destination on clients - much more responsive now
#tests PIE
Change 2952390 on 2016/04/22 by david.nikdel
#ROBOMERGE-AUTHOR: andrew.grant
Back out revision 10 from //Orion/Main/Engine/Source/Runtime/PakFile/Public/IPlatformFilePak.h
#tests compiled
#ROBOMERGE-SOURCE: CL 2952388 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 2952352 on 2016/04/21 by david.nikdel
#ROBOMERGE-AUTHOR: jason.bestimt
#ORION_MAIN - Merge 25 @ CL 2952347
#RB:none
#Tests:none
#ROBOMERGE-SOURCE: CL 2952351 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 2952164 on 2016/04/21 by Leslie.Nivison
Removing invalid characters, incorrect redirect from .tps
#test none
Change 2952092 on 2016/04/21 by David.Ratti
Change Add to AddUnique for attribute initialization. This is to prevent adding attribute set twice in cases where people are initing attribute sets from DefaultStartingData
#tests pie
Change 2951671 on 2016/04/21 by Rob.Cannaday
Clear Recently Completed User Ids list when we flush a completion delegate.
#tests front end, parties, adding / removing friends
Change 2951511 on 2016/04/21 by Robert.Manuszewski
Added code to dump all running threads' stack traces to the log when DLL injection is detected.
#tests Tested in cooked win64 client
Change 2951384 on 2016/04/21 by Josh.Markiewicz
#UE4 - fixed assert when using a dedicated server only function in PIE
- too much of a pain to make this work properly, removing check
#tests PIE
#ROBOMERGE: MAIN, DUI
Change 2951247 on 2016/04/21 by david.nikdel
#ROBOMERGE-AUTHOR: jason.bestimt
#ORION_24.1 - Merge 24 @ CL 2951213
#RB:none
#Tests:none
#ROBOMERGE-SOURCE: CL 2951241 in //Orion/Release-0.24.1/... via CL 2951245
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 2950766 on 2016/04/20 by david.nikdel
#ROBOMERGE-AUTHOR: jason.bestimt
#ORION_MAIN - Merge UI @ CL 2950642
#RB:none
#Tests:none
[CodeReviewed]: matt.kuhlenschmidt, matt.schembari
#ROBOMERGE-SOURCE: CL 2950765 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 2950504 on 2016/04/20 by Jamie.Dale
Added P4FileType.Utf8
#tests Built UAT
Change 2950136 on 2016/04/20 by Andrew.Grant
Fixed issue where config var HangDuration wasn't being used
Now read from config every tick to be hotfix friendly
#tests ran game
[CL 2961397 by Andrew Grant in Main branch]
2016-04-29 15:14:04 -04:00
}
2021-10-25 20:05:28 -04:00
void SMultiBoxWidget : : SetSummonedMenuTime ( double InSummonedMenuTime )
{
SummonedMenuTime = InSummonedMenuTime ;
}
double SMultiBoxWidget : : GetSummonedMenuTime ( ) const
{
return SummonedMenuTime ;
}
2020-08-11 01:36:57 -04:00
# undef LOCTEXT_NAMESPACE