mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
minor change on create selected
This commit is contained in:
@@ -209,7 +209,7 @@ namespace OpenSim.Framework.Servers
|
||||
Environment.Exit(1);
|
||||
}
|
||||
|
||||
TimeSpan timeTaken = DateTime.Now - m_startuptime;
|
||||
//TimeSpan timeTaken = DateTime.Now - m_startuptime;
|
||||
|
||||
// MainConsole.Instance.OutputFormat(
|
||||
// "PLEASE WAIT FOR LOGINS TO BE ENABLED ON REGIONS ONCE SCRIPTS HAVE STARTED. Non-script portion of startup took {0}m {1}s.",
|
||||
|
||||
@@ -2698,7 +2698,13 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
group.RezzerID = sourcePart.UUID;
|
||||
|
||||
if( i == 0)
|
||||
if (rezSelected)
|
||||
{
|
||||
group.IsSelected = true;
|
||||
group.RootPart.CreateSelected = true;
|
||||
}
|
||||
|
||||
if ( i == 0)
|
||||
AddNewSceneObject(group, true, curpos, rot, vel);
|
||||
else
|
||||
{
|
||||
@@ -2710,11 +2716,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
AddNewSceneObject(group, true, curpos, crot, vel);
|
||||
}
|
||||
|
||||
if(rezSelected)
|
||||
{
|
||||
group.IsSelected = true;
|
||||
group.RootPart.CreateSelected = true;
|
||||
}
|
||||
|
||||
// We can only call this after adding the scene object, since the scene object references the scene
|
||||
// to find out if scripts should be activated at all.
|
||||
|
||||
Reference in New Issue
Block a user