summaryrefslogtreecommitdiffstats
path: root/modules/godot_physics_3d/godot_shape_3d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/godot_physics_3d/godot_shape_3d.cpp')
-rw-r--r--modules/godot_physics_3d/godot_shape_3d.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/godot_physics_3d/godot_shape_3d.cpp b/modules/godot_physics_3d/godot_shape_3d.cpp
index 06f4f31cc2..e42df1aaca 100644
--- a/modules/godot_physics_3d/godot_shape_3d.cpp
+++ b/modules/godot_physics_3d/godot_shape_3d.cpp
@@ -1135,8 +1135,9 @@ void GodotConvexPolygonShape3D::_setup(const Vector<Vector3> &p_vertices) {
max_support = s;
}
}
- if (!extreme_vertices.has(best_vertex))
+ if (!extreme_vertices.has(best_vertex)) {
extreme_vertices.push_back(best_vertex);
+ }
}
}
}