public void GetNodeList(ObjectVector list) { foreach (KeyValuePair <string, BaseEditor> it in this.children) { if (it.Value.EditorType == EditorType.Node) { list.Add(it.Value); } it.Value.GetNodeList(list); } }
public void GetObjectList(EditorType type, ObjectVector list) { list.Clear(); if (type == EditorType.Multisel) { return; } if (type != EditorType.Node) { foreach (KeyValuePair <string, BaseEditor> it in this.namesByType[(int)type]) { list.Add(it.Value); } } else { this.rootEditor.GetNodeList(list); } }
public void GetNodeList(ObjectVector list) { foreach (KeyValuePair<string, BaseEditor> it in this.children) { if (it.Value.EditorType == EditorType.Node) { list.Add(it.Value); } it.Value.GetNodeList(list); } }