mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-08 20:08:53 -05:00
Fixed build error #93
This commit is contained in:
@@ -17,20 +17,6 @@ namespace VRM
|
||||
{
|
||||
}
|
||||
|
||||
public override bool IsOverwrite(UnityEngine.Object o)
|
||||
{
|
||||
if(o is BlendShapeAvatar)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if(o is BlendShapeClip)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return base.IsOverwrite(o);
|
||||
}
|
||||
|
||||
public override void Parse(string path, byte[] bytes)
|
||||
{
|
||||
var ext = Path.GetExtension(path).ToLower();
|
||||
@@ -332,7 +318,6 @@ namespace VRM
|
||||
return meta;
|
||||
}
|
||||
|
||||
#if UNITY_EDITOR
|
||||
protected override IEnumerable<UnityEngine.Object> ObjectsForSubAsset()
|
||||
{
|
||||
foreach (var x in base.ObjectsForSubAsset())
|
||||
@@ -355,6 +340,21 @@ namespace VRM
|
||||
yield return Meta;
|
||||
}
|
||||
|
||||
#if UNITY_EDITOR
|
||||
public override bool IsOverwrite(UnityEngine.Object o)
|
||||
{
|
||||
if (o is BlendShapeAvatar)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if (o is BlendShapeClip)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return base.IsOverwrite(o);
|
||||
}
|
||||
|
||||
protected override UnityPath GetAssetPath(UnityPath prefabPath, UnityEngine.Object o)
|
||||
{
|
||||
if (o is BlendShapeAvatar
|
||||
|
||||
2
UniGLTF
2
UniGLTF
Submodule UniGLTF updated: 232818e03c...690847a1a5
Reference in New Issue
Block a user