| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This now works again except that it requires a click or avatar mvmt to get going
This is because the ScenePresence.HandleAgentUpdate() method doesn't trigger until the client does something significant, at which point autopilot takes over.
Even clicking is enough to trigger.
This will be improved presently.
|
|
|
|
|
|
| |
hypergrid if that functionality has been enabled.
This should fix the problem today where old style HG addresses (e.g. "hg.osgrid.org:80:Vue-6400") stopped working since 8c3eb324c4b666e7abadef4a714d1bd8d5f71ac2
|
|
|
|
|
|
| |
GetRegionsByName used to not be implemented/returned null.
It's impossible that anybody is still running this since the infrastructure has changed massively since that time.
|
|
|
|
|
|
|
| |
exact region name match, unlike GetRegionsByName()
This should fix the first part of http://opensimulator.org/mantis/view.php?id=5606, and maybe 5605.
Thanks to Melanie for helping with this.
|
|
|
|
|
|
|
|
| |
a max return of 1 instead of duplicating code."
This reverts commit 8d33a2eaa10ed75146f45cca4d6c19ac814d5fee.
Better fix will be along in a minute
|
|
|
|
|
|
| |
return of 1 instead of duplicating code.
This also fixes the problem where this method would not return a hypergrid region, unlike GetRegionsByName()
|
|
|
|
| |
This is not used for anything - appearances are always properties of objects with ids (ScenePresence, AgentCircuitData) and just has the potential to get out of sync when the appearance is cloned.
|
|
|
|
|
|
| |
Had to stop using AvatarService for now since it doesn't store baked texture IDs (which is why this was failing).
Also failing because cloning appearance was also cloning the AvatarApperance.Owner field, which we weren't then changing.
Extended TestCreate() to check this.
|
|
|
|
| |
Fix build break.
|
|
|
|
|
|
| |
the Name property instead.
This is equivalent since the prim 'name' is never changed. In fact, this propery is never used for prims
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
or shape changed, also remove the OdeScene.actor_name_map entry pointing to the phys actor
This is to stop a small memory leak over time when prims are deleted or phantom-toggled
|
| |
|
|
|
|
| |
to the summary, it is being called from within Simulate() lock (OdeLock)
|
|
|
|
|
|
|
|
| |
with new prim_geom key, as the old one becomes invalid.
This resolves http://opensimulator.org/mantis/view.php?id=5603 where changing size or shape would stop collision_start being fired in a running script.
In both this and existing code we are not removing old actors from actor_name_map when the existing prim_geom is removed, which leads to a small memory leak over time.
This needs to be fixed.
|
| |
|
| |
|
|
|
|
| |
that we don't have to look at it if it's not relevant
|
|
|
|
| |
retrieved via GetDataBlock() then create a new stack instead of throwing an exception
|
|
|
|
|
|
| |
it's initially used.
This may improve memory usage for regions using mesh and sculpts, though I suspect that it doesn't address the current memory leak.
|
|
|
|
|
|
| |
is no longer required and it prevents removal of the _mesh field (which is only used temporarily)
If passing in a mesh becomes important again in the future then this can be reinstated.
|
| |
|
|
|
|
| |
this with the pre-existing _mesh field
|
| |
|
|
|
|
|
|
| |
some code reference the private var and other the public var without any functionality difference.
Add some method doc to IsPhysical
|
| |
|
| |
|
| |
|
|
|
|
| |
to reflect OpenSim standards.
|
| |
|
|
|
|
|
|
| |
it's own method.
fix build break.
|
| |
|
|
|
|
| |
into a separate method, in order to make the code more readable.
|
|
|
|
| |
specific stuff to return more information.
|
|
|
|
| |
this command is invoked.
|
|
|
|
|
|
|
| |
default Ruth height.
I was persuaded to do this because simulators on osgrid will persist in inserting bad values for an unknown length of time, even after the original simulator bug which was inserting bad values is out in an osgrid distro
This code can be removed at some point in the future, though I think there is an argument for having services police these values in open grids.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
continuing wtih the invocation.
This is to avoid bugs where the locale is not manually set on the thread and bad data values get sent to the database or over the wire.
Lots of code does this manually but as we've seen, a subtle change can hit code which has forgotton to do this.
Since en_US show be used throughout the server at present, setting it at FireAndForget seems reasonable.
Arguably, it would be better to do this where data is sent, but doing it here is much easier.
All the manual BeginInvokes() remaining in the code should probably call FireAndForget instead.
|
|
|
|
|
|
|
| |
En_US so that a different culture doesn't save values with commas as decimal points, etc.
This will hopefully stop giants stalking the grid.
See http://opensimulator.org/mantis/view.php?id=5614
|
|
|
|
|
|
| |
data fails.
This is to address http://opensimulator.org/mantis/view.php?id=5612
|
|
|
|
| |
cleared on every OdeScene.Simulate() even if it was already empty.
|
|
|
|
| |
loop for consistency and readability.
|
|
|
|
|
|
| |
NINJA joints stuff into its own method.
Now if ninja joints isn't active (which is the default) don't have to wade through a lot of massively indented irrelevant code.
|
|
|
|
|
|
| |
out ifs and locks
This is to make it more readable.
|
|
|
|
|
|
|
|
| |
region name exactly matches (not near matches)
This is to prevent situations where the first name returned by GridService.GetRegionsByName is not one that exactly matches the given region name, even when there is an exact match later on in the list.
Only the above two functions call this teleport method (the map uses a different routine) so this seems safe to change.
Addresses http://opensimulator.org/mantis/view.php?id=5606
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
authorization service rather than from the account.
This is to accomodate situations where the authorization service is being used by the hypergrid, where visitors have no user account.
See http://opensimulator.org/mantis/view.php?id=5517, this code is somewhat adapted/cleaned up from Michelle's patch
I'm a little ambivalent about this since visitors could put anything in firstname/lastname so it's not much of an auth measure.
It's up to the auth service to decide which data it actually uses.
Possibly we should be passing through other info such as agent circuit ip
|