Apply bone transform flags again

This commit is contained in:
KillzXGaming 2019-06-23 09:12:13 -04:00
parent dcfeb6e619
commit bdccb83cc4
4 changed files with 4 additions and 4 deletions

Binary file not shown.

View file

@ -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()

View file

@ -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();