BrawlBox / BrawlBoxIssues

Separate issue tracker repo for bugs submitted from the application, just in case things get a little spammy.
2 stars 0 forks source link

Crash Upon Texture Import #227

Open sonich2401 opened 3 years ago

sonich2401 commented 3 years ago

Index was outside the bounds of the array. at System.BitmapExtension.GuessIfAlphaInverted(Bitmap bmp) at System.Windows.Forms.TextureConverterDialog.Recommend() at System.Windows.Forms.TextureConverterDialog.OnShown(EventArgs e) at System.Windows.Forms.Form.CallShownEvent() at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme) at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)

Version 0.78 Does this whenever I import textures. It mostly happens with large textures but if i scale them down It doesnt crash but at the end it will say there was somthing wrong with the header.

libertyernie commented 3 years ago

How large are the textures (what dimensions)?