mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-08-26 21:04:14 -05:00
Avoid BlendShape and Material overwrite. #56
This commit is contained in:
@@ -17,6 +17,20 @@ 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();
|
||||
|
||||
2
UniGLTF
2
UniGLTF
Submodule UniGLTF updated: 415719191b...a59f6438ec
Reference in New Issue
Block a user