aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-07-11Properly regenerate physics proxy when a mesh is resized.Justin Clark-Casey (justincc)1-0/+8
This is done in SOP.Resize(). More common code from callers needs to be refactored into this method to reduce confusing copy/pasting
2011-07-11refactor: push the part of SceneObjectGroup.CheckSculptAndLoad() that ↵Justin Clark-Casey (justincc)2-17/+49
actually deals with the part into a SceneObjectPart.CheckSculptAndLoad() method
2011-07-11When a sculpt/mesh texture is received by a part on a callback request, ↵Justin Clark-Casey (justincc)3-9/+23
don't do the unnecessary work of copying the base shape. Just setting the new base shape is enough to reinsert the sculpt data and set the taint. Also cleans up a few more left-in debugging messages.
2011-07-11refactor: Make arguments to SceneGraph.UpdatePrimFlags() more readableJustin Clark-Casey (justincc)1-6/+11
2011-07-11refactor: Make arguments for SceneObjectGroup.UpdatePrimFlags() more readableJustin Clark-Casey (justincc)1-6/+8
2011-07-11minor: remove mono compiler warningJustin Clark-Casey (justincc)1-1/+1
2011-07-11refactor: very minor space insertionJustin Clark-Casey (justincc)1-1/+1
2011-07-11refactor: make argument to SOP.UpdatePrimFlags() more readableJustin Clark-Casey (justincc)1-14/+19
2011-07-09Rename SceneSetupHelpers.AddRootAgent to AddClient() to better represent its ↵Justin Clark-Casey (justincc)6-7/+7
effects and return object
2011-07-09minor: code tidy and inserted log lines for future use.Justin Clark-Casey (justincc)2-1/+2
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-08minor: commented out log lines for future use and very small code tidyJustin Clark-Casey (justincc)1-0/+4
2011-07-01fix build break I just introducedJustin Clark-Casey (justincc)1-2/+1
2011-07-01Add an async inventory details sender to respond to FetchInventory packets.Justin Clark-Casey (justincc)4-27/+164
If a user with a very large inventory right-clicks on their "My Inventory" folder, viewer 1 code will send a massive number of Fetchinventory requests. Even though each is handled asynchronously via a pool thread, the sheer frequency of requests overwhelms the pool and freezes inbound packet handling. This change makes the first Fetchinventory thread also handle subsequent requests, freeing up the other threads. Further efficiencies could be made by handling all the items in a particular FetchInventory request together, rather than separately.
2011-06-29Don't follow inventory links of links.Justin Clark-Casey (justincc)1-1/+4
This is to avoid problems with corrupt inventories where an inventory link target points back at the source's folder No viewer has been observed to set these up as of yet. If this ever happens, we will need a more sophisticated solution to track sent folders within the recursion
2011-06-29refactor: simplify redundant double containing folder checkJustin Clark-Casey (justincc)1-2/+4
2011-06-29If an inventory link target is in the same folder as the source, then don't ↵Justin Clark-Casey (justincc)1-1/+6
recursively request that folder. Currently, this should never actually happen but certainly best to handle this case
2011-06-29Hack around with the NPC module to get osNpcCreate() partially working again.Justin Clark-Casey (justincc)2-5/+5
This now creates an avatar but appearance is always cloudy. Move doesn't work. Really, creating an NPC should only involve a ScenePresence rather than doing anything with IClientAPI, since an NPC has no viewer to communicate with!
2011-06-24Implement the latest mesh mechanism so that rezzing the uploaded mesh now ↵Justin Clark-Casey (justincc)1-3/+6
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-15Add localID to physical object creation functions.Mic Bowman3-4/+4
2011-06-15Add the PhysActor to the correct SOP when duplicating a physicalMic Bowman1-4/+9
prim. Thanks, MisterBlue
2011-06-10When serializing objects, stop accidentally using the green text colour ↵Justin Clark-Casey (justincc)1-1/+1
value for alpha This addresses http://opensimulator.org/mantis/view.php?id=5111
2011-06-10minor: Add some commented out destructor logging messages for potential ↵Justin Clark-Casey (justincc)2-0/+12
future use. At the moment, client and scene objects are being garbage collected as expected, at least in simple scenarios.
2011-06-10minor: add method doc to make it clear that click action is fired when the ↵Justin Clark-Casey (justincc)1-1/+10
click action is changed, not when a prim is clicked
2011-06-08Fixed "Unknown User" listed as creator/owner on prims created with the Build ↵Diva Canto1-0/+4
button by foreign visitors. Added command to the UserManagementModule to list all the known bindings between user UUIDs and their names: show user-names.
2011-06-08Added EventManager.OnPrimsLoaded, an event that modules can hook up onto so ↵Diva Canto2-0/+25
that they know when the scene's objects have been loaded from the DB.
2011-06-07This makes the display names work better for foreignersDiva Canto1-0/+26
2011-06-04Extend TestGiveInventoryFolder() to test giving back the freshly received folderJustin Clark-Casey (justincc)1-0/+8
2011-06-04Fix give inventory tests to use different users rather than (accidentally) ↵Justin Clark-Casey (justincc)2-167/+178
the same user. Extend TestGiveInventoryItem() to test giving back the same item.
2011-06-04insert an InventoryArchiveUtils.FindItemsByPath() to return multiple items ↵Justin Clark-Casey (justincc)1-0/+3
rather than just the first one
2011-06-04create TestGetInventoryItem()Justin Clark-Casey (justincc)1-0/+19
2011-06-04extend TestGiveInventoryFolder() to check for the receipt by user 2Justin Clark-Casey (justincc)1-2/+4
2011-06-03minor: add in method print out to new testJustin Clark-Casey (justincc)1-0/+3
2011-06-03add stub UserInventoryTests.GiveInventoryFolder(). Not yet completeJustin Clark-Casey (justincc)1-0/+70
2011-06-03HG Landmarks now working.Diva Canto1-22/+1
2011-06-03Moved CreateNewInventoryItem to the InventoryAccessModule in preparation for ↵Diva Canto2-75/+3
supporting HG landmarks.
2011-05-28Adding an event to signal that logins are enabledBlueWall2-0/+27
Added an event to signal the eabling of logins and added an alert to send to a configured service.
2011-05-28Add option to disable loginsBlueWall1-1/+17
This just covers script loading for now. More to come.
2011-05-27Make sure culture is en-US when saving archive related xml.Justin Clark-Casey (justincc)1-1/+0
This might resolve http://opensimulator.org/mantis/view.php?id=5475
2011-05-27If parsing fails in the primitive base shape (which prints out a debug log ↵Justin Clark-Casey (justincc)1-4/+25
message), also print out the name and uuid of the part containing this shape. This is to help in diagnosing parsing failures.
2011-05-25Add PayPrice to serialization format Xml2Melanie2-6/+40
2011-05-24Allow disabling the legacy backup mechanism to avoid the object clone ifMelanie2-1/+10
backup is not used.
2011-05-24Add an event for an orderly region shutdown that fires once per region beforeMelanie2-0/+27
the SceneGraph is torn down.
2011-05-21Get rid of OpenSim.Tests.Common.Setup subpackage in favour of just ↵Justin Clark-Casey (justincc)12-12/+0
OpenSim.Tests.Common instead
2011-05-21refactor: rename AddSceneObjectItem to AddSceneObjectJustin Clark-Casey (justincc)1-1/+1
2011-05-21refactor: move scene object item creation code into TaskInventoryHelpersJustin Clark-Casey (justincc)1-8/+2
2011-05-21move test task inventory notecard item creation into a new ↵Justin Clark-Casey (justincc)1-21/+2
TastInventoryHelpers class
2011-05-21refactor: use SceneSetupHelpers.CreateSceneObject()Justin Clark-Casey (justincc)1-13/+3
2011-05-21rename UserProfileTestUtils to UserAccountHelpers to be consistent with ↵Justin Clark-Casey (justincc)1-3/+3
other test helper names
2011-05-21refactor: in TaskInventoryTests, use ↵Justin Clark-Casey (justincc)1-12/+3
UserProfileTestUtils.CreateUserWithInvetory()
2011-05-21refactor Scene.RezObject() to use AddNewSceneObject() rather than ↵Justin Clark-Casey (justincc)4-25/+17
copy/pasting code with small differences