Scale bones according to preview scale properly
This commit is contained in:
parent
27a7469201
commit
347fd412ce
@ -779,7 +779,6 @@ namespace FirstPlugin
|
||||
BFRESRender.ModelTransform = MarioCostumeEditor.SetTransform(FileName);
|
||||
BFRESRender.ResFileNode = this;
|
||||
|
||||
|
||||
if (IsWiiU)
|
||||
{
|
||||
LoadFile(new Syroot.NintenTools.Bfres.ResFile(stream));
|
||||
|
@ -536,6 +536,8 @@ namespace LayoutBXLYT
|
||||
{
|
||||
if (LayoutAnimEditor != null)
|
||||
LayoutAnimEditor.OnAnimationPlaying();
|
||||
if (AnimationMode && LayoutPaneEditor != null)
|
||||
LayoutPaneEditor.ReloadEditor();
|
||||
}
|
||||
|
||||
private void stComboBox1_MouseDoubleClick(object sender, MouseEventArgs e)
|
||||
|
@ -22,5 +22,5 @@ void main()
|
||||
else
|
||||
position = bone * rotation * vec4((point.xyz - vec3(0, 1, 0)) * scale, 1);
|
||||
}
|
||||
gl_Position = mtxCam * ModelMatrix * mtxMdl * vec4(position.xyz, 1);
|
||||
gl_Position = mtxCam * mtxMdl * ModelMatrix * vec4(position.xyz, 1);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user