aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2011-07-08refactor: Factor out AddSubMesh() method from long ↵Justin Clark-Casey (justincc)2-49/+58
CraeteMeshFromPrimMesher() method Also remove some of the logging spam left in from the last commit.
2011-07-08Fix interpretation of physics mesh proxies from mesh dataJustin Clark-Casey (justincc)2-2/+27
As per http://wiki.secondlife.com/wiki/Mesh/Mesh_Asset_Format, some submesh blocks may just have the flag "NoGeometry" to signal that they provide no mesh data. If a block contains this, ignore it for meshing purposes rather than suffer a ClassCastException This fixes physics proxy meshing, so you can now walk through mesh doorways, properly stand on the trailer of mesh trucks, etc. To get mesh physics proxy, the UseMeshiesPhysicsMesh must be true in a [Mesh] config section in OpenSim.ini (example in OpenSimDefaults.ini). Convex hull physics not currently supported.
2011-07-08minor: code tidy up - remove a couple of Console.WriteLine() accidentally ↵Justin Clark-Casey (justincc)2-53/+23
added in the last commit
2011-07-08refactor: Separate the OdeScene class into its own file from OdePlugin.cs, ↵Justin Clark-Casey (justincc)2-3825/+3873
to improve code readability
2011-07-08minor: commented out log lines for future use and very small code tidyJustin Clark-Casey (justincc)5-5/+18
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-07Ensure that the max transfer distance is initialized correctly.Mic Bowman1-1/+7
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-07-04Add TestClearCache()Justin Clark-Casey (justincc)1-0/+17
2011-07-04add TestExpireAsset()Justin Clark-Casey (justincc)1-0/+20
2011-07-04refactor: Move test setup code into setup methodJustin Clark-Casey (justincc)1-13/+20
2011-07-04Make it possible to disable the file part of the flotsam asset cacheJustin Clark-Casey (justincc)2-39/+74
This matches the ability to disable the memory part This is controlled through the FileCacheEnabled parameter in FlotsamCache.ini Default is true, so existing installations are not affected. Improved fcache command feedback when various caches are disabled. Re-enabled test for flotsam cache with file caching disabled.
2011-07-04refactor: Split file cache manipulation code into separate methods, as has ↵Justin Clark-Casey (justincc)1-102/+131
already been done for the memory cache
2011-07-04Add basic flotsam asset cache test for retrieved cached asset.Justin Clark-Casey (justincc)5-0/+105
Disabled temporarily since file system caching disrupts subsequent test runs
2011-07-02If a user has the rights to edit a parcel's properties, then also allow them ↵Justin Clark-Casey (justincc)1-4/+4
always to enter that parcel. This is patch http://opensimulator.org/mantis/view.php?id=5567 Thanks Snoopy!
2011-07-02Add profile, merge, noassets and skip-assets options for loading/saving oars ↵Justin Clark-Casey (justincc)1-2/+39
via RemoteAdmin This is http://opensimulator.org/mantis/view.php?id=5453 Thanks Michelle Argus!
2011-07-02Create a very basic initial test which just creates an 'npc' and tests that ↵Justin Clark-Casey (justincc)4-4/+73
the scene presence exists
2011-07-02refactor: simplify existing npc code by creating them directly rather than ↵Justin Clark-Casey (justincc)1-102/+37
indirectly via a timer no obvious reason for doing this asynchonously, especially as the caller was sleeping in order to pick up the response anyway!
2011-07-01Make default serverside_object_permissions = true since this better matches ↵Justin Clark-Casey (justincc)4-14/+3
user expectations. It also matches the default setting in the OpenSim.ini.example file
2011-07-01If OpenSim has been built from a git tree, then include version information ↵Justin Clark-Casey (justincc)1-4/+39
automatically by dereferencing .git/HEAD A blank bin/.version file will stop this being displayed.
2011-07-01refactor: rename gitCommitFileName to manualVersionFileName since ↵Justin Clark-Casey (justincc)1-5/+4
bin/.version doesn't necessary have to be a git hash
2011-07-01fix build break I just introducedJustin Clark-Casey (justincc)1-2/+1