aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-09-01Eliminate pointless checks of SOG.RootPart != nullJustin Clark-Casey (justincc)1-2/+0
It's never possible for SOG to have no RootPart, except in the first few picosends of the big bang when it's pulled from region persistence or deserialized
2011-09-01Remove pointless cluttering SOP.ParentGroup != null checks.Justin Clark-Casey (justincc)1-5/+2
The only times when ParentGroup might be null is during regression tests (which might not be a valid thing) and when scene objects are being constructed from the database. At all other times it's not possible for a SOP not to have a SOG parent.
2011-08-31Fix a bug where the non-root parts of rezzed objects that had previously ↵Justin Clark-Casey (justincc)1-1/+12
been attachments were sending their old attachment values to the client. The root part state is the canonical value, so always send that instead. Sending conflicting attachments states for non-root parts of a rezzed object is enough to crash the client. Fixes http://opensimulator.org/mantis/view.php?id=5664. Many thanks to mewtwo0641 for some fantastic qa work on this one.
2011-08-30Fix bug in persisting saved appearances for npcsJustin Clark-Casey (justincc)1-1/+0
Assets have to be marked non-local as well as non-temporary to persist. This is now done. Hopefully addresses http://opensimulator.org/mantis/view.php?id=5660
2011-08-27refactor: move SOP.IsAttachment and AttachmentPoint up into SOG to avoid ↵Justin Clark-Casey (justincc)2-4/+8
pointless duplication of identical values
2011-08-24Remove forcing of phantom on ground attached objects - attachments can be ↵Justin Clark-Casey (justincc)1-2/+2
both non-phantom and flagged as physical. As per Melanie
2011-08-22minor: comment out simulator features log lineJustin Clark-Casey (justincc)1-1/+1
2011-08-22Add ISimulatorFeaturesModule so that other modules can register features in ↵Justin Clark-Casey (justincc)1-36/+86
addition to the hardcoded ones.
2011-08-18Don't try to save changed attachment states when an NPC with attachments is ↵Justin Clark-Casey (justincc)1-1/+1
removed from the scene. This is done by introducing a PresenceType enum into ScenePresence which currently has two values, User and Npc. This seems better than a SaveAttachments flag in terms of code comprehension, though I'm still slightly uneasy about introducing these semantics to core objects
2011-08-16minor: remove some mono compiler warningsJustin Clark-Casey (justincc)2-5/+6
2011-08-11comment out some of the currently less useful debug log messagesJustin Clark-Casey (justincc)3-5/+5
2011-08-10early code to allow scripts to force npcs not to fly when moving to targetJustin Clark-Casey (justincc)1-3/+3
this is to allow walking on prims. it will be up to the script writer to be sure that there is a continuous path. currently implemented in osNpcMoveToTarget(), but none of this is final.
2011-08-10Stop trying to deregister caps or close child agents when an NPC is removedJustin Clark-Casey (justincc)1-1/+1
2011-08-09When an NPC is created, stop telling neighbouring regions to expect a child ↵Justin Clark-Casey (justincc)1-3/+3
agent
2011-08-04minor: remove some mono compiler warningsJustin Clark-Casey (justincc)2-4/+4
2011-08-03get rid of vestigal move to parametersJustin Clark-Casey (justincc)1-30/+14
2011-08-02Partially fix autopilot/go hereJustin Clark-Casey (justincc)1-45/+34
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.
2011-07-30minor: remove some mono compiler warningsJustin Clark-Casey (justincc)1-3/+4
2011-07-27Ensure that packet headers get parsed correctlyMelanie1-0/+29
2011-07-23Fix LLTextBox to work with the updated libOMVMelanie1-1/+6
2011-07-19comment out all kinds of debugging guffJustin Clark-Casey (justincc)1-5/+5
2011-07-19Stop undo of just the root prim position in the linkset from shifting the ↵Justin Clark-Casey (justincc)1-5/+5
whole linkset. However, what happens now is that undo just doesn't do anything when the root prim is selected on its own. This requires more code than just fiddling with undo states.
2011-07-19fix undo when resizing of non-root individual prims in a linksetJustin Clark-Casey (justincc)1-0/+5
undo resize, rotation and position still needs fixing when only editing root prim of a linkset
2011-07-19Fix undo for resizing linksetsJustin Clark-Casey (justincc)1-12/+25
This involves implementing a boolean in UndoState to signal whether the undo needs to be done for an entire group/linkset or just a single prim Resizing individual components of linksets is still dodgy. Resizing still has to be down twice, since for some reason the client is sending two multiobjectupdate packets on every resize except the very first. This applies to single prims and linksets. Need to look into this.
2011-07-18Make various tweaks to undo code in an effort to get things working better.Justin Clark-Casey (justincc)1-3/+24
Undo rotation and position appear to be working. Resizing a single prim appears to be working, though the undo has to be done twice. Resizing a group of prims still does not work properly - possibly because in the UndoState we don't store a knowledge of when we're resizing a whole group rather than individual prims. This needs to be addressed.
2011-07-16refactor: make SceneObjectGroup.GroupScale() a property rather than a mehodJustin Clark-Casey (justincc)1-4/+6
2011-07-15change async parameter name in AddLocalPacketHandler since it becomes a ↵Justin Clark-Casey (justincc)1-2/+22
reserved keyword in .net 5 Also adds some method doc.
2011-07-15minor: method doc for baked texture uploadingJustin Clark-Casey (justincc)1-2/+15
2011-07-11Fix permissions problem where newly uploaded meshes rezzed from inventory ↵Justin Clark-Casey (justincc)3-8/+4
could not be copied by owner.
2011-07-09minor: code tidy and inserted log lines for future use.Justin Clark-Casey (justincc)1-3/+1
Unable to get to the bottom of why resizing a mesh fails to properly reset the physics proxy, when toggling phantom does After a mesh is generated, the existing sculptdata is set to zero in PrimitiveBaseShape to save memory When phantom is toggled, the sculptdata is regenerated before remeshing. But on resize, the sculptdata is not regenerated. So clearly, resetting sculptdata is possible, but haven't quite been able to pin down how this is being done when phantom is toggled.
2011-07-08refactor: rename bool returning GetAgentInventoryItem() to ↵Justin Clark-Casey (justincc)1-4/+3
CanGetAgentInventoryItem() to improve code readability
2011-07-07Switch the MeshUploadFlag CAP module on and off with the existing config ↵Justin Clark-Casey (justincc)1-14/+35
AllowMeshUpload flag in [Mesh] (in OpenSimDefaults.ini) Default is on.
2011-07-07Make MeshUploadFlagModule non-shared rather than shared (since each scene ↵Justin Clark-Casey (justincc)1-1/+1
needs its own cap)
2011-07-07add MeshUploadFlag capability fixed mesh upload with latest mesh viewer ↵Michael Cerquoni aka Nebadon Izumi2-18/+150
thank you dahlia and lkalif for helping to make this happen!
2011-06-24Implement the latest mesh mechanism so that rezzing the uploaded mesh now ↵Justin Clark-Casey (justincc)1-3/+189
works again. Many thanks to the aurora project for pioneering this. This code is almost certainly not bug free, but it does at least appear to handle simple meshes (except when the viewer crashes - but it is beta!).
2011-06-24minor: method documentationJustin Clark-Casey (justincc)1-6/+8
2011-06-13Added SimulatorFeatures capability. Thanks Aurora devs for the bootstrap on ↵Diva Canto1-22/+49
the contents of the response. Changed the experimental capability introduced a couple of commits ago: now sending that extra information as part of the response in the SimulatorFeatures cap.
2011-06-13Same processing of the "/" in the MapImageService Cap as the one in the ↵Diva Canto1-0/+6
login service.
2011-06-13Added experimental new capability URL called MapImageService meant to work ↵Diva Canto1-0/+119
with Kokua viewer if devs are willing to do it.
2011-06-10minor: Add some commented out destructor logging messages for potential ↵Justin Clark-Casey (justincc)1-0/+5
future use. At the moment, client and scene objects are being garbage collected as expected, at least in simple scenarios.
2011-06-03HG Landmarks bug fix: pull landmark asset data from user's asset server when ↵Diva Canto1-4/+24
user is traveling.
2011-06-03HG Landmarks now working.Diva Canto1-3/+2
2011-05-31When sending an LLUDP MoneyBalanceReply message, fill out the transaction ↵Justin Clark-Casey (justincc)1-0/+1
item description even though there is none. This is to deal with a problem in libomv where calling ToBytes() without this crashes because of an ItemDescription.Lnegth dereference.
2011-05-31Fill in the new OwnerData field in the LLUDP ScriptDialog message.Justin Clark-Casey (justincc)1-3/+8
If we don't do this then viewer 2.8 crashes. Resolves http://opensimulator.org/mantis/view.php?id=5510
2011-05-13Fix broken inventory links on viewer 2.Justin Clark-Casey (justincc)1-1/+6
It appears that if the viewer requests a folder containing links, we must also send the folders that contain the link targets first. This was tested with Kokua 0.1.0 WIP though I predict it will also work with other viewer 2s
2011-05-09Fixes gray tiles on map search for viewers 1.Diva Canto1-1/+0
2011-05-08The map is seriously broken. This doesn't fix it, but at least provides one ↵Diva Canto1-2/+1
more piece of data that seems to be required -- agent flags, which seem to be different in Viewer 2. WARNING: changes IClientAPI.
2011-05-06One more bug fix concerning library items that weren't being copied to ↵Diva Canto1-1/+1
user's inventory. Also commented verbose debug message.
2011-05-05Adding ssl supportBlueWall1-0/+16
Adding ssl support for "Out of Band" applications such as the remote admin module or Robust services
2011-05-04Test m_Enabled on RemoveRegion.Diva Canto3-0/+9