mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-10 12:59:17 -05:00
Updated UniGLTF
This commit is contained in:
@@ -17,7 +17,7 @@ namespace UniGLTF
|
||||
}
|
||||
}
|
||||
|
||||
public partial class glTF_extensions : JsonSerializableBase
|
||||
public partial class glTF_extensions : ExtensionBase
|
||||
{
|
||||
public VRM.glTF_VRM_extensions VRM = new VRM.glTF_VRM_extensions();
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ namespace VRM
|
||||
{
|
||||
context.CreateMaterial = VRMImporter.GetMaterialFunc(glTF_VRM_Material.Parse(context.Json));
|
||||
|
||||
gltfImporter.Import(context);
|
||||
gltfImporter.Load(context);
|
||||
if (string.IsNullOrEmpty(context.Path))
|
||||
{
|
||||
if (string.IsNullOrEmpty(context.GLTF.extensions.VRM.meta.title))
|
||||
|
||||
Reference in New Issue
Block a user