diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 33 |
1 files changed, 30 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 0ffd114..85d2bee 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -1507,6 +1507,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
1507 | else | 1507 | else |
1508 | m_physicsShapeType = DefaultPhysicsShapeType(); | 1508 | m_physicsShapeType = DefaultPhysicsShapeType(); |
1509 | 1509 | ||
1510 | if (ParentGroup != null) | ||
1511 | ParentGroup.HasGroupChanged = true; | ||
1512 | |||
1510 | if(m_physicsShapeType != value) | 1513 | if(m_physicsShapeType != value) |
1511 | UpdatePhysRequired = true; | 1514 | UpdatePhysRequired = true; |
1512 | } | 1515 | } |
@@ -1522,6 +1525,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
1522 | m_density = value; | 1525 | m_density = value; |
1523 | UpdatePhysRequired = true; | 1526 | UpdatePhysRequired = true; |
1524 | } | 1527 | } |
1528 | |||
1529 | ScheduleFullUpdateIfNone(); | ||
1530 | |||
1531 | if (ParentGroup != null) | ||
1532 | ParentGroup.HasGroupChanged = true; | ||
1525 | } | 1533 | } |
1526 | } | 1534 | } |
1527 | 1535 | ||
@@ -1529,9 +1537,18 @@ namespace OpenSim.Region.Framework.Scenes | |||
1529 | { | 1537 | { |
1530 | get { return m_gravitymod; } | 1538 | get { return m_gravitymod; } |
1531 | set | 1539 | set |
1532 | { if( value >= -1 && value <=28.0f) | 1540 | { |
1533 | m_gravitymod = value; | 1541 | if( value >= -1 && value <=28.0f) |
1534 | UpdatePhysRequired = true; | 1542 | { |
1543 | m_gravitymod = value; | ||
1544 | UpdatePhysRequired = true; | ||
1545 | } | ||
1546 | |||
1547 | ScheduleFullUpdateIfNone(); | ||
1548 | |||
1549 | if (ParentGroup != null) | ||
1550 | ParentGroup.HasGroupChanged = true; | ||
1551 | |||
1535 | } | 1552 | } |
1536 | } | 1553 | } |
1537 | 1554 | ||
@@ -1545,6 +1562,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
1545 | m_friction = value; | 1562 | m_friction = value; |
1546 | UpdatePhysRequired = true; | 1563 | UpdatePhysRequired = true; |
1547 | } | 1564 | } |
1565 | |||
1566 | ScheduleFullUpdateIfNone(); | ||
1567 | |||
1568 | if (ParentGroup != null) | ||
1569 | ParentGroup.HasGroupChanged = true; | ||
1548 | } | 1570 | } |
1549 | } | 1571 | } |
1550 | 1572 | ||
@@ -1558,6 +1580,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
1558 | m_bounce = value; | 1580 | m_bounce = value; |
1559 | UpdatePhysRequired = true; | 1581 | UpdatePhysRequired = true; |
1560 | } | 1582 | } |
1583 | |||
1584 | ScheduleFullUpdateIfNone(); | ||
1585 | |||
1586 | if (ParentGroup != null) | ||
1587 | ParentGroup.HasGroupChanged = true; | ||
1561 | } | 1588 | } |
1562 | } | 1589 | } |
1563 | 1590 | ||