1
0
mirror of synced 2025-01-19 01:14:08 +01:00

Fix transform reset on first mesh

This commit is contained in:
KillzXGaming 2019-04-11 20:03:22 -04:00
parent 7edde8ee93
commit 9642810642
4 changed files with 7 additions and 7 deletions

Binary file not shown.

View File

@ -435,14 +435,14 @@ namespace Switch_Toolbox.Library.Forms
Vector2 Translate = new Vector2((float)transXUD.Value, (float)transYUD.Value);
shape.TransformUVs(Translate, Scale, UvChannelIndex);
scaleXUD.Value = 1;
scaleYUD.Value = 1;
transXUD.Value = 0;
transYUD.Value = 0;
gL_ControlLegacy2D1.Invalidate();
}
scaleXUD.Value = 1;
scaleYUD.Value = 1;
transXUD.Value = 0;
transYUD.Value = 0;
gL_ControlLegacy2D1.Invalidate();
}
private void gL_ControlLegacy2D1_Resize(object sender, EventArgs e)