aboutsummaryrefslogtreecommitdiff
path: root/scene/resources/mesh.cpp
diff options
context:
space:
mode:
authorRamesh Ravone2017-04-26 13:18:01 +0530
committerGitHub2017-04-26 13:18:01 +0530
commitcc973b461b34ccdc001d82bd0d534aefca9089de (patch)
tree4be6a800d923903859e7a130e28b37bd0e7e38c9 /scene/resources/mesh.cpp
parentffbe6660cff57243ec550574cc0ccde0664b68b5 (diff)
downloadgodot-cc973b461b34ccdc001d82bd0d534aefca9089de.tar.gz
godot-cc973b461b34ccdc001d82bd0d534aefca9089de.tar.zst
godot-cc973b461b34ccdc001d82bd0d534aefca9089de.zip
Diffstat (limited to 'scene/resources/mesh.cpp')
-rw-r--r--scene/resources/mesh.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/scene/resources/mesh.cpp b/scene/resources/mesh.cpp
index de5661af0..ab3e143e6 100644
--- a/scene/resources/mesh.cpp
+++ b/scene/resources/mesh.cpp
@@ -311,8 +311,6 @@ void Mesh::add_surface(uint32_t p_format, PrimitiveType p_primitive, const PoolV
surfaces.push_back(s);
VisualServer::get_singleton()->mesh_add_surface(mesh, p_format, (VS::PrimitiveType)p_primitive, p_array, p_vertex_count, p_index_array, p_index_count, p_aabb, p_blend_shapes, p_bone_aabbs);
-
- _recompute_aabb();
}
void Mesh::add_surface_from_arrays(PrimitiveType p_primitive, const Array &p_arrays, const Array &p_blend_shapes, uint32_t p_flags) {