diff options
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() |