fix GetFromPath to return self when empty string is passed

This commit is contained in:
ichi23
2021-03-08 16:22:56 +09:00
parent 76e12657b0
commit 7c2d123066

View File

@@ -213,7 +213,7 @@ namespace UniGLTF
{
var current = self;
var split = path.Split('/');
var split = path.Split(new [] {'/'}, StringSplitOptions.RemoveEmptyEntries);
foreach (var childName in split)
{