From 4a4f2479146aa33e235ed57cde311efda68d3c8f Mon Sep 17 00:00:00 2001 From: Hubert Jarosz Date: Wed, 9 Mar 2016 00:00:52 +0100 Subject: remove trailing whitespace --- scene/3d/mesh_instance.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scene/3d/mesh_instance.cpp') diff --git a/scene/3d/mesh_instance.cpp b/scene/3d/mesh_instance.cpp index 997d2dea7..cfe273fa2 100644 --- a/scene/3d/mesh_instance.cpp +++ b/scene/3d/mesh_instance.cpp @@ -139,7 +139,7 @@ AABB MeshInstance::get_aabb() const { if (!mesh.is_null()) return mesh->get_aabb(); - + return AABB(); } @@ -150,7 +150,7 @@ DVector MeshInstance::get_faces(uint32_t p_usage_flags) const { if (mesh.is_null()) return DVector(); - + return mesh->get_faces(); } @@ -177,7 +177,7 @@ void MeshInstance::create_trimesh_collision() { StaticBody* static_body = create_trimesh_collision_node()->cast_to(); ERR_FAIL_COND(!static_body); static_body->set_name( String(get_name()) + "_col" ); - + add_child(static_body); if (get_owner()) static_body->set_owner( get_owner() ); @@ -233,7 +233,7 @@ void MeshInstance::_notification(int p_what) { void MeshInstance::_bind_methods() { - + ObjectTypeDB::bind_method(_MD("set_mesh","mesh:Mesh"),&MeshInstance::set_mesh); ObjectTypeDB::bind_method(_MD("get_mesh:Mesh"),&MeshInstance::get_mesh); ObjectTypeDB::bind_method(_MD("set_skeleton_path","skeleton_path:NodePath"),&MeshInstance::set_skeleton_path); -- cgit v1.2.3-70-g09d2