aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Replaced llRot2Euler function.John Cochran2012-01-062-36/+92
| | | | | | | | | | | | | | | | | | | | The original function suffered from unexpected results due to rounding errors. An error of only 1 or 2 ulps would cause the code to not detect a singularity at Y rotation +/- PI/2 and take the non-singularity code path. The replacement code does not suffer from wildly inaccurate results at the +/- PI/2 singularity. The check in the code for the singularity isn't strictly needed, but gives more consistent results At the singularity, the X and Z rotations add. The if check simply forces the X rotation to be zero so the entirety of the X+Z rotation is carried by Z. Additionally, the test code has been updated to include test cases that caused the old code to fail. The test algorithm is also updated to perform a more meaningful test. The original code checked if the values against expected values. This could fail at +/- PI rotations since a rotation around an axis by PI causes the identical effect as a rotation by -PI. The new test code checks that the returned angles can be used to recreate a quaternion that causes the same rotation.
* Implement the FetchInventory2 capability. This accompanies the existing ↵Justin Clark-Casey (justincc)2012-01-061-0/+151
| | | | | | | | | | FetchInventoryDescendents2 capability. Not yet enabled by default. You can enable this by setting Cap_FetchInventory2 = "localhost" in the [ClientStack.LindenCaps] section of OpenSim.ini Enabling both FetchInventory2 and FetchInventoryDescendents2 improves the situation with properly fetching attachments and hud objects Probably because viewers are never expecting the odd situation where FetchInventoryDescendents2 is present but not FetchInventory2 However, for some reason attachments and hud objects occasionally fail to appear, though their status is correct in inventory For attachments, focussing on the avatar makes them appear. Hud objects have to be reattached.
* If dragging a script that is no copy from prim inventory into agentMelanie2012-01-061-16/+39
| | | | | inventory, stop it first in scene. If deleting from prims, move to trash rather then making it poof.
* Add ThreatLevel.NoAccess to OSSL. This allows to enable OSSL without enablingMelanie2012-01-062-1/+5
| | | | | any methods, even those without threat, automatically. It is for use with setups wanting to allow only specific methods to specific users.
* Improve "j2k decode" command to tell us how many layers and components were ↵Justin Clark-Casey (justincc)2012-01-053-8/+39
| | | | decoded, instead of just success/failure
* Add a "j2k decode" region console command that allows a manual request for a ↵Justin Clark-Casey (justincc)2012-01-053-9/+163
| | | | | | JPEG2000 decode of an asset For debugging purposes.
* Make "show asset" command available simulator side. Actually make the ↵Justin Clark-Casey (justincc)2012-01-051-0/+51
| | | | | | service command be "show asset" instead of "show digest" this time. Last time I accidnetally just changed the usage message.
* Move simulator asset info commands to an optional module from the connector. ↵Justin Clark-Casey (justincc)2012-01-052-3/+136
| | | | | | Make them conform with service side commands. This stops them appearing twice when Hypergrid is enabled.
* recomment log messages I accidentally left uncommentedJustin Clark-Casey (justincc)2012-01-051-6/+6
|
* Improve "app rebake" command to return a better message if no uploaded ↵Justin Clark-Casey (justincc)2012-01-054-12/+25
| | | | texture ids were available for the rebake request
* Commenting out DataSnapShot message "Registering service discovery ↵Justin Clark-Casey (justincc)2012-01-051-1/+1
| | | | | | capability" for now. Please uncomment if/when needed.
* Merge branch 'master' of melanie@opensimulator.org:/var/git/opensimMelanie2012-01-0511-75/+225
|\
| * Add "appearance rebake" command to ask a specific viewer to rebake textures ↵Justin Clark-Casey (justincc)2012-01-042-4/+51
| | | | | | | | | | | | | | | | from the server end. This is not as useful as it sounds, since you can only request rebakes for texture IDs already received. In other words, if the viewer has never sent the server this information (which happens quite often) then it will have no effect. Nonetheless, this is useful for diagnostic/debugging purposes.
| * Separate out rebake request code from cache validation code AvatarFactoryModule.Justin Clark-Casey (justincc)2012-01-042-31/+63
| | | | | | | | This allows some logic simplification and allows an external caller to manually request rebakes even if textures are uploaded (future command).
| * Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2012-01-042-0/+25
| |\
| | * Merge branch 'master' of ssh://opensimulator.org/var/git/opensimDan Lake2012-01-041-16/+4
| | |\
| | * | Added EventManager.OnRegionStarted which is triggered when Heartbeat is started.Dan Lake2012-01-042-0/+25
| | | |
| * | | Minor formatting changes and commented out log lines for future debugging of ↵Justin Clark-Casey (justincc)2012-01-044-22/+80
| | |/ | |/| | | | | | | image manager (udp texture fetch). No significant functional changes.
| * | Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2012-01-041-4/+4
| |\ \ | | |/
| | * Merge branch 'master' of ssh://opensimulator.org/var/git/opensimDan Lake2012-01-0326-776/+513
| | |\
| | * | Access to these static methods to serialize objects are useful outside of ↵Dan Lake2012-01-031-4/+4
| | | | | | | | | | | | | | | | serializer
| * | | Remove the pointless LLClientView.m_imageManager null check.Justin Clark-Casey (justincc)2012-01-041-16/+4
| | |/ | |/| | | | | | | Despite the code comments we never actually null it.
| * | commented out "Prevented flyoff" log message for now as this becomes ↵Justin Clark-Casey (justincc)2012-01-031-1/+1
| | | | | | | | | | | | | | | | | | problematic with bot testing. Please uncomment if still needed.
* | | Small fix to GetWorldPosition to get closer to Avination sit behaviorMelanie2012-01-051-10/+4
|/ /
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensimBlueWall2012-01-035-13/+26
|\ \
| * | Reduce accessibility of some J2KImage/LLImageManager properties and methods ↵Justin Clark-Casey (justincc)2012-01-022-12/+12
| | | | | | | | | | | | to reduce potential code complexity and make code reading easier.
| * | Adding commented out log messages and some minor formatting for future bug ↵Justin Clark-Casey (justincc)2012-01-024-1/+14
| | | | | | | | | | | | hunting. No functional changes.
* | | Merge branch 'new_modules'BlueWall2012-01-033-5/+103
|\ \ \ | |/ / |/| |
| * | Profile UpdatesBlueWall2012-01-033-5/+103
| | | | | | | | | | | | Update basic profile to use the replaceable interface, making configuration less error-prone. Add support to query avatar's home user account and profile service for regions usng the updated OpenProfileModule with Hypergrid.
* | | Fix for failed http request statusBlueWall2012-01-011-14/+17
|/ / | | | | | | Thanks "sendapatch" for fixes to llHTTPRequest status reporting.
* | Bug fix in map tiles in standalone: the map has been blank since commit ↵Diva Canto2011-12-301-13/+20
| | | | | | | | | | | | 01ae916bad672722aa62ee712b7b580d6f5f4370 r/17324 (Nov.18, justincc). But the root cause comes from commit 02e54c57c4901167779f07ed3e89fb1d24ffc22a Author: Oren Hurvitz Date: 7/22/2011 This is a nasty situation. The map tile UUID is, in principle, stored authoritatively in RegionSettings. However, it also needs to be stored in the Grid Service because that's how other sims can retrieve it to send it in Map Blocks to non-V3 viewers. So every time the tile image changes, that change needs to propagate to the Grid Service, and this is done via RegisterRegion (ugh!). Interestingly, this problem didn't affect grids because by default AllowRemoteDelete is false, so the prior images aren't being deleted from the asset servers -- but they were not being correctly updated in the map either, the map was stuck with old images.
* | Added UserManagementModule.IsLocalGridUser(UUID) to be used throughout ↵Diva Canto2011-12-297-36/+80
| | | | | | | | region Scenes and Modules. Changed existing modules to use it instead of assuming that foreign = null account.
* | Deleted two obsolete files in Inventory modules.Diva Canto2011-12-292-460/+0
| |
* | Deleted unused methods from HGAssetBrokerDiva Canto2011-12-291-18/+0
| |
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensimDiva Canto2011-12-292-5/+13
|\ \
| * | Introduce a LightShare kill packet ans send it when needed. Currently onlyMelanie2011-12-282-5/+13
| | | | | | | | | | | | understood by AVN v0.3
* | | HG: more adjustments for making HG Simian work. Added server_uri as new key ↵Diva Canto2011-12-291-2/+3
|/ / | | | | | | on get_agent_home in UAS.
* | HG: more / love for XmasDiva Canto2011-12-241-2/+5
| |
* | HG: one more adjustment with trailing /sDiva Canto2011-12-231-2/+8
| |
* | remove the old region crossing handlerMic Bowman2011-12-231-10/+0
| |
* | Fixes some problems with objects that attempt to cross a region boundaryMic Bowman2011-12-221-0/+24
| | | | | | | | | | | | | | | | into a region that does not exist. This is particularly problematic for physical objects where the velocity continues to move them out of the region causing an infinite number of failed region crossings. The patch forces an object that fails a crossing to be non-physical and moves it back into the starting region.
* | fix the UsesPhysics flag to reference the physics flag rather than the ↵Mic Bowman2011-12-221-1/+1
| | | | | | | | temponrez flag
* | Align default ODE_STEPSIZE with that already used through OpenSimDefaults.iniJustin Clark-Casey (justincc)2011-12-221-2/+2
| |
* | rename Scene.m_physicalPrim to PhysicalPrims since its public and access ↵Justin Clark-Casey (justincc)2011-12-222-3/+3
| | | | | | | | external as a property
* | Remove unused m_physicalPrim parameter from SOG.ApplyPhysics()Justin Clark-Casey (justincc)2011-12-222-4/+2
| |
* | Make it possible to force all prims to be phantom via the collidable_prim ↵Justin Clark-Casey (justincc)2011-12-222-1/+13
| | | | | | | | | | | | | | | | | | boolean setting in the OpenSim.ini config [Startup] section. Naturally, default is true. When set to false, "phantom" flags on prims can be set as usual but all prims remain phantom. This setting is for test purposes. This switch does not affect the collision of avatars with the terrain.
* | Region crossings redone: (1) removed WaitForCallback. Now that we are ↵Diva Canto2011-12-221-39/+32
| | | | | | | | passing the entire agent with attachs in one big message we don't necessarily need to wait for confirmation. The callback sometimes is problematic and it adds delay to the process. (2) Z velocity sent to the viewer = 0. This is an heuristic; the Z velocity usually is negative, and it makes the viewer move the avie down. This only matters while the agent is in transit and therefore not being physically simulated by neither region. As soon as the receiving region receives CompleteMovement from the viewer, the position and velocity get corrected.
* | And a typo fixMelanie2011-12-221-1/+1
| |
* | Add a few comments, correct a merge artefactMelanie2011-12-221-1/+6
| |
* | Harmonizing SP with AvinationMelanie2011-12-221-41/+55
| |