Add support for subdirectories #40
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
IllusionMods/KeelPlugins!40
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
BetterSceneLoader could previously not load folders that were part of other subdirectories. This commit introduces a recursive way to get all folders for the dropdown selection.
I'll be honest, I noticed that problem by accident because I sort some of my files in some deeper folders, and wasn't able to select those folders.
Directory.GetDirectoriesalready has an option to search recursively so there is no need to do that manually.I'll do the appropriate edit then
Also why change
folders.Insert? That will change the default folder.That was an oversight on my part, just way too used to Add instead of insert, the result will be the same, just the order will be different.
If ya need me to switch it to Insert rather than Add, I can do so rq
The order is important, the first one is used as the default folder.
With this, the default folder is once again first, while also adding the subdirs