mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 13:55:35 +08:00
avoid doing unnecessary heavy things on change physics rep
This commit is contained in:
@@ -2969,6 +2969,13 @@ namespace OpenSim.Region.PhysicsModule.ubOde
|
||||
|
||||
private void changePhysRepData(ODEPhysRepData repData)
|
||||
{
|
||||
if(_size == repData.size &&
|
||||
_pbs == repData.pbs &&
|
||||
m_shapetype == repData.shapetype &&
|
||||
m_mesh == repData.mesh &&
|
||||
primVolume == repData.volume)
|
||||
return;
|
||||
|
||||
CheckDelaySelect();
|
||||
|
||||
OdePrim parent = (OdePrim)_parent;
|
||||
|
||||
Reference in New Issue
Block a user