diff options
author | Melanie | 2012-05-30 19:32:02 +0200 |
---|---|---|
committer | Melanie | 2012-05-30 19:32:02 +0200 |
commit | c548f4879173ca63972eb09bcac76ca8b36e7108 (patch) | |
tree | eea3b2bc2bedf0845a7e9949ec571b008361f1b0 /OpenSim/Region/Physics | |
parent | Whitespace fix (diff) | |
download | opensim-SC_OLD-c548f4879173ca63972eb09bcac76ca8b36e7108.zip opensim-SC_OLD-c548f4879173ca63972eb09bcac76ca8b36e7108.tar.gz opensim-SC_OLD-c548f4879173ca63972eb09bcac76ca8b36e7108.tar.bz2 opensim-SC_OLD-c548f4879173ca63972eb09bcac76ca8b36e7108.tar.xz |
Guard setting the building flag
Diffstat (limited to 'OpenSim/Region/Physics')
-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; |