diff --git a/AssetStudio.GUI/Components/GameObjectTreeNode.cs b/AssetStudio.GUI/Components/GameObjectTreeNode.cs index 99c71e6..6d7eba8 100644 --- a/AssetStudio.GUI/Components/GameObjectTreeNode.cs +++ b/AssetStudio.GUI/Components/GameObjectTreeNode.cs @@ -10,6 +10,10 @@ namespace AssetStudio.GUI { this.gameObject = gameObject; Text = gameObject.m_Name; + if (gameObject.HasModel()) + { + BackColor = System.Drawing.Color.LightBlue; + } } } } diff --git a/AssetStudio.GUI/MainForm.cs b/AssetStudio.GUI/MainForm.cs index d0d3dd9..1453ef7 100644 --- a/AssetStudio.GUI/MainForm.cs +++ b/AssetStudio.GUI/MainForm.cs @@ -609,9 +609,12 @@ namespace AssetStudio.GUI foreach (var node in treeSrcResults) { var tempNode = node; - while (tempNode.Parent != null) + if (e.Alt) { - tempNode = tempNode.Parent; + while (tempNode.Parent != null) + { + tempNode = tempNode.Parent; + } } tempNode.EnsureVisible(); tempNode.Checked = e.Control; @@ -625,10 +628,14 @@ namespace AssetStudio.GUI nextGObject = 0; } var node = treeSrcResults[nextGObject]; - while (node.Parent != null) + if (e.Alt) { - node = node.Parent; + while (node.Parent != null) + { + node = node.Parent; + } } + node.EnsureVisible(); node.Checked = e.Control; sceneTreeView.SelectedNode = treeSrcResults[nextGObject];