mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-27 06:50:23 +00:00
Apply bone transform flags again
This commit is contained in:
parent
dcfeb6e619
commit
bdccb83cc4
4 changed files with 4 additions and 4 deletions
Binary file not shown.
|
@ -696,7 +696,7 @@ namespace Bfres.Structs
|
|||
|
||||
public void SetTransforms()
|
||||
{
|
||||
/* if (BoneU != null)
|
||||
if (BoneU != null)
|
||||
{
|
||||
BoneU.TransformRotateZero = (GetRotation() == Quaternion.Identity);
|
||||
BoneU.TransformScaleOne = (GetScale() == Vector3.Zero);
|
||||
|
@ -707,7 +707,7 @@ namespace Bfres.Structs
|
|||
Bone.TransformRotateZero = (GetRotation() == Quaternion.FromEulerAngles(0,0,0));
|
||||
Bone.TransformScaleOne = (GetScale() == Vector3.One);
|
||||
Bone.TransformTranslateZero = (GetPosition() == Vector3.Zero);
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
public ResFile GetResFile()
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
this.tabPage1 = new System.Windows.Forms.TabPage();
|
||||
this.stFlowLayoutPanel1 = new Switch_Toolbox.Library.Forms.STFlowLayoutPanel();
|
||||
this.stDropDownPanel1 = new Switch_Toolbox.Library.Forms.STDropDownPanel();
|
||||
this.boneInfoPanel1 = new FirstPlugin.BoneInfoPanel();
|
||||
this.boneInfoPanel1 = new BoneInfoPanel();
|
||||
this.stDropDownPanel2 = new Switch_Toolbox.Library.Forms.STDropDownPanel();
|
||||
this.stPanel1 = new Switch_Toolbox.Library.Forms.STPanel();
|
||||
this.stLabel5 = new Switch_Toolbox.Library.Forms.STLabel();
|
||||
|
@ -93,7 +93,7 @@
|
|||
this.chkTransformCuRotateZero = new Switch_Toolbox.Library.Forms.STCheckBox();
|
||||
this.chkTransformCuRotateTrnaslateZero = new Switch_Toolbox.Library.Forms.STCheckBox();
|
||||
this.tabPage2 = new System.Windows.Forms.TabPage();
|
||||
this.userDataEditor1 = new FirstPlugin.UserDataEditor();
|
||||
this.userDataEditor1 = new UserDataEditor();
|
||||
this.stTabControl1.SuspendLayout();
|
||||
this.tabPage1.SuspendLayout();
|
||||
this.stFlowLayoutPanel1.SuspendLayout();
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue