Added instanced property type customization

#codereview nick.darnell

[CL 2286372 by Matt Kuhlenschmidt in Main branch]
This commit is contained in:
Matt Kuhlenschmidt
2014-09-05 11:50:56 -04:00
committed by UnrealBot
parent ef800d3687
commit 7cd380b314
6 changed files with 104 additions and 94 deletions
@@ -35,7 +35,12 @@ FDetailPropertyRow::FDetailPropertyRow(TSharedPtr<FPropertyNode> InPropertyNode,
{
static FName PropertyEditor("PropertyEditor");
FPropertyEditorModule& PropertyEditorModule = FModuleManager::GetModuleChecked<FPropertyEditorModule>(PropertyEditor);
FPropertyTypeLayoutCallback LayoutCallback = PropertyEditorModule.GetPropertyTypeCustomization(Property,*PropertyHandle);
IDetailsViewPrivate& DetailsView = InParentCategory->GetDetailsView();
TSharedRef<IDetailsView> DetailsViewPtr = StaticCastSharedRef<IDetailsView>( DetailsView.AsShared() );
FPropertyTypeLayoutCallback LayoutCallback = PropertyEditorModule.GetPropertyTypeCustomization(Property,*PropertyHandle, DetailsViewPtr );
if (LayoutCallback.IsValid())
{
if (PropertyHandle->IsValidHandle())