aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fixed the UpdateAgentInformation CAP: the viewer expects the simulator to ↵Oren Hurvitz2014-04-291-6/+7
| | | | | | echo back the maturity that it sent Without this change, attempts to change the maturity rating in the viewer's Preferences don't work.
* BulletSim: non-functional changes to debugging statements and formatting.Robert Adams2014-04-282-8/+7
|
* BUlletSim: move safeynet ground plane to lower altitude. Define new BulletSimRobert Adams2014-04-282-2/+6
| | | | | | | parameter 'TerrainGroundPlane' which defaults to -500. BulletSim had assumed altitudes never went negative but that is not true. The ground plane is just a safety net so things wouldn't fall to infinity.
* Add missing [Test] decorator to actually get the basic scene creation test ↵Justin Clark-Casey (justincc)2014-04-251-0/+1
| | | | from 2227f51b to run
* Add basic regression test for creating a var regionJustin Clark-Casey (justincc)2014-04-251-0/+15
|
* Add basic sanity regression test for creating a scene.Justin Clark-Casey (justincc)2014-04-251-0/+7
|
* Add regression test for terrain fill at two digit height and max ll height.Justin Clark-Casey (justincc)2014-04-252-1/+76
|
* Fix issue where terrain height values > 327 caused chaotic spiked terrain.Justin Clark-Casey (justincc)2014-04-251-2/+2
| | | | | | | | | | | Per http://wiki.secondlife.com/wiki/Tips_for_Creating_Heightfields_and_Details_on_Terrain_RAW_Files#Notes_for_Creating_Height_Field_Maps_for_Second_Life terrain heights up to 508 are possible on the LL grid (and were available on previous releases of OpenSimulator). The obvious way to allow both this and equivalent -z values, is to rewiden the internal terrain height storage from short to int. The memory tradeoff is most noticeable on the maximum 8192x8192 var region (equiv to 1024 normal regions), where it adds 128mb to resident use (128k on a normal region) This is still better than the double used in previous releases. This does not affect physics or data storage since they already use float and double respectively. This may not be the final solution if we actually want to sacrifice -z, >327 or something else. Relates to http://opensimulator.org/mantis/view.php?id=7076
* Restore overload mode accidentally disabled in a prior commit. Add a newMelanie2014-04-251-0/+6
| | | | | | config option, LogOverloads, to log when a thread pool overload occurs. This option defaults to "True" because the logging data is useful for diagnosing threading issues.
* Adjust permissions to work hand in hand with what the viewer believes they are.Melanie2014-04-251-7/+7
| | | | This fixes the issue of "Show in Search" seeming resetting at random.
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimDiva Canto2014-04-242-223/+38
|\
| * Changed how UserProfile performs a fallback call using the OpenProfile API, ↵Oren Hurvitz2014-04-241-30/+37
| | | | | | | | because now JsonRpcRequest() returns an error result instead of throwing an exception
| * Refactored: moved OpenProfileClient to a location where it can be used by ↵Oren Hurvitz2014-04-242-193/+1
| | | | | | | | both the Simulators and Robust
* | Fixes a long-standing bug related to god-mode change ownership of objects ↵Diva Canto2014-04-242-4/+6
|/ | | | permissive, where the permissions of the children prims' inventory items were not changed. As a consequence, we couldn't control some of the objects imported via HG and OARs even in god mode.
* Show Group name when land is group-ownedDev Random2014-04-231-7/+28
|
* minor: Remove unused System.Linq reference and use ParcelFlags.None instead ↵Justin Clark-Casey (justincc)2014-04-231-2/+1
| | | | of 0 from previous commit cb1f28
* Prevent sending Land Properties for unprivileged usersDev Random2014-04-231-5/+8
|
* Fix regression test break on previous commit 328bc3bJustin Clark-Casey (justincc)2014-04-231-15/+16
|
* Adjust avatar sit positioning on a target to pretty much exactly match that ↵Justin Clark-Casey (justincc)2014-04-231-14/+26
| | | | | | | | | | of the LL grid. This uses an offset of 0.05 on the up vector of the sit orientation, after extensive analysis on http://opensimulator.org/mantis/view.php?id=7096 and https://wiki.secondlife.com/wiki/Talk:LlSitTarget This supersedes the previous adjustment in 5b73b9c4 which had been wrongly applied. The maximum change is about 0.1 with a maximum height avatar. This patch is all Aleric's work - I am applying manually in order to add these additional notes
* Dynamic textures shouldn't be saved in the assets service (only in the ↵Oren Hurvitz2014-04-231-2/+2
| | | | simulator cache)
* Hypergrid: don't send Local assets to other gridsOren Hurvitz2014-04-231-35/+34
| | | | This commit also contains other changes, but they're all just for clarity. The only actual behavior change is to avoid Posting local assets.
* Removed GetUserInventory(). It wasn't being used, and was creating warnings ↵Oren Hurvitz2014-04-235-67/+1
| | | | because it's Obsolete.
* Eliminated many warningsOren Hurvitz2014-04-2332-59/+75
|
* Fixed KeyframeMotion to work with very slow movement.Oren Hurvitz2014-04-221-25/+33
| | | | | | Previously, if the movement speed was below 0.05/sec then it didn't work correctly. Fixes http://opensimulator.org/mantis/view.php?id=7117
* Changed the maximum asset name and description lengths to constants. Also, ↵Oren Hurvitz2014-04-221-0/+2
| | | | pre-truncate the description of dynamic textures.
* Fixed: when a user logged-in, sometimes he didn't get notified of the Online ↵Oren Hurvitz2014-04-212-2/+24
| | | | | | | | status of friends, so they continued to appear Offline. This happened because these notifications (the UDP packets) can only be sent to Root Agents. But the notifications were done in OnClientLogin(), at which point the client is still a Child Agent. Since a FireAndForget is used, it became a race condition as to whether the packets would be sent before or after the client became a Root Agent. To fix this, we now only send the notifications once the client becomes a Root Agent for the first time.
* Possible solution for #7120 and #7051lillith_xue2014-04-211-23/+32
| | | | Signed-off-by: Robert Adams <misterblue@misterblue.com>
* Better error-handling when storing assets: recognize that 'null' is an error ↵Oren Hurvitz2014-04-202-12/+9
| | | | value
* Fixed: when any avatar changed his Active Group, it was set as the active ↵Oren Hurvitz2014-04-201-10/+13
| | | | group for *all* the avatars in the scene (not permanently)
* Fixed: once a user has rezzed an object, they could then duplicate it as ↵Oren Hurvitz2014-04-201-3/+5
| | | | much as they wanted even if the parcel's permissions had since been changed to disallow rezzing
* Fixed: if a user belonged to the parcel's group then he was allowed to rez ↵Oren Hurvitz2014-04-201-16/+16
| | | | object in the parcel even if the flag "Create Objects by Group" was disabled
* Fixed: the parcel flag "Allow Scripts from Group" should only check if the ↵Oren Hurvitz2014-04-204-31/+25
| | | | | | parcel has a Group set; it doesn't have to be *deeded* to the group Also some cleanup of the use of Group ID's (with no change to functionality).
* Catch empty url errorBlueWall2014-04-191-0/+3
|
* In teleports, when sending the Source region, set its ServerURI to the ↵Oren Hurvitz2014-04-132-2/+7
| | | | Gatekeeper URI (which is used with Regions); not the Home URI (which is used with Users)
* BulletSim: reduce the terrain collison margin to be the same as otherRobert Adams2014-04-123-4/+11
| | | | | | | | objects in the world. This was originally changed in an attempt to make vehicles work better but the effect was not that large and it causes avatars to float above the terrain.
* Tweak to PrimLimits and add missing Regions.ini exampleDev Random2014-04-121-16/+5
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* Add per-user checking to PrimLimitsModuleDev Random2014-04-121-24/+69
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* minor: use constants instead of magic numbers in llRequestAgentData() where ↵Justin Clark-Casey (justincc)2014-04-111-6/+6
| | | | possible
* Actually add the llRequestAgentData() test class for commit 530c86Justin Clark-Casey (justincc)2014-04-111-0/+157
|
* Fix the presence info caching used in llRequestAgentData(), which was ↵Justin Clark-Casey (justincc)2014-04-111-58/+85
| | | | | | | | completely inoperative. This means the presence info may be out of date by up to 20 seconds, but this avoids scripts potentially triggering constants requests to user accout and presence info services. Relates to http://opensimulator.org/mantis/view.php?id=7088 though I fixed in a different way. Adds regression test for this case.
* BulletSim: small tweek to avatar height reduce feet embedded into prims.Robert Adams2014-04-101-1/+1
| | | | | This adjustment makes a default, shoeless avatar stand properly on a prim for the various heights (0% to 100% in the appearance adjustment).
* Allows to sell objects on a parcel of land together with that parcel of ↵Snoopy Pfeffer2014-04-101-0/+44
| | | | land. The objects that are sold together with the parcel of land need to fulfill the following preconditions: owned by the current parcel owner, not set to a group, transferrable. This feature does not work for group owned parcels or land bought by a group.
* Fixed: when teleporting between grids, the avatar name wasn't always updated.Oren Hurvitz2014-04-091-6/+67
| | | | When an avatar is in their home grid, their name appears as "First Last". In other grids the name appears as "First.Last @grid.example.com". However, viewers have a bug and they don't always show the new name. We use a trick (changing the Group Title briefly) in order to make the viewers show the new name. This is only done after a Hypergrid teleport.
* In teleports, pass the source region to the destination (similar to an HTTP ↵Oren Hurvitz2014-04-096-24/+34
| | | | referrer)
* Improved error messages when a teleport fails. The viewer's dialog already ↵Oren Hurvitz2014-04-081-4/+4
| | | | says "Teleport failed", so adding "Teleport refused" is redundant.
* Allow invalidating the users cacheOren Hurvitz2014-04-082-2/+15
|
* When sending QueryAccess to a region, also send the user's Home URIOren Hurvitz2014-04-074-9/+13
|
* Refactored: use Scene.GetAgentHomeURI() to get the Home URI of a userOren Hurvitz2014-04-074-14/+15
|
* Fixed: during a teleport we always sent the error "The teleport destination ↵Oren Hurvitz2014-04-062-7/+1
| | | | | | could not be found" to the client. This happened on both success and failure. On successful teleports this error wasn't actually shown to the user. But on failed teleports this error could hide the true cause of the failure. For example, attempting to use a Landmark that's more than 4095 regions away would result in two warnings appearing in the viewer: "Region too far" and "Destination could not be found". The second message hid the first one, so it wasn't obvious to the user what is actually the problem.
* When preparing a Hypergrid teleport, tell the receiving grid which user is ↵Oren Hurvitz2014-04-063-6/+23
| | | | | | entering the grid. This can affect which region to use. E.g., returning users may be allowed to enter any region, whereas users from other grids will have to enter a gateway region. Previously per-user decisions were only made later, but by then it's too late to change which region the user enters.