Fixed build error #93

This commit is contained in:
ousttrue
2018-12-28 14:47:19 +09:00
parent 17f87a44e8
commit 5c7e7b0627
2 changed files with 16 additions and 16 deletions

View File

@@ -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

Submodule UniGLTF updated: 232818e03c...690847a1a5