aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-01-05Improve "app rebake" command to return a better message if no uploaded ↵Justin Clark-Casey (justincc)4-12/+25
texture ids were available for the rebake request
2012-01-05Commenting out DataSnapShot message "Registering service discovery ↵Justin Clark-Casey (justincc)1-1/+1
capability" for now. Please uncomment if/when needed.
2012-01-05Small fix to GetWorldPosition to get closer to Avination sit behaviorMelanie1-10/+4
2012-01-04Add "appearance rebake" command to ask a specific viewer to rebake textures ↵Justin Clark-Casey (justincc)2-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.
2012-01-04Separate out rebake request code from cache validation code AvatarFactoryModule.Justin Clark-Casey (justincc)2-31/+63
This allows some logic simplification and allows an external caller to manually request rebakes even if textures are uploaded (future command).
2012-01-04Minor formatting changes and commented out log lines for future debugging of ↵Justin Clark-Casey (justincc)4-22/+80
image manager (udp texture fetch). No significant functional changes.
2012-01-04Added EventManager.OnRegionStarted which is triggered when Heartbeat is started.Dan Lake2-0/+25
2012-01-04Remove the pointless LLClientView.m_imageManager null check.Justin Clark-Casey (justincc)1-16/+4
Despite the code comments we never actually null it.
2012-01-03Access to these static methods to serialize objects are useful outside of ↵Dan Lake1-4/+4
serializer
2012-01-03commented out "Prevented flyoff" log message for now as this becomes ↵Justin Clark-Casey (justincc)1-1/+1
problematic with bot testing. Please uncomment if still needed.
2012-01-03Profile UpdatesBlueWall3-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.
2012-01-02Reduce accessibility of some J2KImage/LLImageManager properties and methods ↵Justin Clark-Casey (justincc)2-12/+12
to reduce potential code complexity and make code reading easier.
2012-01-02Adding commented out log messages and some minor formatting for future bug ↵Justin Clark-Casey (justincc)4-1/+14
hunting. No functional changes.
2012-01-01Fix for failed http request statusBlueWall1-14/+17
Thanks "sendapatch" for fixes to llHTTPRequest status reporting.
2011-12-30Bug fix in map tiles in standalone: the map has been blank since commit ↵Diva Canto1-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.
2011-12-29Added UserManagementModule.IsLocalGridUser(UUID) to be used throughout ↵Diva Canto7-36/+80
region Scenes and Modules. Changed existing modules to use it instead of assuming that foreign = null account.
2011-12-29Deleted two obsolete files in Inventory modules.Diva Canto2-460/+0
2011-12-29Deleted unused methods from HGAssetBrokerDiva Canto1-18/+0
2011-12-29HG: more adjustments for making HG Simian work. Added server_uri as new key ↵Diva Canto1-2/+3
on get_agent_home in UAS.
2011-12-28Introduce a LightShare kill packet ans send it when needed. Currently onlyMelanie2-5/+13
understood by AVN v0.3
2011-12-24HG: more / love for XmasDiva Canto1-2/+5
2011-12-23HG: one more adjustment with trailing /sDiva Canto1-2/+8
2011-12-23remove the old region crossing handlerMic Bowman1-10/+0
2011-12-22Fixes some problems with objects that attempt to cross a region boundaryMic Bowman1-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.
2011-12-22fix the UsesPhysics flag to reference the physics flag rather than the ↵Mic Bowman1-1/+1
temponrez flag
2011-12-22Align default ODE_STEPSIZE with that already used through OpenSimDefaults.iniJustin Clark-Casey (justincc)1-2/+2
2011-12-22rename Scene.m_physicalPrim to PhysicalPrims since its public and access ↵Justin Clark-Casey (justincc)2-3/+3
external as a property
2011-12-22Remove unused m_physicalPrim parameter from SOG.ApplyPhysics()Justin Clark-Casey (justincc)2-4/+2
2011-12-22Make it possible to force all prims to be phantom via the collidable_prim ↵Justin Clark-Casey (justincc)2-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.
2011-12-22Region crossings redone: (1) removed WaitForCallback. Now that we are ↵Diva Canto1-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.
2011-12-22And a typo fixMelanie1-1/+1
2011-12-22Add a few comments, correct a merge artefactMelanie1-1/+6
2011-12-22Harmonizing SP with AvinationMelanie1-41/+55
2011-12-22Fixing a bug introduced yesterday. This put the precondition test inside ↵Diva Canto1-105/+109
CheckForBorderCrossing the right way.
2011-12-21Moved an external test into the method that uses those preconditions.Diva Canto1-19/+11
2011-12-20Remove unused SetAcceleration and add set on Acceleration parameterDan Lake11-35/+14
2011-12-20Remove unused SetAcceleration and add set on Acceleration parameterDan Lake11-35/+14
2011-12-20Though the viewer warns about receiving this, not sending appears to break ↵Justin Clark-Casey (justincc)1-4/+1
baked texture caching when crossing region boundaries. Needs further investigation. Revert "Stop sending the viewer its own AvatarAppearance packet." This reverts commit 92039f295d7fe66bf1a09b29483f9057e395839e.
2011-12-20Fixed bug of avie going under the terrain when crossing regions in certain ↵Diva Canto1-2/+2
directions. This was a 1-off bug: the terrain was being placed in 127, 127 resulting in a bounding box if -2, 256. I placed it in 128, 128 resulting in a bounding box of -1, 257.
2011-12-19Move HandleObjectGroupUpdate() from GroupsModule to Scene.PacketHandlers.cs ↵Justin Clark-Casey (justincc)3-36/+44
as this is updating SOG/SOP.GroupID, which is arguably generic.
2011-12-19Stop sending the viewer its own AvatarAppearance packet.Justin Clark-Casey (justincc)1-1/+4
The viewer warns in the log if it receives this. Stopping this doesn't appear to have adverse effects on viewer 1 or viewer 3 - the viewer gets its own appearance from body parts/clothes and self-baked textures.
2011-12-19Stop unnecessarily sending the TextureEntry in client avatar updates.Justin Clark-Casey (justincc)1-1/+7
As far as I know, viewers don't use this mechanism to recieve new TextureEntry data for avatars. This is done via the AvatarAppearance packet instead. Tested this back to viewer 1.23. Replacing with Utils.EmptyBytes since converting the texture entry to bytes on each AvatarUpdate (or which there are many) is not cost-free.
2011-12-19Fix race condition where the appearance update timer could be stopped just ↵Justin Clark-Casey (justincc)1-3/+6
after another thread had started it on QueueAppearanceSave() or *Send() However, the window for this race is very small, and the next queued appearance save or send would restart the timer anyway.
2011-12-19Migrate detailed "appearance show" report generation up to ↵Justin Clark-Casey (justincc)5-47/+74
AvatarFactoryModule from AppearanceInfoModule so that it can be used in debug (inactive). Further filters "debug packet <level>" to exclused [Request]ObjectPropertiesFamily if level is below 25. Adjust some method doc Minor changes to some logging messages.
2011-12-17Provide user feedback on execution of "backup" region console commandJustin Clark-Casey (justincc)1-1/+2
2011-12-17Fix bug where objects couldn't be set back to the "none" group.Justin Clark-Casey (justincc)1-8/+13
This is handled by treating UUID.Zero as a special case. Currently, asking for the "none" group returns nothing because XMLRPC groups, at least, is not properly handling this case. It may be better in the future to have GroupsModule return an appropriate GroupsData structure instead or require the underlying services to behave appropriately. This is a further component of http://opensimulator.org/mantis/view.php?id=5588
2011-12-17Fix bug where objects could not be set to a new group if the group had been ↵Justin Clark-Casey (justincc)6-21/+43
created in that client session, or if no other action has been performed on the object. There were two problems here: 1) On object group update, we looked for the group is the IClientAPI group cache rather than in the groups service. This fails to groups created newly in that session 2) On object group update, we weren't setting the HasGroupChanged flag. This meant that the change was not persisted unless some other action set this flag. This commit fixes these issues and hopefully addresses http://opensimulator.org/mantis/view.php?id=5588 This commit also moves HandleObjectGroupUpdate() to the GroupsModule from the Scene.PacketHandlers.cs file
2011-12-16Changed the async approach on close child agents. This may improve crossings ↵Diva Canto2-7/+7
a little bit.
2011-12-17If a startup simulator script is present, run it after the normal region ↵Justin Clark-Casey (justincc)1-12/+12
selection code rather than before. This allows the script to change the selected region without having it immediately undone. Thanks to Garmin Kawaguichi for this patch.
2011-12-17refactor: simplify methods in Scene.PacketHandlers.cs by using ↵Justin Clark-Casey (justincc)2-142/+81
GetGroupByPrim() rather than retrieving GetEntities() and inspecting the entire list