Skip to content

Commit

Permalink
replaced weird fix with better one.
Browse files Browse the repository at this point in the history
  • Loading branch information
alffanclub committed Mar 1, 2018
1 parent 0fde48c commit e28d000
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Editor/AssetListTree.cs
Original file line number Diff line number Diff line change
Expand Up @@ -190,11 +190,12 @@ protected override void DoubleClickedItem(int id)

protected override void SelectionChanged(IList<int> selectedIds)
{
List<int> ids = new List<int>(selectedIds);
if (selectedIds == null)
return;

List<Object> selectedObjects = new List<Object>();
List<AssetBundleModel.AssetInfo> selectedAssets = new List<AssetBundleModel.AssetInfo>();
foreach (var id in ids)
foreach (var id in selectedIds)
{
var assetItem = FindItem(id, rootItem) as AssetBundleModel.AssetTreeItem;
if (assetItem != null)
Expand Down

0 comments on commit e28d000

Please sign in to comment.