aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorUbitUmarov2016-11-26 03:29:22 +0000
committerUbitUmarov2016-11-26 03:29:22 +0000
commite60366ce92e9166e75198e555cd8571e1cd3ec6d (patch)
tree66bb9a9c17473c8ce0fedb4ade5ff2f46d8bbc41 /OpenSim
parentIncrease float precision for windlight needed by scripts. mySQL Migration on ... (diff)
downloadopensim-SC-e60366ce92e9166e75198e555cd8571e1cd3ec6d.zip
opensim-SC-e60366ce92e9166e75198e555cd8571e1cd3ec6d.tar.gz
opensim-SC-e60366ce92e9166e75198e555cd8571e1cd3ec6d.tar.bz2
opensim-SC-e60366ce92e9166e75198e555cd8571e1cd3ec6d.tar.xz
avoid doing unnecessary heavy things on change physics rep
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs7
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;