1
0
mirror of synced 2024-11-28 01:10:51 +01:00

Handle animation playback by selection rather than mouse click

This commit is contained in:
KillzXGaming 2020-05-10 11:10:31 -04:00
parent cb86317cc6
commit 3713433d3b

View File

@ -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);
}
}