Fix minor issues

This commit is contained in:
Wojciech Figat
2021-12-08 16:53:44 +01:00
parent 55c015de4b
commit c35465b274
3 changed files with 2 additions and 11 deletions

View File

@@ -327,14 +327,6 @@ namespace FlaxEditor.Windows
_isUpdatingSelection = false;
}
private static bool ValidateDragActor(ActorNode actorNode)
{
// Reject dragging actors not linked to scene (eg. from prefab)
if (actorNode.ParentScene == null)
return false;
return true;
}
private bool ValidateDragAsset(AssetItem assetItem)
{
return assetItem.OnEditorDrag(this);