diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index c25c973..a8c20dd 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -320,6 +320,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
320 | protected Vector3 m_lastAcceleration; | 320 | protected Vector3 m_lastAcceleration; |
321 | protected Vector3 m_lastAngularVelocity; | 321 | protected Vector3 m_lastAngularVelocity; |
322 | protected int m_lastTerseSent; | 322 | protected int m_lastTerseSent; |
323 | |||
324 | /// <summary> | ||
325 | /// Stores media texture data | ||
326 | /// </summary> | ||
327 | protected string m_mediaUrl; | ||
323 | 328 | ||
324 | // TODO: Those have to be changed into persistent properties at some later point, | 329 | // TODO: Those have to be changed into persistent properties at some later point, |
325 | // or sit-camera on vehicles will break on sim-crossing. | 330 | // or sit-camera on vehicles will break on sim-crossing. |
@@ -965,6 +970,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
965 | TriggerScriptChangedEvent(Changed.SCALE); | 970 | TriggerScriptChangedEvent(Changed.SCALE); |
966 | } | 971 | } |
967 | } | 972 | } |
973 | |||
968 | public byte UpdateFlag | 974 | public byte UpdateFlag |
969 | { | 975 | { |
970 | get { return m_updateFlag; } | 976 | get { return m_updateFlag; } |
@@ -974,7 +980,21 @@ namespace OpenSim.Region.Framework.Scenes | |||
974 | /// <summary> | 980 | /// <summary> |
975 | /// Used for media on a prim | 981 | /// Used for media on a prim |
976 | /// </summary> | 982 | /// </summary> |
977 | public string MediaUrl { get; set; } | 983 | public string MediaUrl |
984 | { | ||
985 | get | ||
986 | { | ||
987 | return m_mediaUrl; | ||
988 | } | ||
989 | |||
990 | set | ||
991 | { | ||
992 | m_mediaUrl = value; | ||
993 | |||
994 | if (ParentGroup != null) | ||
995 | ParentGroup.HasGroupChanged = true; | ||
996 | } | ||
997 | } | ||
978 | 998 | ||
979 | [XmlIgnore] | 999 | [XmlIgnore] |
980 | public bool CreateSelected | 1000 | public bool CreateSelected |