mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Rename Bounciness to Restitution
This commit is contained in:
@@ -1736,7 +1736,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
}
|
||||
}
|
||||
|
||||
public float Bounciness
|
||||
public float Restitution
|
||||
{
|
||||
get { return m_bounce; }
|
||||
set
|
||||
@@ -4494,8 +4494,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
GravityModifier = physdata.GravitationModifier;
|
||||
if(Friction != physdata.Friction)
|
||||
Friction = physdata.Friction;
|
||||
if(Bounciness != physdata.Bounce)
|
||||
Bounciness = physdata.Bounce;
|
||||
if(Restitution != physdata.Bounce)
|
||||
Restitution = physdata.Bounce;
|
||||
}
|
||||
/// <summary>
|
||||
/// Update the flags on this prim. This covers properties such as phantom, physics and temporary.
|
||||
|
||||
Reference in New Issue
Block a user