mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
Rename "Bounciness" to "Restitution"
This commit is contained in:
@@ -1390,7 +1390,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
public float Density { get; set; }
|
||||
public float GravityModifier { get; set; }
|
||||
public float Friction { get; set; }
|
||||
public float Bounciness { get; set; }
|
||||
public float Restitution { get; set; }
|
||||
|
||||
#endregion Public Properties with only Get
|
||||
|
||||
@@ -3964,8 +3964,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