mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-04-24 23:18:04 -05:00
fix expression editor and migration
This commit is contained in:
parent
a57e30e3ba
commit
3720fb1341
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user