private GetParentTex ( |
||
tex | ||
리턴 | int |
private int GetParentTex(out TPFTexInfo tex)
{
tex = null;
// Heff: Cancellation check
if (cts.IsCancellationRequested)
return -1;
myTreeNode node = MainTreeView.SelectedNode as myTreeNode;
myTreeNode parent = (node.Parent as myTreeNode);
tex = LoadedTexes[parent.TexInd];
return parent.TexInd;
}