diff options
| author | firefly2442 | 2017-12-30 21:22:16 -0700 |
|---|---|---|
| committer | firefly2442 | 2017-12-30 21:22:16 -0700 |
| commit | 9ba9e3722091c417c62bdc4637e9228fd32bb726 (patch) | |
| tree | 13407ad0526a777b98b3b47502bb1e2301ee1784 | |
| parent | 0294887a0ca1b42f9fddb3858d4ee304b3f4d055 (diff) | |
| download | godot-9ba9e3722091c417c62bdc4637e9228fd32bb726.tar.gz godot-9ba9e3722091c417c62bdc4637e9228fd32bb726.tar.zst godot-9ba9e3722091c417c62bdc4637e9228fd32bb726.zip | |
| -rw-r--r-- | editor/plugins/spatial_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/spatial_editor_plugin.cpp b/editor/plugins/spatial_editor_plugin.cpp index b26038fe0..e0a697ec2 100644 --- a/editor/plugins/spatial_editor_plugin.cpp +++ b/editor/plugins/spatial_editor_plugin.cpp @@ -3213,7 +3213,7 @@ bool SpatialEditorViewport::can_drop_data_fw(const Point2 &p_point, const Varian continue; } memdelete(instanced_scene); - } else if (type == "Mesh" || "ArrayMesh" || "PrimitiveMesh") { + } else if (type == "Mesh" || type == "ArrayMesh" || type == "PrimitiveMesh") { Ref<Mesh> mesh = ResourceLoader::load(files[i]); if (!mesh.is_valid()) { continue; |
