new MapEditPlugin.Components.MapControl();
if (tile < 0 || tile > Tileset.Tiles.Count - 1) tile = -1;Selected.Add(tile);
if (tile >= 0 && tile < Tileset.Tiles.Count){ Selected.Add(tile)}
Hmm, I guess I'll recode the tile selection stuff. It was elegant at one point but then there were a series of changes that kinda added code here and there and got kinda got messier as time went on.
Unhandled Exception:System.NullReferenceException: Object reference not set to an instance of an object at Sphere_Editor.SubEditors.ProjectTree.Refresh () [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.OnEnabledChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.OnParentEnabledChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.OnEnabledChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Form.OnEnabledChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.set_Enabled (Boolean value) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:set_Enabled (bool) at System.Windows.Forms.Form.ShowDialog (IWin32Window owner) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Form.ShowDialog () [0x00000] in <filename unknown>:0 at System.Windows.Forms.MessageBox+MessageBoxForm.RunDialog () [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.MessageBox/MessageBoxForm:RunDialog () at System.Windows.Forms.MessageBox.Show (System.String text, System.String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton) [0x00000] in <filename unknown>:0 at Sphere_Editor.EditorForm.EditorForm_Shown (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Form.OnShown (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Form.SetVisibleCore (Boolean value) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.set_Visible (Boolean value) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:set_Visible (bool) at System.Windows.Forms.Application.RunLoop (Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00000] in <filename unknown>:0 at Sphere_Editor.Program.Main () [0x00000] in <filename unknown>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object at Sphere_Editor.SubEditors.ProjectTree.Refresh () [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.OnEnabledChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.OnParentEnabledChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.OnEnabledChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Form.OnEnabledChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.set_Enabled (Boolean value) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:set_Enabled (bool) at System.Windows.Forms.Form.ShowDialog (IWin32Window owner) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Form.ShowDialog () [0x00000] in <filename unknown>:0 at System.Windows.Forms.MessageBox+MessageBoxForm.RunDialog () [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.MessageBox/MessageBoxForm:RunDialog () at System.Windows.Forms.MessageBox.Show (System.String text, System.String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton) [0x00000] in <filename unknown>:0 at Sphere_Editor.EditorForm.EditorForm_Shown (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Form.OnShown (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Form.SetVisibleCore (Boolean value) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.set_Visible (Boolean value) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:set_Visible (bool) at System.Windows.Forms.Application.RunLoop (Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00000] in <filename unknown>:0 at Sphere_Editor.Program.Main () [0x00000] in <filename unknown>:0 Unhandled Exception:System.ArgumentException: Object has been disposed. at System.Drawing.Font.ToHfont () [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Drawing.Font:ToHfont () at System.Windows.Forms.TextRenderer.MeasureTextInternal (IDeviceContext dc, System.String text, System.Drawing.Font font, Size proposedSize, TextFormatFlags flags, Boolean useMeasureString) [0x00000] in <filename unknown>:0 at System.Windows.Forms.TextRenderer.MeasureText (System.String text, System.Drawing.Font font) [0x00000] in <filename unknown>:0 at System.Windows.Forms.ToolStripMenuItem.CalculatePreferredSize (Size constrainingSize) [0x00000] in <filename unknown>:0 at System.Windows.Forms.ToolStripItem.GetPreferredSize (Size constrainingSize) [0x00000] in <filename unknown>:0 at System.Windows.Forms.ToolStripDropDownMenu.OnLayout (System.Windows.Forms.LayoutEventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.PerformLayout (System.Windows.Forms.Control affectedControl, System.String affectedProperty) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.PerformLayout () [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:PerformLayout () at System.Windows.Forms.ToolStripItem.OnParentChanged (System.Windows.Forms.ToolStrip oldParent, System.Windows.Forms.ToolStrip newParent) [0x00000] in <filename unknown>:0 at System.Windows.Forms.ToolStripItem.set_Parent (System.Windows.Forms.ToolStrip value) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.ToolStripItem:set_Parent (System.Windows.Forms.ToolStrip) at System.Windows.Forms.ToolStripItemCollection.Remove (System.Windows.Forms.ToolStripItem value) [0x00000] in <filename unknown>:0 at System.Windows.Forms.ToolStripItem.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0 at System.Windows.Forms.ToolStripDropDownItem.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0 at System.Windows.Forms.ToolStripMenuItem.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0 at System.ComponentModel.Component.Finalize () [0x00000] in <filename unknown>:0
/home/jester/Downloads/spherestudio-master/spherestudio-master/Sphere Studio.sln (default targets) ->(Build target) ->/home/jester/Downloads/spherestudio-master/spherestudio-master/TaskListPlugin/TaskListPlugin.csproj (default targets) ->/usr/lib/mono/4.0/Microsoft.CSharp.targets (CoreCompile target) -> TaskList.cs(186,62): error CS0246: The type or namespace name `BrightIdeasSoftware' could not be found. Are you missing an assembly reference? TaskList.cs(198,63): error CS0246: The type or namespace name `BrightIdeasSoftware' could not be found. Are you missing an assembly reference? TaskList.Designer.cs(277,17): error CS0246: The type or namespace name `BrightIdeasSoftware' could not be found. Are you missing an assembly reference? TaskList.Designer.cs(278,17): error CS0246: The type or namespace name `BrightIdeasSoftware' could not be found. Are you missing an assembly reference? TaskList.Designer.cs(279,17): error CS0246: The type or namespace name `BrightIdeasSoftware' could not be found. Are you missing an assembly reference? TaskList.Designer.cs(280,17): error CS0246: The type or namespace name `BrightIdeasSoftware' could not be found. Are you missing an assembly reference?