diff options
author | Sean Dague | 2007-09-14 08:55:22 +0000 |
---|---|---|
committer | Sean Dague | 2007-09-14 08:55:22 +0000 |
commit | dddf61953b22f6018a5db186afb7a5b3aac075f6 (patch) | |
tree | ef603e569ac74976aac35fea9c76d6abc72abcbc /OpenSim/Region/Environment | |
parent | update url in default welcome note (diff) | |
download | opensim-SC_OLD-dddf61953b22f6018a5db186afb7a5b3aac075f6.zip opensim-SC_OLD-dddf61953b22f6018a5db186afb7a5b3aac075f6.tar.gz opensim-SC_OLD-dddf61953b22f6018a5db186afb7a5b3aac075f6.tar.bz2 opensim-SC_OLD-dddf61953b22f6018a5db186afb7a5b3aac075f6.tar.xz |
added ability to update group position
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index a592b0b..abb69f4 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |||
@@ -603,6 +603,13 @@ namespace OpenSim.Region.Environment.Scenes | |||
603 | this.OffsetPosition = newPos; | 603 | this.OffsetPosition = newPos; |
604 | ScheduleTerseUpdate(); | 604 | ScheduleTerseUpdate(); |
605 | } | 605 | } |
606 | |||
607 | public void UpdateGroupPosition(LLVector3 pos) | ||
608 | { | ||
609 | LLVector3 newPos = new LLVector3(pos.X, pos.Y, pos.Z); | ||
610 | this.GroupPosition = newPos; | ||
611 | ScheduleTerseUpdate(); | ||
612 | } | ||
606 | #endregion | 613 | #endregion |
607 | 614 | ||
608 | #region rotation | 615 | #region rotation |