mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-07-13 06:32:12 -05:00
null check
This commit is contained in:
parent
ff2271eea9
commit
a319b61441
|
|
@ -33,6 +33,10 @@ namespace UniGLTF
|
|||
|
||||
public void SetRoot(GameObject ExportRoot, GltfExportSettings settings, IBlendShapeExportFilter blendShapeFilter)
|
||||
{
|
||||
if(ExportRoot==null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
MeshExportInfo.GetInfo(ExportRoot.transform.Traverse().Skip(1), Meshes, settings);
|
||||
foreach(var info in Meshes)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user