Justin Clark-Casey (justincc)
5c982c98aa
Add LLImageManager regression test for discard case
2012-01-23 21:34:35 +00:00
Justin Clark-Casey (justincc)
63f0ec9aeb
Add "image queues clear <first-name> <last-name>" console command
...
This allows a way to manually clear pending image queue requests for debug purposes
2012-01-23 21:33:56 +00:00
Justin Clark-Casey (justincc)
e90cfc17ca
Add basic request and send image regression tests for LLImageManager
2012-01-23 21:33:44 +00:00
Justin Clark-Casey (justincc)
16d5ce16b6
Extend scripts show command to accept a single item UUID parameter to display one script's status
...
Usage is now scripts show [<script-item-uuid>]
2012-01-16 21:24:15 +00:00
Justin Clark-Casey (justincc)
ab4c4a362f
Register the UrlModule for script engine events OnScriptRemoved and OnObjectRemoved just once in the UrlModule itself, rather than repeatedly for every script.
...
Doing this in every script is unnecessary since the event trigger is parameterized by the item id.
All that would happen is 2000 scripts would trigger 1999 unnecessary calls, and a large number of initialized scripts may eventually trigger a StackOverflowException.
Registration moved to UrlModule so that the handler is registered for all script engine implementations.
This required moving the OnScriptRemoved and OnObjectRemoved events (only used by UrlModule in core) from IScriptEngine to IScriptModule to avoid circular references.
2012-01-16 21:24:05 +00:00
Justin Clark-Casey (justincc)
b5971db76c
minor: Fix wrong column length in image queues report
2012-01-16 21:23:03 +00:00
Justin Clark-Casey (justincc)
0c39c9e84d
rename "show image queue" to "show image queues" in line with other udp info commands.
...
Eliminate redundant one line methods
2012-01-16 21:22:54 +00:00
Justin Clark-Casey (justincc)
0b49773ab3
Add "show image queue <first-name> <last-name>" region console command
...
This is so that we can inspect the image download queue (texture download via udp) for debugging purposes.
2012-01-16 21:22:44 +00:00
Justin Clark-Casey (justincc)
820a39621e
correct very minor typo in "debug scene" help
2012-01-16 21:20:36 +00:00
Justin Clark-Casey (justincc)
7a0f4cf8e1
Add "app find <uuid-or-start-of-uuid>" command to find the appearance using a particular baked texture, if any.
...
This is for debugging to relate texture console entries back to particular users on the simulator end.
2012-01-16 21:20:18 +00:00
Justin Clark-Casey (justincc)
2853b78f16
Improve "j2k decode" command to tell us how many layers and components were decoded, instead of just success/failure
2012-01-09 13:14:50 +00:00
Justin Clark-Casey (justincc)
a3ada745bd
Add a "j2k decode" region console command that allows a manual request for a JPEG2000 decode of an asset
...
For debugging purposes.
2012-01-09 13:14:39 +00:00
Justin Clark-Casey (justincc)
ff0f90bc35
Make "show asset" command available simulator side. Actually make the service command be "show asset" instead of "show digest" this time.
...
Last time I accidnetally just changed the usage message.
2012-01-09 13:14:26 +00:00
Justin Clark-Casey (justincc)
7b564b8b35
Rename 'show digest' console command to 'show asset'
2012-01-09 13:14:19 +00:00
Justin Clark-Casey (justincc)
19a818017d
Add size and temporary information to "show asset" command
2012-01-09 13:14:00 +00:00
Justin Clark-Casey (justincc)
7bc03a54e5
Move simulator asset info commands to an optional module from the connector. Make them conform with service side commands.
...
This stops them appearing twice when Hypergrid is enabled.
2012-01-09 13:13:40 +00:00
Justin Clark-Casey (justincc)
aef6a9571c
Move asset commands from AssetService to AssetServerConnector so that we can harmonise the same commands on the simulator side.
...
No functional change.
2012-01-09 13:13:33 +00:00
Justin Clark-Casey (justincc)
0a3b2f904e
recomment log messages I accidentally left uncommented
2012-01-09 13:13:11 +00:00
Justin Clark-Casey (justincc)
023023a5fc
Improve "app rebake" command to return a better message if no uploaded texture ids were available for the rebake request
2012-01-09 13:12:52 +00:00
Justin Clark-Casey (justincc)
eebcea22ba
Commenting out DataSnapShot message "Registering service discovery capability" for now.
...
Please uncomment if/when needed.
2012-01-09 13:08:02 +00:00
Justin Clark-Casey (justincc)
9474bdb6df
Add "appearance rebake" command to ask a specific viewer to rebake textures 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-09 13:07:39 +00:00
Justin Clark-Casey (justincc)
4d28bac9bb
Separate out rebake request code from cache validation code AvatarFactoryModule.
...
This allows some logic simplification and allows an external caller to manually request rebakes even if textures are uploaded (future command).
2012-01-09 13:00:56 +00:00
Justin Clark-Casey (justincc)
de746cd987
Minor formatting changes and commented out log lines for future debugging of image manager (udp texture fetch). No significant functional changes.
2012-01-09 12:37:51 +00:00
Justin Clark-Casey (justincc)
0ef16f9f5b
Remove the pointless LLClientView.m_imageManager null check.
...
Despite the code comments we never actually null it.
2012-01-09 12:37:38 +00:00
Justin Clark-Casey (justincc)
de0a45d9a3
Update C5.dll to version 1.1.1 from 1.1.0
...
C5 is a collections library and can be found at http://www.itu.dk/research/c5/
This is used in the UDP texture (image) sending code.
2012-01-09 12:37:26 +00:00
Justin Clark-Casey (justincc)
a2071e5b13
Reduce accessibility of some J2KImage/LLImageManager properties and methods to reduce potential code complexity and make code reading easier.
2012-01-09 12:37:04 +00:00
Justin Clark-Casey (justincc)
1b3ae566e8
Adding commented out log messages and some minor formatting for future bug hunting. No functional changes.
2012-01-09 12:37:00 +00:00
Mic Bowman
674baa39ed
fix the UsesPhysics flag to reference the physics flag rather than the temponrez flag
2012-01-09 12:33:51 +00:00
Justin Clark-Casey (justincc)
1cf57c83e1
Align default ODE_STEPSIZE with that already used through OpenSimDefaults.ini
2012-01-09 12:33:39 +00:00
Justin Clark-Casey (justincc)
e98e580900
rename Scene.m_physicalPrim to PhysicalPrims since its public and access external as a property
2012-01-09 12:31:53 +00:00
Justin Clark-Casey (justincc)
292ab783e4
Remove unused m_physicalPrim parameter from SOG.ApplyPhysics()
2012-01-09 12:30:04 +00:00
Justin Clark-Casey (justincc)
0563530bf8
remove now redundant m_physical_prim flag from SOP.ApplyPhysics()
2012-01-09 12:26:49 +00:00
Justin Clark-Casey (justincc)
2135b89c07
Make it possible to force all prims to be phantom via the collidable_prim 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.
2012-01-09 12:04:45 +00:00
Dan Lake
2b19a112d9
Remove unused SetAcceleration and add set on Acceleration parameter
2012-01-09 12:02:46 +00:00
Justin Clark-Casey (justincc)
cd78f50632
Though the viewer warns about receiving this, not sending appears to break baked texture caching when crossing region boundaries.
...
Needs further investigation.
Revert "Stop sending the viewer its own AvatarAppearance packet."
This reverts commit 92039f295d
.
2011-12-20 20:58:37 +00:00
Justin Clark-Casey (justincc)
b300db9e0a
Stop sending the viewer its own AvatarAppearance packet.
...
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-19 21:16:34 +00:00
Justin Clark-Casey (justincc)
4370f0e181
Stop unnecessarily sending the TextureEntry in client avatar updates.
...
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-19 21:16:24 +00:00
Justin Clark-Casey (justincc)
48ea503c33
Fix race condition where the appearance update timer could be stopped just 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-19 21:16:14 +00:00
nebadon
546eb88112
addresses mantis #5827
...
RAdmin - admin_save_oar fails if noassets parameter missing
thanks Michelle Argus
2011-12-19 21:09:36 +00:00
Justin Clark-Casey (justincc)
52710b48ac
Provide user feedback on execution of "backup" region console command
2011-12-19 21:09:28 +00:00
Justin Clark-Casey (justincc)
cc5e28c1c1
Fix bug where objects couldn't be set back to the "none" group.
...
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-19 21:09:19 +00:00
Justin Clark-Casey (justincc)
67a2d6d855
Fix bug where objects could not be set to a new group if the group had been 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-19 21:09:09 +00:00
Justin Clark-Casey (justincc)
7d426debd3
refactor: simplify methods in Scene.PacketHandlers.cs by using GetGroupByPrim() rather than retrieving GetEntities() and inspecting the entire list
2011-12-19 21:05:27 +00:00
Justin Clark-Casey (justincc)
4de98ca4c8
Add SceneViewer changes for removing unused client flags
2011-12-19 21:01:46 +00:00
Justin Clark-Casey (justincc)
deb50cd410
Stop generating client flags when we send out full object updates.
...
These were entirely unused.
2011-12-19 20:59:18 +00:00
Justin Clark-Casey (justincc)
b3cfc5b76e
Stop pointlessly setting the m_colliderarr[] to false in the ODECharacter constructor
2011-12-19 20:49:31 +00:00
Justin Clark-Casey (justincc)
27644bcce6
Stop having to call SetHeight again in ScenePresence.AddToPhysicalScene() when we've already passed size information to the avatar at PhysicsScene.AddAvatar()
...
Eliminate some copypasta for height setting in OdeCharacter
2011-12-19 20:49:09 +00:00
Justin Clark-Casey (justincc)
903da8acbd
Simplify some manipulation of _taintedActors in OdeScene
2011-12-19 20:31:57 +00:00
Justin Clark-Casey (justincc)
cfdccdd71c
Eliminate _taintedPrimsH and _taintedPrimsL (and _taintedPrimLock) in favour of just a _taintedPrims HashSet.
...
There's no point maintaining a list because any pending taint operations are all carried out in the same call anyway.
2011-12-19 20:30:52 +00:00
Justin Clark-Casey (justincc)
93e65fb9d5
In AvatarFactoryModule.SetApperance(), perform ValidateBakedTextureCache() in the same thread rather than on another one.
...
The caller is already an async thread from LLClientView so this doesn't hold up the client.
However, launching on a separate thread does remove the effect of m_setAppearanceLock
This was potentially allowing two different SetAppearance threads to interfere with each other, though this probably rarely happens, if at all.
2011-12-19 20:30:26 +00:00