diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-08-01 22:23:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-01 22:23:59 +0200 |
commit | 7c860a7d4fbfb933bbf046b9beb0b767b325323f (patch) | |
tree | 51f7a91f046081d8ef6bf4be64ce892025bb9a9b /servers/physics/area_sw.h | |
parent | 083705c45dc8613858bf39a2e6a467b81990284e (diff) | |
parent | 7264716e8666b3a5d80f96f645226235e55c7b6f (diff) |
Merge pull request #9832 from RandomShaper/port-physics-fixes
Port physics fixes
Diffstat (limited to 'servers/physics/area_sw.h')
-rw-r--r-- | servers/physics/area_sw.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/physics/area_sw.h b/servers/physics/area_sw.h index 06e58e3d5a..3dae1db13f 100644 --- a/servers/physics/area_sw.h +++ b/servers/physics/area_sw.h @@ -154,6 +154,7 @@ public: _FORCE_INLINE_ void add_constraint(ConstraintSW *p_constraint) { constraints.insert(p_constraint); } _FORCE_INLINE_ void remove_constraint(ConstraintSW *p_constraint) { constraints.erase(p_constraint); } _FORCE_INLINE_ const Set<ConstraintSW *> &get_constraints() const { return constraints; } + _FORCE_INLINE_ void clear_constraints() { constraints.clear(); } void set_monitorable(bool p_monitorable); _FORCE_INLINE_ bool is_monitorable() const { return monitorable; } |