I am trying to do a mod which makes an outline of a character (ttoadette) and was dragging in a material, when it threw the error.
v0.36b x86
Unable to cast object of type 'BrawlLib.SSBB.ResourceNodes.MDL0ObjectNode' to type 'BrawlLib.SSBB.ResourceNodes.MDL0MaterialRefNode'.
at BrawlLib.SSBB.ResourceNodes.MDL0MaterialNode.Unbind()
at BrawlLib.SSBB.ResourceNodes.MDL0GroupNode.Unbind()
at BrawlLib.SSBB.ResourceNodes.MDL0Node.Detach()
at BrawlLib.SSBB.ResourceNodes.MDL0ObjectNode.Detach()
at BrawlLib.Internal.Windows.Controls.Model_Panel.ModelPanel.ClearTargets()
at BrawlLib.Internal.Windows.Controls.Model_Panel.ModelPanel.ClearAll()
at BrawlLib.Internal.Windows.Controls.MDL0ObjectControl.SetTarget(MDL0ObjectNode o)
at BrawlCrate.UI.MainForm.resourceTree_SelectionChanged(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at BrawlCrate.UI.ResourceTree.set_SelectedNode(TreeNode value)
at BrawlCrate.UI.ResourceTree.OnAfterSelect(TreeViewEventArgs e)
at System.Windows.Forms.TreeView.TvnSelected(NMTREEVIEW* nmtv)
at System.Windows.Forms.TreeView.WmNotify(Message& m)
at System.Windows.Forms.TreeView.WndProc(Message& m)
at BrawlCrate.UI.ResourceTree.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)
I am trying to do a mod which makes an outline of a character (ttoadette) and was dragging in a material, when it threw the error.
v0.36b x86