Example #1
0
 private bool previewTest(MultiSourceTreeNode node, NodeInfo info)
 {
     // Check to see if the tag is previewable and isn't already open.
     if (game.TypeTable.Previewable(Path.GetExtension(info.Identifier).TrimStart('.')))
     {
         TagPath path = new TagPath(info.Identifier, game.GameID, TagLocation.Project);
         return(!RenderCore.ContainsScene(path.ToPath()));
     }
     return(false);
 }