diff options
author | Justin Clark-Casey (justincc) | 2011-07-30 03:11:36 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-07-30 03:11:36 +0100 |
commit | d917010433dda944dd1f6a7afcb827937804e805 (patch) | |
tree | f2d81aed038365f1e31014520ea8c65d5dfef4b8 /OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | |
parent | refactor: extract method that generates a physics mesh from prim shape data (diff) | |
download | opensim-SC-d917010433dda944dd1f6a7afcb827937804e805.zip opensim-SC-d917010433dda944dd1f6a7afcb827937804e805.tar.gz opensim-SC-d917010433dda944dd1f6a7afcb827937804e805.tar.bz2 opensim-SC-d917010433dda944dd1f6a7afcb827937804e805.tar.xz |
minor: Add method doc to collision subscription methods. Change method case to reflect OpenSim standards.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs index 6b74e74..7766691 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | |||
@@ -1220,14 +1220,16 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1220 | { | 1220 | { |
1221 | m_requestedUpdateFrequency = ms; | 1221 | m_requestedUpdateFrequency = ms; |
1222 | m_eventsubscription = ms; | 1222 | m_eventsubscription = ms; |
1223 | _parent_scene.addCollisionEventReporting(this); | 1223 | _parent_scene.AddCollisionEventReporting(this); |
1224 | } | 1224 | } |
1225 | |||
1225 | public override void UnSubscribeEvents() | 1226 | public override void UnSubscribeEvents() |
1226 | { | 1227 | { |
1227 | _parent_scene.remCollisionEventReporting(this); | 1228 | _parent_scene.RemoveCollisionEventReporting(this); |
1228 | m_requestedUpdateFrequency = 0; | 1229 | m_requestedUpdateFrequency = 0; |
1229 | m_eventsubscription = 0; | 1230 | m_eventsubscription = 0; |
1230 | } | 1231 | } |
1232 | |||
1231 | public void AddCollisionEvent(uint CollidedWith, ContactPoint contact) | 1233 | public void AddCollisionEvent(uint CollidedWith, ContactPoint contact) |
1232 | { | 1234 | { |
1233 | if (m_eventsubscription > 0) | 1235 | if (m_eventsubscription > 0) |
@@ -1248,6 +1250,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1248 | m_eventsubscription = 0; | 1250 | m_eventsubscription = 0; |
1249 | } | 1251 | } |
1250 | } | 1252 | } |
1253 | |||
1251 | public override bool SubscribedEvents() | 1254 | public override bool SubscribedEvents() |
1252 | { | 1255 | { |
1253 | if (m_eventsubscription > 0) | 1256 | if (m_eventsubscription > 0) |