aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes
diff options
context:
space:
mode:
authorMelanie Thielker2008-08-24 05:25:26 +0000
committerMelanie Thielker2008-08-24 05:25:26 +0000
commitc9b5641c499d23ff6674cafa1026b88ade1debec (patch)
treed9a274c8a60f94cc4246beb7816d6b453e8d6436 /OpenSim/Region/Environment/Scenes
parentAdd the fields for the eye candy and sale featires to the prims table. (diff)
downloadopensim-SC-c9b5641c499d23ff6674cafa1026b88ade1debec.zip
opensim-SC-c9b5641c499d23ff6674cafa1026b88ade1debec.tar.gz
opensim-SC-c9b5641c499d23ff6674cafa1026b88ade1debec.tar.bz2
opensim-SC-c9b5641c499d23ff6674cafa1026b88ade1debec.tar.xz
Plumb the data path for all those eye candy values. Saves texture
animation, target omega, looped sound, script access pin, allowed drop state and sale data. Loads it, too. Not all tested. Code: No Nuts. Data: Cannot Guarantee Nut Free.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs3
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs7
2 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index c44a714..36471e9 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -3940,7 +3940,8 @@ namespace OpenSim.Region.Environment.Scenes
3940 part.ObjectSaleType = saleType; 3940 part.ObjectSaleType = saleType;
3941 part.SalePrice = salePrice; 3941 part.SalePrice = salePrice;
3942 3942
3943 m_log.DebugFormat("[SCENE] Set sale data of object {0} to {1} ${2}", part.UUID, saleType, salePrice); 3943 part.ParentGroup.HasGroupChanged = true;
3944
3944 part.GetProperties(client); 3945 part.GetProperties(client);
3945 } 3946 }
3946 3947
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
index 927791f..5861298 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
@@ -428,6 +428,13 @@ namespace OpenSim.Region.Environment.Scenes
428 set { m_scriptAccessPin = (int)value; } 428 set { m_scriptAccessPin = (int)value; }
429 } 429 }
430 430
431 [XmlIgnore]
432 public Byte[] TextureAnimation
433 {
434 get { return m_TextureAnimation; }
435 set { m_TextureAnimation = value; }
436 }
437
431 public LLVector3 GroupPosition 438 public LLVector3 GroupPosition
432 { 439 {
433 get 440 get