Files
UnrealEngineUWP/Engine/Source/Developer/AssetTools
Jamie Dale 9270927dce #ttp 331620 - EDITOR: The SlateWidgetStyle assets are missing the ôSaveö and ôFind in CBö button in the toolbar
#proj UE4
#branch UE4
#summary You can now provide a function to get the objects you want to show in the details view when creating a FSimpleAssetEditor
#extra FAssetTypeActions_SlateWidgetStyle::OpenAssetEditor was passing in the sub-objects that it wanted to show in the details view, however, these objects were not assets, and so the asset toolbar wasn't added for them.
#change I added a way to provide a callback to FSimpleAssetEditor that allows you to extract an array of objects to edit in the details view from the list of assets provided to the function. This lets the toolbar work (as we're editing assets now), as well as keeping the details view UI working as it did before.
#extra If no callback is provided, the assets are themselves edited in the details view.
#extra This also fixes this crash from AnswerHub because you always have the asset to edit, even if the sub-object is invalid (you just get an empty details view): https://answers.unrealengine.com/questions/21281/question-bug-copying-style-assets-from-strategy-ga.html
#reviewedby Thomas.Sarkanen, Max.Preussner

[CL 2053178 by Jamie Dale in Main branch]
2014-04-23 20:04:07 -04:00
..