|
@@ -29,34 +29,10 @@ FEzAbilityAbleTreeSummoner::FEzAbilityAbleTreeSummoner(TSharedPtr<class FAssetEd
|
|
ViewMenuTooltip = LOCTEXT("AbilityAbleTree_ToolTip", "Shows the advanced preview scene settings");
|
|
ViewMenuTooltip = LOCTEXT("AbilityAbleTree_ToolTip", "Shows the advanced preview scene settings");
|
|
}
|
|
}
|
|
|
|
|
|
-// TSharedRef<class IDetailCustomization> FEzAdvancedPreviewSceneTabSummoner::CustomizePreviewSceneDescription()
|
|
|
|
-// {
|
|
|
|
-// TSharedRef<IPersonaPreviewScene> PreviewSceneRef = PreviewScene.Pin().ToSharedRef();
|
|
|
|
-// FString SkeletonName;
|
|
|
|
-// TSharedPtr<IEditableSkeleton> EditableSkeleton = PreviewSceneRef->GetPersonaToolkit()->GetEditableSkeleton();
|
|
|
|
-// if(EditableSkeleton.IsValid())
|
|
|
|
-// {
|
|
|
|
-// SkeletonName = FAssetData(&EditableSkeleton->GetSkeleton()).GetExportTextName();
|
|
|
|
-// }
|
|
|
|
-// return MakeShareable(new FPreviewSceneDescriptionCustomization(SkeletonName, PreviewSceneRef->GetPersonaToolkit()));
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
-// TSharedRef<class IPropertyTypeCustomization> FEzAdvancedPreviewSceneTabSummoner::CustomizePreviewMeshCollectionEntry()
|
|
|
|
-// {
|
|
|
|
-// return MakeShareable(new FPreviewMeshCollectionEntryCustomization(PreviewScene.Pin().ToSharedRef()));
|
|
|
|
-// }
|
|
|
|
-
|
|
|
|
|
|
|
|
TSharedRef<SWidget> FEzAbilityAbleTreeSummoner::CreateTabBody(const FWorkflowTabSpawnInfo& Info) const
|
|
TSharedRef<SWidget> FEzAbilityAbleTreeSummoner::CreateTabBody(const FWorkflowTabSpawnInfo& Info) const
|
|
{
|
|
{
|
|
- return SNew(SEzAbleTreeViewWidget, AbleTreeViewOperationMode);
|
|
|
|
-
|
|
|
|
-// return SNew(SButton)
|
|
|
|
-// .VAlign(VAlign_Center)
|
|
|
|
-// .HAlign(HAlign_Center)
|
|
|
|
-// .Text(LOCTEXT("SplitSprites", "Split Sprites"))
|
|
|
|
-// .ToolTipText(LOCTEXT("SplitSprites_Tooltip", "Splits all sprite instances into separate sprite actors or components"));
|
|
|
|
-
|
|
|
|
|
|
+ return SNew(SEzAbleTreeViewWidget, AbleTreeViewOperationMode);
|
|
}
|
|
}
|
|
|
|
|
|
FText FEzAbilityAbleTreeSummoner::GetTabToolTipText(const FWorkflowTabSpawnInfo& Info) const
|
|
FText FEzAbilityAbleTreeSummoner::GetTabToolTipText(const FWorkflowTabSpawnInfo& Info) const
|