From 80866408c7be4b50678d595bf766fffb6a2d85ff Mon Sep 17 00:00:00 2001 From: miku-666 <74728189+NessieHax@users.noreply.github.com> Date: Sun, 12 Jun 2022 19:49:14 +0200 Subject: [PATCH] Remove man.png --- .../Models/DefaultModels/CharacterModel.cs | 21 ++++++++---------- .../Properties/Resources.Designer.cs | 10 --------- .../Properties/Resources.resx | 3 --- .../Properties/Settings.Designer.cs | 2 +- MinecraftUSkinEditor/Resources/man.png | Bin 244 -> 0 bytes 5 files changed, 10 insertions(+), 26 deletions(-) delete mode 100644 MinecraftUSkinEditor/Resources/man.png diff --git a/MinecraftUSkinEditor/Classes/Models/DefaultModels/CharacterModel.cs b/MinecraftUSkinEditor/Classes/Models/DefaultModels/CharacterModel.cs index 7d4be1e8..c958e919 100644 --- a/MinecraftUSkinEditor/Classes/Models/DefaultModels/CharacterModel.cs +++ b/MinecraftUSkinEditor/Classes/Models/DefaultModels/CharacterModel.cs @@ -14,22 +14,19 @@ namespace PckStudio.Models protected override Texture[] InitializeTextures() { - return new Texture[] - { - new Texture(PckStudio.Properties.Resources.man) - }; + return new Texture[0]; } public override void AddToModelView(MinecraftModelView modelView) { - System.Drawing.Image source = base.Textures[0].Source; - Object3D object3D = new Box(source, new System.Drawing.Rectangle(8, 0, 0x10, 8), new System.Drawing.Rectangle(0, 8, 0x20, 8), new Point3D(0f, 0f, 0f), Effects.None); - Object3D object3D2 = new Box(source, new System.Drawing.Rectangle(0x28, 0, 0x10, 8), new System.Drawing.Rectangle(0x20, 8, 0x20, 8), new Point3D(0f, 0f, 0f), Effects.None); - Object3D object3D3 = new Box(source, new System.Drawing.Rectangle(0x2C, 0x10, 8, 4), new System.Drawing.Rectangle(0x28, 0x14, 0x20, 0xC), new Point3D(0f, 4f, 0f), Effects.FlipHorizontally); - Object3D object3D4 = new Box(source, new System.Drawing.Rectangle(0x2C, 0x10, 8, 4), new System.Drawing.Rectangle(0x28, 0x14, 0x20, 0xC), new Point3D(0f, 4f, 0f), Effects.None); - Object3D object3D5 = new Box(source, new System.Drawing.Rectangle(4, 0x10, 8, 4), new System.Drawing.Rectangle(0, 0x14, 0x10, 0xC), new Point3D(0f, 6f, 0f), Effects.FlipHorizontally); - Object3D object3D6 = new Box(source, new System.Drawing.Rectangle(4, 0x10, 8, 4), new System.Drawing.Rectangle(0, 0x14, 0x10, 0xC), new Point3D(0f, 6f, 0f), Effects.None); - Object3D object3D7 = new Box(source, new System.Drawing.Rectangle(0x14, 0x10, 0x10, 4), new System.Drawing.Rectangle(0x10, 0x14, 0x18, 0xC), new Point3D(0f, 0f, 0f), Effects.None); + Image source = base.Textures[0].Source; + Object3D object3D = new Box(source, new Rectangle(8, 0, 0x10, 8), new Rectangle(0, 8, 0x20, 8), new Point3D(0f, 0f, 0f), Effects.None); + Object3D object3D2 = new Box(source, new Rectangle(0x28, 0, 0x10, 8), new Rectangle(0x20, 8, 0x20, 8), new Point3D(0f, 0f, 0f), Effects.None); + Object3D object3D3 = new Box(source, new Rectangle(0x2C, 0x10, 8, 4), new Rectangle(0x28, 0x14, 0x20, 0xC), new Point3D(0f, 4f, 0f), Effects.FlipHorizontally); + Object3D object3D4 = new Box(source, new Rectangle(0x2C, 0x10, 8, 4), new Rectangle(0x28, 0x14, 0x20, 0xC), new Point3D(0f, 4f, 0f), Effects.None); + Object3D object3D5 = new Box(source, new Rectangle(4, 0x10, 8, 4), new Rectangle(0, 0x14, 0x10, 0xC), new Point3D(0f, 6f, 0f), Effects.FlipHorizontally); + Object3D object3D6 = new Box(source, new Rectangle(4, 0x10, 8, 4), new Rectangle(0, 0x14, 0x10, 0xC), new Point3D(0f, 6f, 0f), Effects.None); + Object3D object3D7 = new Box(source, new Rectangle(0x14, 0x10, 0x10, 4), new Rectangle(0x10, 0x14, 0x18, 0xC), new Point3D(0f, 0f, 0f), Effects.None); Object3DGroup object3DGroup = new Object3DGroup(); object3D2.Scale = 1.16f; object3DGroup.RotationOrder = RotationOrders.XY; diff --git a/MinecraftUSkinEditor/Properties/Resources.Designer.cs b/MinecraftUSkinEditor/Properties/Resources.Designer.cs index c762222f..7635e80d 100644 --- a/MinecraftUSkinEditor/Properties/Resources.Designer.cs +++ b/MinecraftUSkinEditor/Properties/Resources.Designer.cs @@ -300,16 +300,6 @@ namespace PckStudio.Properties { } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - public static System.Drawing.Bitmap man { - get { - object obj = ResourceManager.GetObject("man", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// diff --git a/MinecraftUSkinEditor/Properties/Resources.resx b/MinecraftUSkinEditor/Properties/Resources.resx index b31d6f95..32bb1da0 100644 --- a/MinecraftUSkinEditor/Properties/Resources.resx +++ b/MinecraftUSkinEditor/Properties/Resources.resx @@ -124,9 +124,6 @@ ..\Resources\youtube_PNG15.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\man.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Replace.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a diff --git a/MinecraftUSkinEditor/Properties/Settings.Designer.cs b/MinecraftUSkinEditor/Properties/Settings.Designer.cs index f6b2f004..bebd7744 100644 --- a/MinecraftUSkinEditor/Properties/Settings.Designer.cs +++ b/MinecraftUSkinEditor/Properties/Settings.Designer.cs @@ -12,7 +12,7 @@ namespace PckStudio.Properties { [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.8.1.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.2.0.0")] internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); diff --git a/MinecraftUSkinEditor/Resources/man.png b/MinecraftUSkinEditor/Resources/man.png deleted file mode 100644 index 5e87bef9026b13a5a8105136b9cbc268f5fc27d2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 244 zcmeAS@N?(olHy`uVBq!ia0vp^4nVBH!3-p)I`?e@QjEnx?oJHr&dIz4a#+$GeH|GX zHuiJ>Nn{1``2&1HT>t-PVEAAEuIXL-xz`|l=2G*36l+P4U+{k*VEDa_FBmAmS>O>_ z%)r2R2!t6$HM|;tg0Y@1jv*f2Z_hY#9Z=w54U8`SZybK;!6Bm^{FT{9ytEfdEfYc#)Fw!JO#T8KOcU3td?KLHXuRa5p#5{ V@WG_Qyf&ak44$rjF6*2UngF4FRw@7h