Skip to content

Commit d8f4071

Browse files
authored
Merge pull request #6984 from Troy-Ferrell/users/trferrel/dependency-graph-updates
Update dependency graph
2 parents b7b9fb9 + 3c7a292 commit d8f4071

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Assets/MixedRealityToolkit.Tools/DependencyWindow/DependencyWindow.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ private class DependencyGraphNode
5050
".mat",
5151
".anim",
5252
".controller",
53+
".playable",
5354
};
5455

5556
private readonly string[] assetsWithMetaDependencies =
@@ -332,7 +333,6 @@ private void RefreshDependencyGraph()
332333
}
333334

334335
string guid = GetGuidFromMeta(metaFile);
335-
336336
if (!IsGuidValid(guid))
337337
{
338338
continue;
@@ -411,7 +411,8 @@ private static bool DoesNodeHaveExtension(DependencyGraphNode node, string[] tar
411411

412412
private static bool IsGuidValid(string guid)
413413
{
414-
return !string.IsNullOrEmpty(guid) && guid != nullGuid;
414+
return !string.IsNullOrEmpty(guid) && guid != nullGuid
415+
&& !string.IsNullOrEmpty(Path.GetExtension(AssetDatabase.GUIDToAssetPath(guid)));
415416
}
416417

417418
private static string GetGuidFromMeta(string file)

0 commit comments

Comments
 (0)