diff options
author | mingchen | 2007-06-28 16:17:20 +0000 |
---|---|---|
committer | mingchen | 2007-06-28 16:17:20 +0000 |
commit | 108d89f89436556c8f4662197903c374db943f7d (patch) | |
tree | 4a089c43c54bdef28c0883fd9aaef464c840c3ac /OpenSim/Region/Application | |
parent | Applied ScenePresence movement patch from Darok. (diff) | |
download | opensim-SC_OLD-108d89f89436556c8f4662197903c374db943f7d.zip opensim-SC_OLD-108d89f89436556c8f4662197903c374db943f7d.tar.gz opensim-SC_OLD-108d89f89436556c8f4662197903c374db943f7d.tar.bz2 opensim-SC_OLD-108d89f89436556c8f4662197903c374db943f7d.tar.xz |
*Master User is now set up
*Added support for getting user profile information from remote grid server (untested)
*Updated prebuild.xml
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.csproj | 12 | ||||
-rw-r--r-- | OpenSim/Region/Application/OpenSim.exe.build | 3 | ||||
-rw-r--r-- | OpenSim/Region/Application/OpenSimMain.cs | 11 |
3 files changed, 21 insertions, 5 deletions
diff --git a/OpenSim/Region/Application/OpenSim.csproj b/OpenSim/Region/Application/OpenSim.csproj index 5cefa96..f5da23d 100644 --- a/OpenSim/Region/Application/OpenSim.csproj +++ b/OpenSim/Region/Application/OpenSim.csproj | |||
@@ -102,6 +102,12 @@ | |||
102 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | 102 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> |
103 | <Private>False</Private> | 103 | <Private>False</Private> |
104 | </ProjectReference> | 104 | </ProjectReference> |
105 | <ProjectReference Include="..\..\Framework\Data\OpenSim.Framework.Data.csproj"> | ||
106 | <Name>OpenSim.Framework.Data</Name> | ||
107 | <Project>{36B72A9B-0000-0000-0000-000000000000}</Project> | ||
108 | <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | ||
109 | <Private>False</Private> | ||
110 | </ProjectReference> | ||
105 | <ProjectReference Include="..\..\Framework\GenericConfig\Xml\OpenSim.Framework.GenericConfig.Xml.csproj"> | 111 | <ProjectReference Include="..\..\Framework\GenericConfig\Xml\OpenSim.Framework.GenericConfig.Xml.csproj"> |
106 | <Name>OpenSim.Framework.GenericConfig.Xml</Name> | 112 | <Name>OpenSim.Framework.GenericConfig.Xml</Name> |
107 | <Project>{C74E4A30-0000-0000-0000-000000000000}</Project> | 113 | <Project>{C74E4A30-0000-0000-0000-000000000000}</Project> |
@@ -164,13 +170,13 @@ | |||
164 | </ProjectReference> | 170 | </ProjectReference> |
165 | </ItemGroup> | 171 | </ItemGroup> |
166 | <ItemGroup> | 172 | <ItemGroup> |
167 | <Compile Include="Application.cs"> | 173 | <Compile Include="VersionInfo.cs"> |
168 | <SubType>Code</SubType> | 174 | <SubType>Code</SubType> |
169 | </Compile> | 175 | </Compile> |
170 | <Compile Include="OpenSimMain.cs"> | 176 | <Compile Include="Application.cs"> |
171 | <SubType>Code</SubType> | 177 | <SubType>Code</SubType> |
172 | </Compile> | 178 | </Compile> |
173 | <Compile Include="VersionInfo.cs"> | 179 | <Compile Include="OpenSimMain.cs"> |
174 | <SubType>Code</SubType> | 180 | <SubType>Code</SubType> |
175 | </Compile> | 181 | </Compile> |
176 | </ItemGroup> | 182 | </ItemGroup> |
diff --git a/OpenSim/Region/Application/OpenSim.exe.build b/OpenSim/Region/Application/OpenSim.exe.build index 74eee5b..9890cfa 100644 --- a/OpenSim/Region/Application/OpenSim.exe.build +++ b/OpenSim/Region/Application/OpenSim.exe.build | |||
@@ -11,9 +11,9 @@ | |||
11 | <resources prefix="OpenSim" dynamicprefix="true" > | 11 | <resources prefix="OpenSim" dynamicprefix="true" > |
12 | </resources> | 12 | </resources> |
13 | <sources failonempty="true"> | 13 | <sources failonempty="true"> |
14 | <include name="VersionInfo.cs" /> | ||
14 | <include name="Application.cs" /> | 15 | <include name="Application.cs" /> |
15 | <include name="OpenSimMain.cs" /> | 16 | <include name="OpenSimMain.cs" /> |
16 | <include name="VersionInfo.cs" /> | ||
17 | </sources> | 17 | </sources> |
18 | <references basedir="${project::get-base-directory()}"> | 18 | <references basedir="${project::get-base-directory()}"> |
19 | <lib> | 19 | <lib> |
@@ -26,6 +26,7 @@ | |||
26 | <include name="../../../bin/OpenSim.Framework.dll" /> | 26 | <include name="../../../bin/OpenSim.Framework.dll" /> |
27 | <include name="../../../bin/OpenSim.Framework.Communications.dll" /> | 27 | <include name="../../../bin/OpenSim.Framework.Communications.dll" /> |
28 | <include name="../../../bin/OpenSim.Framework.Console.dll" /> | 28 | <include name="../../../bin/OpenSim.Framework.Console.dll" /> |
29 | <include name="../../../bin/OpenSim.Framework.Data.dll" /> | ||
29 | <include name="../../../bin/OpenSim.Framework.GenericConfig.Xml.dll" /> | 30 | <include name="../../../bin/OpenSim.Framework.GenericConfig.Xml.dll" /> |
30 | <include name="../../../bin/OpenSim.Framework.Servers.dll" /> | 31 | <include name="../../../bin/OpenSim.Framework.Servers.dll" /> |
31 | <include name="../../../bin/OpenSim.Framework.UserManagement.dll" /> | 32 | <include name="../../../bin/OpenSim.Framework.UserManagement.dll" /> |
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index 7bf6b8d..6e600b8 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs | |||
@@ -42,6 +42,8 @@ using OpenSim.Region.Environment; | |||
42 | using OpenSim.Region.Environment.Scenes; | 42 | using OpenSim.Region.Environment.Scenes; |
43 | using OpenSim.Region.Terrain; | 43 | using OpenSim.Region.Terrain; |
44 | using OpenSim.Framework.Interfaces; | 44 | using OpenSim.Framework.Interfaces; |
45 | using OpenSim.Framework.Data; | ||
46 | |||
45 | using OpenSim.Framework.Types; | 47 | using OpenSim.Framework.Types; |
46 | using OpenSim.Framework; | 48 | using OpenSim.Framework; |
47 | using OpenSim.Assets; | 49 | using OpenSim.Assets; |
@@ -250,7 +252,14 @@ namespace OpenSim | |||
250 | LocalWorld.PhysScene = this.physManager.GetPhysicsScene(this.m_physicsEngine); | 252 | LocalWorld.PhysScene = this.physManager.GetPhysicsScene(this.m_physicsEngine); |
251 | LocalWorld.PhysScene.SetTerrain(LocalWorld.Terrain.getHeights1D()); | 253 | LocalWorld.PhysScene.SetTerrain(LocalWorld.Terrain.getHeights1D()); |
252 | LocalWorld.LoadPrimsFromStorage(); | 254 | LocalWorld.LoadPrimsFromStorage(); |
253 | LocalWorld.localStorage.LoadParcels((ILocalStorageParcelReceiver)LocalWorld.parcelManager); | 255 | |
256 | //Master Avatar Setup | ||
257 | UserProfileData masterAvatar = commsManager.UserServer.SetupMasterUser(LocalWorld.RegionInfo.MasterAvatarFirstName, LocalWorld.RegionInfo.MasterAvatarLastName, LocalWorld.RegionInfo.MasterAvatarSandboxPassword); | ||
258 | if (masterAvatar != null) | ||
259 | { | ||
260 | LocalWorld.RegionInfo.MasterAvatarAssignedUUID = masterAvatar.UUID; | ||
261 | LocalWorld.localStorage.LoadParcels((ILocalStorageParcelReceiver)LocalWorld.parcelManager); | ||
262 | } | ||
254 | 263 | ||
255 | 264 | ||
256 | LocalWorld.StartTimer(); | 265 | LocalWorld.StartTimer(); |