mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Merge pull request #107 from victorlevasseur/bugfix/sprite-image-insertion-order
Fix images insertion order when adding multiple picture to an animation
This commit is contained in:
@@ -1751,7 +1751,7 @@ void SpriteObjectEditor::OnAddImageFromFileSelected(wxCommandEvent& event)
|
||||
{
|
||||
wxArrayString files;
|
||||
FileDialog.GetPaths(files);
|
||||
files.Sort(true); //Ensure that the order of insertion is alphabetical.
|
||||
files.Sort(); //Ensure that the order of insertion is alphabetical.
|
||||
|
||||
std::vector < std::string > filenames;
|
||||
for ( unsigned int i = 0; i < files.GetCount();++i )
|
||||
|
Reference in New Issue
Block a user