Justin Clark-Casey (justincc)
9801bf03f8
minor: add comment explaining that GetRegionsByName needs to stay in TeleportAgent for its side effects.
2011-02-12 01:14:12 +00:00
Justin Clark-Casey (justincc)
03d82a5a85
Fix bug where "My estate" name was always used even if the user entered a different name on initial setup.
...
Turns out we had stopped saving estate settings immediately after the name change. The scene constructor then reloade the settings and oblitereted the different name.
This code could be more efficient since there's no reason for scene to reload the settings when they are already known to be valid.
Thanks to Thoneve for the spot on this.
2011-02-12 01:08:56 +00:00
Huaiyu (Kitty) Liu
63e35d53f7
Added implementation of GeneralBucketUpdateProcessor and PhysicsBucketUpdateProcessor
2011-02-11 16:51:38 -08:00
Justin Clark-Casey (justincc)
7e21c1eadf
Hack in a crude temporary "estate show" command
...
This will show the estate for each region, along with that estate's id and the estate owner.
This is temporary because the command output might change.
This commit also converts the estate module from the old to the new region module format
2011-02-12 00:46:01 +00:00
Huaiyu (Kitty) Liu
f47c301a56
Added SOP.HasPropertyUpdatedLocally() to help enqueue the right set of objects that have properties updated locally.
...
Also, in RegionSyncModule.SendSceneUpdates, added calling sog.UpdateTaintedBucketSyncInfo() to update timestamp of a tainted property bucket.
2011-02-11 16:23:03 -08:00
Robert Adams
9970677ed8
Quark/Endpoint registration and lookup for three table database
2011-02-11 15:50:25 -08:00
Justin Clark-Casey (justincc)
26727ee044
refactor: split out estate management commands into separate class
2011-02-11 23:32:38 +00:00
Huaiyu (Kitty) Liu
7a331b6a8f
Switched to use ScheduleFullUpdates() and ScheduleTerseUpdates() as the funnel to catch any property updates, so as to update bucket's sync
...
timestamp correctly. Code good for compilation, runtime not tested yet.
2011-02-11 15:31:13 -08:00
Justin Clark-Casey (justincc)
754c244f46
In SQLiteSimulationData.RemoveLandObject(), don't manually remove the row from the data adaptor's Rows list in addition to calling Delete.
...
This matches the behaviour for other deletions and stops this operation failing on Windows .NET (though mono is fine with the duplication).
Probably a holdover from copying code from the older legacy adaptor.
Resolves http://opensimulator.org/mantis/view.php?id=5361
2011-02-11 23:06:14 +00:00
Justin Clark-Casey (justincc)
98af0db8c0
minor: Add some more information to the mesh_sculpted_prim [PHYSICS] setting
2011-02-11 22:16:53 +00:00
Justin Clark-Casey (justincc)
8fd58aa00c
add estate name to show regions console command
2011-02-11 22:10:02 +00:00
Huaiyu (Kitty) Liu
5ef659520e
Access to sop.Shape.Scale replaced by sop.Scale.
2011-02-10 17:06:15 -08:00
Huaiyu (Kitty) Liu
88e42011af
In current SOP class, overrode functions in SOPBase that modified values of Shape or properties of Shape.
2011-02-10 15:32:59 -08:00
Huaiyu (Kitty) Liu
1da933041c
Started to added new access functions of SOP properties.
2011-02-10 11:37:34 -08:00
Diva Canto
45382e6f82
Reinstated a couple of null checks related to the previous revert.
2011-02-10 06:26:26 -08:00
Diva Canto
89bb5c0941
Revert "Hunting down mantis #5365"
...
This reverts commit ebeef02fef
.
2011-02-10 06:09:04 -08:00
Diva Canto
21715396fa
Put the Ack of UseCircuitCode back to where it used to be. Some ppl are reporting login issues.
2011-02-09 17:45:19 -08:00
Robert Adams
4fe0bd32d4
Actor/Quark registration for Simian backend
2011-02-09 17:17:50 -08:00
Huaiyu (Kitty) Liu
3cd1ec8752
Renamed SOP and SOPInventory as SOPBase and SOPInventoryBase, and define new SOP and SOPInventory. The latters
...
will invoke UpdateBucketSyncInfo the set functions of their properties, while the base classes won't.
2011-02-09 17:17:16 -08:00
Diva Canto
f33e51e2ff
Comment instrumentation out. Not needed anymore. Left in comments, in case it is needed again. Mantis #5365
2011-02-09 09:50:26 -08:00
Diva Canto
1cd951e5ae
Fix the negative number problem in TokenBucket. mantis #5365
2011-02-09 09:39:53 -08:00
Diva Canto
830fee145d
Revert "Brute-force debug -- mantis #5365"
...
This reverts commit 585473aade
.
2011-02-09 08:35:36 -08:00
Diva Canto
1bba9c6300
Revert "Don't build strings unless we're in emergency debugging."
...
This reverts commit ba202ea9b0
.
2011-02-09 08:35:21 -08:00
Diva Canto
477a869fb2
More detection of negatives.
2011-02-09 08:08:57 -08:00
Diva Canto
473fac4dc7
Detect negative dripAmounts in TokenBuckets. These negatives result from overflown integer operations. Also added Total to the scene throttles in show throttles.
2011-02-09 08:06:20 -08:00
Diva Canto
ba202ea9b0
Don't build strings unless we're in emergency debugging.
2011-02-08 21:09:10 -08:00
Diva Canto
585473aade
Brute-force debug -- mantis #5365
2011-02-08 20:12:33 -08:00
Diva Canto
117462cba1
Avoid potential race conditions on UseCircuitCode. I artificially made the race condition happen, and got very similar results to those described in mantis #5365 -- no prims/avie sent back.
2011-02-08 17:53:01 -08:00
Huaiyu (Kitty) Liu
a9ebb3ebae
Merge branch 'dev_kitty_debug' into dev_kitty
2011-02-08 15:55:45 -08:00
Huaiyu (Kitty) Liu
2dc857b31d
Added code to serialization/deserialize LocalFlags. Need further testing to see if it's necessary.
2011-02-08 15:55:00 -08:00
Huaiyu (Kitty) Liu
e8e9a0fb43
Enabled all synchronized properties to be updated by calling through SetXXX() to set values.
2011-02-08 15:33:54 -08:00
Diva Canto
f431bd20ec
Minor addition to the previous commit
2011-02-08 14:49:50 -08:00
Diva Canto
82846afe4b
Minor improvement to previous commit.
2011-02-08 12:37:37 -08:00
Diva Canto
ac7bc78555
Added emergency monitoring of UDP Outgoing packets thread. Just type "emergency-monitoring on/off"
2011-02-08 12:06:14 -08:00
Diva Canto
34bd41d186
Comment previous debug
2011-02-08 11:16:38 -08:00
Huaiyu (Kitty) Liu
29053b19d8
Added set functions for the last a few properties. For some property assignments
...
in SOP, changed from "m_xxx=" to "Xxx=" to trigger UpdateBucketSyncInfo() as desired.
2011-02-08 10:08:09 -08:00
Diva Canto
305c755cfb
XFF header again -- debug.
2011-02-08 07:50:01 -08:00
Diva Canto
d627122cdc
Mantis #5368 -- exception on WorldMap
2011-02-07 19:44:55 -08:00
Huaiyu (Kitty) Liu
9ee4a7e9f3
Merge branch 'dev_kitty_debug' into dev_kitty
2011-02-07 17:20:50 -08:00
Huaiyu (Kitty) Liu
e9b831b8f4
1. Updated SOP.InventorySerial and SOP.TaskInventory set functions, to make sure only local write accesses trigger
...
UpdateBucketSyncInfo().
2. LinkObjectsBySync(), DelinkObjectsBySync(), and functions they call into, all updated to set properties via calling SetXXX instead of by "XXX=", so that the set operations won't trigger UpdateBucketSyncInfo().
2011-02-07 17:16:26 -08:00
Diva Canto
d934add021
Thanks Tokeiito for noticing this bug. mantis #5366
2011-02-07 14:49:18 -08:00
Huaiyu (Kitty) Liu
6cb8b01bef
Added m_syncEnabled in SceneObjectPart to guard again modifying any syncinfo (timestamp, etc) while
...
deserializing and building SOP/SOG out of sync message.
2011-02-07 14:15:33 -08:00
Huaiyu (Kitty) Liu
396486a93b
Added set functions for the last a few properties in SOP.
2011-02-07 09:45:16 -08:00
Diva Canto
ebeef02fef
Hunting down mantis #5365
...
Revert "refactor: remove redundant null checks"
This reverts commit 6e58996b4d
.
2011-02-07 07:45:03 -08:00
Diva Canto
98ea78fc77
New command: show pending-objects
2011-02-06 19:39:29 -08:00
Diva Canto
2c7e87c45b
Better output for show neighbours
2011-02-06 07:51:20 -08:00
Diva Canto
3411d4867d
Honor check of m_Enabled in WorldViewModule.
2011-02-05 19:40:55 -08:00
Diva Canto
cc81d924ca
Fixed Caps handlers leak
2011-02-05 19:34:02 -08:00
Diva Canto
30fa5ad1e2
One more diagnosis command:
...
show caps
2011-02-05 19:21:12 -08:00
Diva Canto
b20ab1063f
Added a couple of console commands to help diagnose issues:
...
show circuits: shows the lists of agent circuit data
show http-handlers: shows the currently registered http handlers
2011-02-05 17:57:30 -08:00