Revise Open Recent filter
This commit is contained in:
parent
1e7c37ab5d
commit
3d2aff70d4
1 changed files with 1 additions and 2 deletions
|
|
@ -171,9 +171,8 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
{
|
||||
int maxItemWidth = 0;
|
||||
|
||||
// Select the 25 most recent files and project onto FileSystemItems
|
||||
var recentFiles = new DirectoryInfo(ApplicationDataStorage.Instance.PlatingDirectory).GetFiles("*.mcx").OrderByDescending(f => f.LastWriteTime);
|
||||
foreach (var item in recentFiles.Where(f => f.Length > 500).Select(f => new SceneReplacementFileItem(f.FullName)).Take(12))
|
||||
foreach (var item in recentFiles.Where(f => f.Length > 215).Select(f => new SceneReplacementFileItem(f.FullName)).Take(12))
|
||||
{
|
||||
var imageBuffer = new ImageBuffer(thumbWidth, thumbWidth);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue