aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-07-16remove the need to supply SceneObjectGroup.GroupResize() with a localId.Justin Clark-Casey (justincc)3-132/+133
This is utterly pointless scene we already know which sog we're dealing with.
2011-07-16Add very basic test for resizing a scene object with one primJustin Clark-Casey (justincc)2-1/+69
2011-07-16minor: remove mono compiler warningsJustin Clark-Casey (justincc)1-35/+36
2011-07-16If resized shape is a mesh/sculpt, leave it to the mesh asset callback to ↵Justin Clark-Casey (justincc)1-2/+8
trigger the physics actor taint. In the last commit, the fix was made by updating all the child prim physics actors with the new size rather than just the root part.
2011-07-16Fix physics proxy regeneration when a mesh with more than one submesh is resizedJustin Clark-Casey (justincc)4-2/+25
Addresses http://opensimulator.org/mantis/view.php?id=5584
2011-07-16use constants in llGetObjectDetails() rather than magic numbersJustin Clark-Casey (justincc)1-22/+21
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-15If object is an attachment, make llGetVel() return the avatar's speed rather ↵Justin Clark-Casey (justincc)2-2/+16
than the object's own zero speed. As per http://opensimulator.org/mantis/view.php?id=5575
2011-07-15minor: method doc for baked texture uploadingJustin Clark-Casey (justincc)2-3/+17
2011-07-15Fix some local id issues in physics glueroot10-68/+36
2011-07-15fix duplication of physical objects for physics engines that care about the ↵Robert Adams1-6/+6
initial value of localID
2011-07-13minor: remove whitespaceJustin Clark-Casey (justincc)1-1/+0
2011-07-13Remove an unused 404 checker since on a 404, GetResponse() throws a ↵Justin Clark-Casey (justincc)1-3/+0
WebException rather than proceeding.
2011-07-13if a SynchronousRestObjectRequester request fails, then unless it's due to a ↵Justin Clark-Casey (justincc)1-0/+11
404, log the exception for diagnostic purposes This is instead of logging "Invalid XML" for all failures, even if they weren't a result of invalid xml. A default TReponse is returned in the event of a 404, which is the same behaviour as previously.
2011-07-13Remove the obsoleted SynchronousRestObjectPosterJustin Clark-Casey (justincc)1-9/+0
2011-07-13refactor: Move all callers of the obsoleted ↵Justin Clark-Casey (justincc)3-10/+9
SychronousRestObjectPoster.BeginPostObject() to the identical SynchronousRestObjectRequester.MakeRequest()
2011-07-13Add experimental module to check status of services that the simulator is ↵Justin Clark-Casey (justincc)1-0/+119
connected to. Currently disabled.
2011-07-12Add a warning to URI config in GridCommon.ini.example not to add a slash to ↵Justin Clark-Casey (justincc)1-1/+0
the end. Tidy up GridCommon.ini.example
2011-07-12Port implementation of llCastRay() from Aurora.Justin Clark-Casey (justincc)6-33/+298
I haven't been able to test this since the viewer won't parse the llCastRay() function. Maybe some activation cap is missing. Could wait until it is activated by default in the viewer.
2011-07-12temporarily fix the build break with building the OdePlugin tests assembly.Justin Clark-Casey (justincc)1-2/+3
This needs to be fixed properly.
2011-07-12minor: remove whitespace to trigger another buildJustin Clark-Casey (justincc)1-1/+0
2011-07-12When a mesh object is added to a scene, delay adding the physics actor until ↵Justin Clark-Casey (justincc)5-29/+39
the sculpt data has been added to the shape (possibly via an async asset service request) This prevents spurious 'no asset data' for meshes added on startup.
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-11minor Tack the prim name on the end of the "experimental mesh proxy ↵Justin Clark-Casey (justincc)1-1/+1
generation" message. Can probably comment out this message soon, once a few other issues are tidied up.
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)5-11/+26
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-11comment out accidential ProcessTaints physics debug line left in codeJustin Clark-Casey (justincc)1-1/+1
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-09refactor: slightly simplify testJustin Clark-Casey (justincc)1-4/+1
2011-07-09Rename SceneSetupHelpers.AddRootAgent to AddClient() to better represent its ↵Justin Clark-Casey (justincc)8-11/+11
effects and return object
2011-07-09Add scratch AvatarFactoryModuleTests with one test to do a partial check on ↵Justin Clark-Casey (justincc)2-9/+87
AvatarFactoryModule.SetAppearance() Baked texture set not yet checked, nor persistence of data in avatar service This is a foundation for later npc related tests.
2011-07-09refactor: Get LSLString(LSLInteger i) constructor to now call LSLString(int ↵Justin Clark-Casey (justincc)1-9/+7
i) structure to remove code duplication.
2011-07-09Raw int numbers (ex.LSL Constants) are displayed like "1.000000" when type ↵Makopoppo1-0/+11
cast to string
2011-07-09Fix osMatchString() so that it reports all instance of pattern matches, not ↵Justin Clark-Casey (justincc)1-3/+3
just the first one. This is a slight adaptation of the patch in http://opensimulator.org/mantis/view.php?id=4568 which doesn't apply directly since the underlying code was changed by earlier makopoppo patches. Thanks makopoppo!
2011-07-09fix formatting issues from last patchJustin Clark-Casey (justincc)1-3/+8
2011-07-09lsGetWindlightScene() returns raw int value, which makes unable to compare ↵Makopoppo1-2/+3
to another value with llListFindList()
2011-07-09Made some LSL_Constant or LS_Constant raw int valuesMakopoppo1-2/+7
2011-07-09Instance-types-in-list fix for LSL/OSSL functions. This will fix ↵Makopoppo2-30/+31
llListFindList() which always returns -1 when you compare with the list from those functions. *llCSV2List *llGetAnimationList *llGetLinkPrimitiveParams *llGetObjectDetails *llGetParcelDetails *llGetParcelPrimOwners *llGetPrimitiveParams *GetLinkPrimitiveParamsEx *osGetAgents *osMatchString *osGetLinkPrimitiveParams *osGetPrimitiveParams *osGetAvatarList
2011-07-09Rename SetSculptData() to SetSculptProperties(), since this is what it does ↵Justin Clark-Casey (justincc)3-3/+3
(setting SculptData is done through the property)
2011-07-09minor: code tidy and inserted log lines for future use.Justin Clark-Casey (justincc)7-43/+72
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-08When loading library asset set, only store an asset if it's different from ↵Justin Clark-Casey (justincc)2-6/+25
an existing one with the same id. We compare existing and loaded asset by doing an SHA1 on both, so that a changed library asset will still update the store. This cuts asset library load time from 10 seconds to <1 sec. Note, a fix on the previous commit revealed a bug where a library script cannot be copied except on the first login after a cache clear. This is unrelated to this commit and needs to be fixed at some subsequent time.
2011-07-08stop the local inventory services connector from logging an error when an ↵Justin Clark-Casey (justincc)1-3/+3
item id isn't found. making this query is legitimate and so the log line can cause false positivies. It is up to callers to log an error if appropriate.
2011-07-08fix bug where opening a library script would failJustin Clark-Casey (justincc)1-2/+2
2011-07-08refactor: rename bool returning GetAgentInventoryItem() to ↵Justin Clark-Casey (justincc)3-6/+13
CanGetAgentInventoryItem() to improve code readability
2011-07-08refactor: eliminate redundant return statementJustin Clark-Casey (justincc)1-3/+1