Merge pull request #491 from ousttrue/sparse_default_false

Sparse default false
This commit is contained in:
ousttrue 2020-07-28 14:46:49 +09:00 committed by GitHub
commit 2ac18aae14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View File

@ -265,6 +265,10 @@ namespace UniGLTF
blendShapeIndexMap.Add(j, exportBlendShapes++);
// maybe skip
blendShapeIndexMap.Add(j, exportBlendShapes++);
//
// all primitive has same blendShape
//

View File

@ -27,7 +27,7 @@ namespace UniGLTF
var go = Selection.activeObject as GameObject;
if (go.transform.position == Vector3.zero &&
go.transform.rotation == Quaternion.identity &&
go.transform.rotation == Quaternion.identity &&
go.transform.localScale == Vector3.one)
{
var path = EditorUtility.SaveFilePanel(

View File

@ -66,7 +66,7 @@ namespace VRM
/// BlendShapeのシリアライズにSparseAccessorを使う
/// </summary>
[Tooltip("Use sparse accessor for blendshape. This may reduce vrm size")]
public bool UseSparseAccessor = true;
public bool UseSparseAccessor = false;
/// <summary>
/// BlendShapeのPositionのみをエクスポートする