|
@@ -3213,7 +3213,7 @@ bool SpatialEditorViewport::can_drop_data_fw(const Point2 &p_point, const Varian
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
memdelete(instanced_scene);
|
|
memdelete(instanced_scene);
|
|
- } else if (type == "Mesh" || "ArrayMesh" || "PrimitiveMesh") {
|
|
|
|
|
|
+ } else if (type == "Mesh" || type == "ArrayMesh" || type == "PrimitiveMesh") {
|
|
Ref<Mesh> mesh = ResourceLoader::load(files[i]);
|
|
Ref<Mesh> mesh = ResourceLoader::load(files[i]);
|
|
if (!mesh.is_valid()) {
|
|
if (!mesh.is_valid()) {
|
|
continue;
|
|
continue;
|