Fix texture file dropping in 2D editor

This commit is contained in:
kobewi 2022-02-09 23:53:29 +01:00
parent 6ad0ca8fcd
commit 283ec9e640
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;