mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-08 11:59:26 -05:00
fix expression editor and migration
This commit is contained in:
@@ -16,9 +16,11 @@ namespace UniVRM10
|
||||
/// * モデル変更時の改変への強さ
|
||||
///
|
||||
/// </summary>
|
||||
public readonly String RelativePath;
|
||||
public readonly int Index;
|
||||
public readonly float Weight;
|
||||
|
||||
// シリアライズしてEditorから変更するので readonly 不可
|
||||
public /*readonly*/ String RelativePath;
|
||||
public /*readonly*/ int Index;
|
||||
public /*readonly*/ float Weight;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
|
||||
@@ -445,7 +445,7 @@ namespace UniVRM10
|
||||
{
|
||||
var meshIndex = x["mesh"].GetInt32();
|
||||
var morphTargetIndex = x["index"].GetInt32();
|
||||
var weight = x["weight"].GetInt32() * 0.01f;
|
||||
var weight = x["weight"].GetInt32();
|
||||
|
||||
var bind = new UniGLTF.Extensions.VRMC_vrm.MorphTargetBind();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user