diff options
author | Jeff Ames | 2008-08-15 10:24:04 +0000 |
---|---|---|
committer | Jeff Ames | 2008-08-15 10:24:04 +0000 |
commit | dde21314e75acdaeff27af70077f283493401961 (patch) | |
tree | 490ab065895adb41ee4771fce623f99faa60b507 /OpenSim/Region/Environment/Modules/World/TreePopulator | |
parent | Fixes a case where, when inventory is not currently accessible due (diff) | |
download | opensim-SC-dde21314e75acdaeff27af70077f283493401961.zip opensim-SC-dde21314e75acdaeff27af70077f283493401961.tar.gz opensim-SC-dde21314e75acdaeff27af70077f283493401961.tar.bz2 opensim-SC-dde21314e75acdaeff27af70077f283493401961.tar.xz |
Update svn properties, formatting cleanup, fix a couple compiler warnings.
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World/TreePopulator')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/TreePopulator/TreePopulatorModule.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/TreePopulator/TreePopulatorModule.cs b/OpenSim/Region/Environment/Modules/World/TreePopulator/TreePopulatorModule.cs index cb69b47..98b3bf8 100644 --- a/OpenSim/Region/Environment/Modules/World/TreePopulator/TreePopulatorModule.cs +++ b/OpenSim/Region/Environment/Modules/World/TreePopulator/TreePopulatorModule.cs | |||
@@ -98,9 +98,9 @@ namespace OpenSim.Region.Environment.Modules.World.TreePopulator | |||
98 | { | 98 | { |
99 | if (args[0] == "tree") | 99 | if (args[0] == "tree") |
100 | { | 100 | { |
101 | LLUUID uuid = m_scene.RegionInfo.EstateSettings.EstateOwner; | 101 | LLUUID uuid = m_scene.RegionInfo.EstateSettings.EstateOwner; |
102 | if(uuid == LLUUID.Zero) | 102 | if (uuid == LLUUID.Zero) |
103 | uuid = m_scene.RegionInfo.MasterAvatarAssignedUUID; | 103 | uuid = m_scene.RegionInfo.MasterAvatarAssignedUUID; |
104 | m_log.Debug("[TREES]: New tree planting"); | 104 | m_log.Debug("[TREES]: New tree planting"); |
105 | CreateTree(uuid, new LLVector3(128.0f, 128.0f, 0.0f)); | 105 | CreateTree(uuid, new LLVector3(128.0f, 128.0f, 0.0f)); |
106 | } | 106 | } |
@@ -223,9 +223,9 @@ namespace OpenSim.Region.Environment.Modules.World.TreePopulator | |||
223 | position.X += (float) randX; | 223 | position.X += (float) randX; |
224 | position.Y += (float) randY; | 224 | position.Y += (float) randY; |
225 | 225 | ||
226 | LLUUID uuid = m_scene.RegionInfo.EstateSettings.EstateOwner; | 226 | LLUUID uuid = m_scene.RegionInfo.EstateSettings.EstateOwner; |
227 | if(uuid == LLUUID.Zero) | 227 | if (uuid == LLUUID.Zero) |
228 | uuid = m_scene.RegionInfo.MasterAvatarAssignedUUID; | 228 | uuid = m_scene.RegionInfo.MasterAvatarAssignedUUID; |
229 | 229 | ||
230 | CreateTree(uuid, position); | 230 | CreateTree(uuid, position); |
231 | } | 231 | } |