Handle animation playback by selection rather than mouse click
This commit is contained in:
parent
cb86317cc6
commit
3713433d3b
@ -255,6 +255,11 @@ namespace Toolbox.Library.Forms
|
||||
|
||||
var node = treeViewCustom1.SelectedNode;
|
||||
|
||||
if (node is Animation || node is IAnimationContainer) {
|
||||
OnAnimationSelected(node);
|
||||
return;
|
||||
}
|
||||
|
||||
//Set the current index used determine what bone is selected.
|
||||
//Update viewport for selection viewing
|
||||
if (node is STBone)
|
||||
@ -472,7 +477,6 @@ namespace Toolbox.Library.Forms
|
||||
}
|
||||
else
|
||||
{
|
||||
OnAnimationSelected(e.Node);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user