aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/io_plugins
diff options
context:
space:
mode:
authorJuan Linietsky2016-11-09 23:55:06 -0300
committerJuan Linietsky2016-11-09 23:55:06 -0300
commitcacf9ebb7fd8df8845daca9da2fe55456cc179aa (patch)
tree5881cb42ace5001916e9d1843f5a7acbc35332a6 /tools/editor/io_plugins
parent6b2a27bbe5fa112365fc88b9b4678a61293bcb53 (diff)
downloadgodot-cacf9ebb7fd8df8845daca9da2fe55456cc179aa.tar.gz
godot-cacf9ebb7fd8df8845daca9da2fe55456cc179aa.tar.zst
godot-cacf9ebb7fd8df8845daca9da2fe55456cc179aa.zip
all light types and shadows are working, pending a lot of clean-up
Diffstat (limited to 'tools/editor/io_plugins')
-rw-r--r--tools/editor/io_plugins/editor_import_collada.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/io_plugins/editor_import_collada.cpp b/tools/editor/io_plugins/editor_import_collada.cpp
index e8207c957..fa9e372eb 100644
--- a/tools/editor/io_plugins/editor_import_collada.cpp
+++ b/tools/editor/io_plugins/editor_import_collada.cpp
@@ -1468,7 +1468,7 @@ Error ColladaImport::_create_mesh_surfaces(bool p_optimize,Ref<Mesh>& p_mesh,con
mr.push_back(a);
}
- p_mesh->add_surface(Mesh::PRIMITIVE_TRIANGLES,d,mr);
+ p_mesh->add_surface_from_arrays(Mesh::PRIMITIVE_TRIANGLES,d,mr);
if (material.is_valid()) {
p_mesh->surface_set_material(surface, material);