diff options
Diffstat (limited to 'src/dynamics/joint')
| -rw-r--r-- | src/dynamics/joint/joint_set.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dynamics/joint/joint_set.rs b/src/dynamics/joint/joint_set.rs index 01e0d27..aba2aa8 100644 --- a/src/dynamics/joint/joint_set.rs +++ b/src/dynamics/joint/joint_set.rs @@ -37,7 +37,7 @@ pub(crate) type JointIndex = usize; pub(crate) type JointGraphEdge = crate::data::graph::Edge<Joint>; #[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))] -#[derive(Clone)] +#[derive(Clone, Default)] /// A set of joints that can be handled by a physics `World`. pub struct JointSet { rb_graph_ids: Coarena<RigidBodyGraphIndex>, |
