mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-10-01 07:11:02 -05:00
fix GetFromPath to return self when empty string is passed
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user