Merge pull request #57886 from KoBeWi/icon.png_drop

This commit is contained in:
Rémi Verschelde 2022-02-10 16:12:36 +01:00 committed by GitHub
commit 52a7ecf821
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 4 deletions

View file

@ -5955,8 +5955,6 @@ bool CanvasItemEditorViewport::can_drop_data(const Point2 &p_point, const Varian
continue;
}
memdelete(instantiated_scene);
} else {
continue;
}
can_instantiate = true;
break;

View file

@ -3959,8 +3959,6 @@ bool Node3DEditorViewport::can_drop_data_fw(const Point2 &p_point, const Variant
continue;
}
memdelete(instantiated_scene);
} else {
continue;
}
can_instantiate = true;
break;