diff options
author | Melanie | 2012-03-20 12:34:06 +0100 |
---|---|---|
committer | Melanie | 2012-03-20 12:34:06 +0100 |
commit | f2d17433bbb942e6b97fe7879f910f8fd2d7a0d6 (patch) | |
tree | 5fedae16f9e03c77b002523b853fcc9952debca5 /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |
parent | Fix an invalid cast that only showed at runtime (diff) | |
download | opensim-SC_OLD-f2d17433bbb942e6b97fe7879f910f8fd2d7a0d6.zip opensim-SC_OLD-f2d17433bbb942e6b97fe7879f910f8fd2d7a0d6.tar.gz opensim-SC_OLD-f2d17433bbb942e6b97fe7879f910f8fd2d7a0d6.tar.bz2 opensim-SC_OLD-f2d17433bbb942e6b97fe7879f910f8fd2d7a0d6.tar.xz |
Cause prims to be saved if extra physics parameters are changed
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index fbe959a..9914c78 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -1505,6 +1505,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1505 | } | 1505 | } |
1506 | else | 1506 | else |
1507 | m_physicsShapeType = DefaultPhysicsShapeType(); | 1507 | m_physicsShapeType = DefaultPhysicsShapeType(); |
1508 | ParentGroup.HasGroupChanged = true; | ||
1508 | } | 1509 | } |
1509 | } | 1510 | } |
1510 | 1511 | ||
@@ -1518,6 +1519,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1518 | m_density = value; | 1519 | m_density = value; |
1519 | ScheduleFullUpdateIfNone(); | 1520 | ScheduleFullUpdateIfNone(); |
1520 | } | 1521 | } |
1522 | ParentGroup.HasGroupChanged = true; | ||
1521 | } | 1523 | } |
1522 | } | 1524 | } |
1523 | 1525 | ||
@@ -1528,6 +1530,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1528 | { if( value >= -1 && value <=28.0f) | 1530 | { if( value >= -1 && value <=28.0f) |
1529 | m_gravitymod = value; | 1531 | m_gravitymod = value; |
1530 | ScheduleFullUpdateIfNone(); | 1532 | ScheduleFullUpdateIfNone(); |
1533 | ParentGroup.HasGroupChanged = true; | ||
1531 | } | 1534 | } |
1532 | } | 1535 | } |
1533 | 1536 | ||
@@ -1541,6 +1544,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1541 | m_friction = value; | 1544 | m_friction = value; |
1542 | ScheduleFullUpdateIfNone(); | 1545 | ScheduleFullUpdateIfNone(); |
1543 | } | 1546 | } |
1547 | ParentGroup.HasGroupChanged = true; | ||
1544 | } | 1548 | } |
1545 | } | 1549 | } |
1546 | 1550 | ||
@@ -1554,6 +1558,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1554 | m_bounce = value; | 1558 | m_bounce = value; |
1555 | ScheduleFullUpdateIfNone(); | 1559 | ScheduleFullUpdateIfNone(); |
1556 | } | 1560 | } |
1561 | ParentGroup.HasGroupChanged = true; | ||
1557 | } | 1562 | } |
1558 | } | 1563 | } |
1559 | 1564 | ||