aboutsummaryrefslogtreecommitdiff
path: root/src/geometry/collider.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/geometry/collider.rs')
-rw-r--r--src/geometry/collider.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/geometry/collider.rs b/src/geometry/collider.rs
index 529d2f5..2b08a96 100644
--- a/src/geometry/collider.rs
+++ b/src/geometry/collider.rs
@@ -234,6 +234,7 @@ impl Collider {
/// cloned first so that `self` contains a unique copy of that
/// shape that you can modify.
pub fn shape_mut(&mut self) -> &mut dyn Shape {
+ self.changes.insert(ColliderChanges::SHAPE);
self.shape.make_mut()
}