mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-05-23 15:54:31 +00:00
AnimationEditor.cs - Fixed 'CreateImageList' having wrong 'ImageLayoutDirection' when parsing frame textures
This commit is contained in:
@@ -49,7 +49,7 @@ namespace PckStudio.Forms.Editor
|
||||
|
||||
using MemoryStream textureMem = new MemoryStream(animationFile.Data);
|
||||
var texture = new Bitmap(textureMem);
|
||||
var frameTextures = texture.CreateImageList(ImageLayoutDirection.Horizontal);
|
||||
var frameTextures = texture.CreateImageList(ImageLayoutDirection.Vertical);
|
||||
|
||||
currentAnimation = animationFile.Properties.HasProperty("ANIM")
|
||||
? new Animation(frameTextures, animationFile.Properties.GetPropertyValue("ANIM"))
|
||||
|
||||
Reference in New Issue
Block a user