Fix bug with not deleting all children on folder delete
This commit is contained in:
@@ -655,7 +655,7 @@ namespace FlaxEditor.Modules
|
|||||||
var children = folder.Children.ToArray();
|
var children = folder.Children.ToArray();
|
||||||
for (int i = 0; i < children.Length; i++)
|
for (int i = 0; i < children.Length; i++)
|
||||||
{
|
{
|
||||||
Delete(children[0]);
|
Delete(children[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user