BrawlCrate / BrawlCrateIssues

Separate issue tracker repo for bugs submitted from the application, matching BrawlBox's implementation
3 stars 0 forks source link

CHR+SCN enabling and disabling causes hiding objects to generate this error #271

Open BrawlCrate opened 3 years ago

BrawlCrate commented 3 years ago

Polygon viewing unchecking 1 polygon will have it to where all polygons will be uncheck

v0.37 x86 Posted video of my issues on the #brawlcrate-suggestions channel on the discord server. Fairly common issue, not sure why it took me ages to report it. Alternating CHR animations and SCN animations gives me this window when hiding objects on the previewer.

BrawlCrate Canary #98cb513b04866930933fd20c290d967d20bfb3a2 x86

Object reference not set to an instance of an object.
   at BrawlLib.Internal.Windows.Controls.ModelViewer.MainWindowBase.ModelEditorBase.CreateVIS0()
   at BrawlLib.Internal.Windows.Controls.ModelViewer.MainWindowBase.ModelEditorBase.UpdateVis0(Int32 objectIndex, Int32 drawCallIndex, Boolean value)
   at BrawlCrate.UI.Model_Previewer.LeftPanel.ChecksChanged(MDL0ObjectNode poly)
   at BrawlCrate.UI.Model_Previewer.LeftPanel.lstPolygons_ItemCheck(Object sender, ItemCheckEventArgs e)
   at System.Windows.Forms.CheckedListBox.OnItemCheck(ItemCheckEventArgs ice)
   at System.Windows.Forms.CheckedListBox.LbnSelChange()
   at System.Windows.Forms.CheckedListBox.WmReflectCommand(Message& m)
   at System.Windows.Forms.ListBox.WndProc(Message& m)
   at System.Windows.Forms.CheckedListBox.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)