fix(gen1): retain NexRent baseline when tenant objects are selected
This commit is contained in:
1 parent
af5ccd5337
commit
c026113e67
1 file changed
+5
-1
@@ -1931,9 +1931,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
foreach (ISceneObject obj in land.GetSceneObjectGroups())
|
||||
{
|
||||
if (obj is not SceneObjectGroup group ||
|
||||
group.IsDeleted || group.IsAttachment || group.IsSelected ||
|
||||
group.IsDeleted || group.IsAttachment ||
|
||||
group.OwnerID != tenantId)
|
||||
continue;
|
||||
// Selected objects cannot safely be returned yet; don't
|
||||
// discard the baseline and retry after deselection.
|
||||
if (group.IsSelected)
|
||||
return -6;
|
||||
// A pre-existing prim might have been linked to another
|
||||
// object. Never return a group containing ANY baseline part.
|
||||
bool containsOldPart = false;
|
||||
|
||||
Reference in new issue
Block a user