aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes
diff options
context:
space:
mode:
authorSean Dague2008-07-03 18:25:18 +0000
committerSean Dague2008-07-03 18:25:18 +0000
commitf0f1e00ec389c54c69c65fb2590b91d46cab6068 (patch)
tree3ac500a92862b2d5596ba3f6fd7cd257de25d536 /OpenSim/Region/Environment/Scenes
parentplaying with multicolumn mapping of vectors using a custom type (diff)
downloadopensim-SC_OLD-f0f1e00ec389c54c69c65fb2590b91d46cab6068.zip
opensim-SC_OLD-f0f1e00ec389c54c69c65fb2590b91d46cab6068.tar.gz
opensim-SC_OLD-f0f1e00ec389c54c69c65fb2590b91d46cab6068.tar.bz2
opensim-SC_OLD-f0f1e00ec389c54c69c65fb2590b91d46cab6068.tar.xz
add a couple of LL conversion properties to SOP. I'll wait to clean
up the sit target usage until the sit target fix patch goes in, but it should be cleaned. Get prims table mappings to the point where nhibernate likes them enough to start. Remove field from asset mapping so it will start
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs28
1 files changed, 28 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
index 3f5e618..5b92a8d 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
@@ -776,13 +776,41 @@ namespace OpenSim.Region.Environment.Scenes
776 public Quaternion SitTargetOrientation 776 public Quaternion SitTargetOrientation
777 { 777 {
778 get { return m_sitTargetOrientation; } 778 get { return m_sitTargetOrientation; }
779 set { m_sitTargetOrientation = value; }
779 } 780 }
780 781
782
781 public Vector3 SitTargetPosition 783 public Vector3 SitTargetPosition
782 { 784 {
783 get { return m_sitTargetPosition; } 785 get { return m_sitTargetPosition; }
786 set { m_sitTargetPosition = value; }
787 }
788
789 // This sort of sucks, but I'm adding these in to make some of
790 // the mappings more consistant.
791 public LLVector3 SitTargetPositionLL
792 {
793 get { return new LLVector3(m_sitTargetPosition.x, m_sitTargetPosition.y,m_sitTargetPosition.z); }
794 set { m_sitTargetPosition = new Vector3(value.X, value.Y, value.Z); }
784 } 795 }
785 796
797 public LLQuaternion SitTargetOrientationLL
798 {
799 get
800 {
801 return new LLQuaternion(
802 m_sitTargetOrientation.x,
803 m_sitTargetOrientation.y,
804 m_sitTargetOrientation.z,
805 m_sitTargetOrientation.w
806 );
807 }
808
809 set { m_sitTargetOrientation = new Quaternion(value.X, value.Y, value.Z, value.W); }
810 }
811
812
813
786 public bool Stopped 814 public bool Stopped
787 { 815 {
788 get { 816 get {