fix: dotから始まるアセットファイルを生成しようとする

This commit is contained in:
anatawa12
2023-08-23 14:43:19 +09:00
committed by GitHub
parent 2fd81cb173
commit 97eb58b4fc
2 changed files with 6 additions and 0 deletions

View File

@@ -70,6 +70,10 @@ namespace UniGLTF
{
path = path.Replace(x, '+');
}
if (path.StartsWith('.'))
path = '+' + path;
return path;
}

View File

@@ -67,6 +67,8 @@ namespace UniVRM10
{
path = path.Replace(x, '+');
}
if (path.StartsWith('.'))
path = '+' + path;
return path;
}
}