Skip to content

Commit 21fe7bb

Browse files
author
David Kline
authored
Merge pull request #8740 from davidkline-ms/inv8733
Fix for #8733: Limit migration tool to Assets folder tree
2 parents 5233eed + 4f10a81 commit 21fe7bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/MRTK/SDK/Editor/Migration/Tools/MigrationTool.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ private static List<string> FindAllAssetsOfType(Type[] types)
397397
var filter = string.Join(" ", types
398398
.Select(x => string.Format("t:{0}", x.Name))
399399
.ToArray());
400-
return AssetDatabase.FindAssets(filter).Select(x => AssetDatabase.GUIDToAssetPath(x)).ToList();
400+
return AssetDatabase.FindAssets(filter, new[] {"Assets"}).Select(x => AssetDatabase.GUIDToAssetPath(x)).ToList();
401401
}
402402

403403
private static bool IsSceneGameObject(Object selectedObject)

0 commit comments

Comments
 (0)