- [GUI] Highlight nodes that are exportable as fbx.
- [GUI] Add option to toggle between selecting all subnodes or matching only (using `Alt` key).
This commit is contained in:
@@ -10,6 +10,10 @@ namespace AssetStudio.GUI
|
||||
{
|
||||
this.gameObject = gameObject;
|
||||
Text = gameObject.m_Name;
|
||||
if (gameObject.HasModel())
|
||||
{
|
||||
BackColor = System.Drawing.Color.LightBlue;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user