diff options
Diffstat (limited to 'OpenSim/Region/Physics/UbitOdePlugin')
-rw-r--r-- | OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs index 628b727..ac049b2 100644 --- a/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs +++ b/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs | |||
@@ -3320,6 +3320,10 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
3320 | 3320 | ||
3321 | protected void changeBuilding(bool newbuilding) | 3321 | protected void changeBuilding(bool newbuilding) |
3322 | { | 3322 | { |
3323 | // Check if we need to do anything | ||
3324 | if (newbuilding == m_building) | ||
3325 | return; | ||
3326 | |||
3323 | if ((bool)newbuilding) | 3327 | if ((bool)newbuilding) |
3324 | { | 3328 | { |
3325 | m_building = true; | 3329 | m_building = true; |