Files
UnrealEngineUWP/Engine/Source/Editor/PlacementMode
Richard TalbotWatkin 76e5ce4ad6 Deleting assets forces the Mode tab's Recently Placed list to be refreshed.
#ttp 334592 - When an asset is deleted from the content browser, it should be removed from the 'recently placed' list as well to avoid confusion
#branch UE4
#proj Editor.PlacementMode
#add Added FPlacementMode::OnAssetRemoved, which forces a refresh of the recently placed list.  Added a call to this method in the OnAssetRemoved event in AssetRegistryModule.
#add In SPlacementModeTools::RefreshRecentlyPlaced, the list of asset paths is iterated, and those which yield a valid FAssetData object are added to the widget container.  In the case of a just deleted widget, the UObject is only marked as pending delete (it has had its RF_Standalone flag cleared), and a GC sweep cannot yet have happened, so it's necessary to explicitly check for this flag set when iterating.

[CL 2073929 by Richard TalbotWatkin in Main branch]
2014-05-15 03:33:50 -04:00
..