aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/UbitOdePlugin
diff options
context:
space:
mode:
authorMelanie2012-05-30 19:32:02 +0200
committerMelanie2012-05-30 19:32:02 +0200
commitc548f4879173ca63972eb09bcac76ca8b36e7108 (patch)
treeeea3b2bc2bedf0845a7e9949ec571b008361f1b0 /OpenSim/Region/Physics/UbitOdePlugin
parentWhitespace fix (diff)
downloadopensim-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/UbitOdePlugin')
-rw-r--r--OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs4
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;