resolve a few warnings

This commit is contained in:
LockeExile 2019-08-25 13:08:32 -07:00
parent 50bd4e2e65
commit a8b96185ca
3 changed files with 2 additions and 4 deletions

View file

@ -77,7 +77,7 @@ namespace Bfres.Structs
Nodes.Add(new FSKL.fsklNode()); Nodes.Add(new FSKL.fsklNode());
} }
public ToolStripItem[] GetContextMenuItems() public override ToolStripItem[] GetContextMenuItems()
{ {
List<ToolStripItem> Items = new List<ToolStripItem>(); List<ToolStripItem> Items = new List<ToolStripItem>();
Items.AddRange(base.GetContextMenuItems()); Items.AddRange(base.GetContextMenuItems());

View file

@ -1192,7 +1192,6 @@ namespace Bfres.Structs
public int[] display; public int[] display;
public int DisplayId; public int DisplayId;
public int VertexBufferIndex;
public int TargetAttribCount; public int TargetAttribCount;
public List<float> boundingRadius = new List<float>(); public List<float> boundingRadius = new List<float>();
@ -1202,7 +1201,6 @@ namespace Bfres.Structs
public Vector3 Center; public Vector3 Center;
public Vector3 Extend; public Vector3 Extend;
} }
public int DisplayLODIndex = 0;
public List<VertexAttribute> vertexAttributes = new List<VertexAttribute>(); public List<VertexAttribute> vertexAttributes = new List<VertexAttribute>();
public class VertexAttribute public class VertexAttribute

View file

@ -57,7 +57,7 @@ namespace Toolbox.Library.NodeWrappers
CanDelete = false; CanDelete = false;
} }
public ToolStripItem[] GetContextMenuItems() public virtual ToolStripItem[] GetContextMenuItems()
{ {
if (IsFolder) if (IsFolder)
{ {