diff options
Diffstat (limited to 'OpenSim/Region/PhysicsModules/ubOde')
-rw-r--r-- | OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs b/OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs index 60b24ec..a50905b 100644 --- a/OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs +++ b/OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs | |||
@@ -2969,6 +2969,13 @@ namespace OpenSim.Region.PhysicsModule.ubOde | |||
2969 | 2969 | ||
2970 | private void changePhysRepData(ODEPhysRepData repData) | 2970 | private void changePhysRepData(ODEPhysRepData repData) |
2971 | { | 2971 | { |
2972 | if(_size == repData.size && | ||
2973 | _pbs == repData.pbs && | ||
2974 | m_shapetype == repData.shapetype && | ||
2975 | m_mesh == repData.mesh && | ||
2976 | primVolume == repData.volume) | ||
2977 | return; | ||
2978 | |||
2972 | CheckDelaySelect(); | 2979 | CheckDelaySelect(); |
2973 | 2980 | ||
2974 | OdePrim parent = (OdePrim)_parent; | 2981 | OdePrim parent = (OdePrim)_parent; |