diff options
author | UbitUmarov | 2016-11-12 03:31:34 +0000 |
---|---|---|
committer | UbitUmarov | 2016-11-12 03:31:34 +0000 |
commit | 4a7b8c1b41972a8ea40f08b57d3111d59505748b (patch) | |
tree | 7d703f30068a48900059e5570dbef834ba696cd0 /OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs | |
parent | Update gitignore to include VS user config folder and remove old FxCop file w... (diff) | |
download | opensim-SC_OLD-4a7b8c1b41972a8ea40f08b57d3111d59505748b.zip opensim-SC_OLD-4a7b8c1b41972a8ea40f08b57d3111d59505748b.tar.gz opensim-SC_OLD-4a7b8c1b41972a8ea40f08b57d3111d59505748b.tar.bz2 opensim-SC_OLD-4a7b8c1b41972a8ea40f08b57d3111d59505748b.tar.xz |
ubOde fix a multhreading timming issue
Diffstat (limited to 'OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs')
-rw-r--r-- | OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs b/OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs index 3403f4b..60b24ec 100644 --- a/OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs +++ b/OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs | |||
@@ -1157,6 +1157,8 @@ namespace OpenSim.Region.PhysicsModule.ubOde | |||
1157 | 1157 | ||
1158 | m_building = true; // control must set this to false when done | 1158 | m_building = true; // control must set this to false when done |
1159 | 1159 | ||
1160 | AddChange(changes.Add, null); | ||
1161 | |||
1160 | // get basic mass parameters | 1162 | // get basic mass parameters |
1161 | ODEPhysRepData repData = _parent_scene.m_meshWorker.NewActorPhysRep(this, _pbs, _size, m_shapetype); | 1163 | ODEPhysRepData repData = _parent_scene.m_meshWorker.NewActorPhysRep(this, _pbs, _size, m_shapetype); |
1162 | 1164 | ||
@@ -1165,8 +1167,6 @@ namespace OpenSim.Region.PhysicsModule.ubOde | |||
1165 | m_OBBOffset = repData.OBBOffset; | 1167 | m_OBBOffset = repData.OBBOffset; |
1166 | 1168 | ||
1167 | UpdatePrimBodyData(); | 1169 | UpdatePrimBodyData(); |
1168 | |||
1169 | AddChange(changes.Add, null); | ||
1170 | } | 1170 | } |
1171 | 1171 | ||
1172 | private void resetCollisionAccounting() | 1172 | private void resetCollisionAccounting() |