Commit Graph

5361 Commits

Author SHA1 Message Date
UbitUmarov
445fb51455 make getBoundsCenter() call GetBoundsRadius() to do the math if needed 2016-07-13 22:35:46 +01:00
UbitUmarov
00687d5b0f use geometric center and not sog root position in culling 2016-07-13 22:29:09 +01:00
UbitUmarov
14296bc792 add missing prim count for stats 2016-07-13 10:25:52 +01:00
UbitUmarov
abf423e361 be nicer to PIs (actually linux) 2016-07-12 23:23:47 +01:00
UbitUmarov
bc6c342d01 let radius be radius, not diameter 2016-07-12 17:21:34 +01:00
UbitUmarov
5bb5eb4e37 don't break child agents start position 2016-07-12 16:33:09 +01:00
UbitUmarov
e0878864e8 work around missing information on child creation, hidding its effects with reduced view range in culling option is on 2016-07-12 15:50:05 +01:00
UbitUmarov
d879e119a8 add object UUID to a debug/warn message 2016-07-12 14:45:20 +01:00
UbitUmarov
fa9a4a9a2b some changes to RequestInventoryFile() 2016-07-09 00:20:51 +01:00
UbitUmarov
11a8a722df don't auto return objects if they have sitting avatars (not npcs) - mantis 7828 with diferent code 2016-07-08 09:56:59 +01:00
Diva Canto
e38f16d800 Correction of a test introduced in 34b308d5b6 2016-07-07 13:06:37 -07:00
UbitUmarov
a058fca1ac reduce lock time during object inventory ProcessInventoryBackup 2016-07-07 19:54:52 +01:00
UbitUmarov
668339f936 reduce the initial capacity of InventoryStringBuilder the 16k i added is
unreasonable for most cases. The coment about performance on a previus
commit refering to mantis 7904 was wrong, this changes will NOT do much in
terms of objects inventory download time, only a bit on cpu and memory
use"
2016-07-07 16:05:13 +01:00
UbitUmarov
416c02ef3a hide the footprints of my previus bug ( take out comented code 2016-07-07 15:30:07 +01:00
UbitUmarov
a4fc22a6b6 forget InventoryStringBuilder.close() 2016-07-07 15:22:32 +01:00
UbitUmarov
14b9d31bd9 change InventoryStringBuilder. This will do much for mantis 7904 objects inventory sending is slow by design 2016-07-07 14:38:27 +01:00
UbitUmarov
f768effa87 move object inventory send to udp queue asset ( was task). Remove a call
to RefreshGroupMembership() on start. It was too soon and its Groups
module job
2016-07-07 12:23:53 +01:00
UbitUmarov
4119e60c0c avoid InvalidBoundsRadius() calls caused by small changes 2016-07-07 00:16:25 +01:00
UbitUmarov
d7ab1cdd15 let RePrioritization also work on child agents 2016-07-06 18:58:28 +01:00
UbitUmarov
beafc99d43 bug fix, etc 2016-07-06 17:31:05 +01:00
UbitUmarov
0eabfb1e3e add some needed InvalidBoundsRadius() calls 2016-07-06 16:45:27 +01:00
UbitUmarov
c02fe98b7d add test option ObjectsCullingByDistance. In future, if true, it may
prevent sending objects outside view range to viewers. DO NOT SET TRUE
 unless testing it. Code still not completei!!!
2016-07-06 16:13:27 +01:00
Melanie Thielker
4468aa0dcf Merge branch 'master' of opensimulator.org:/var/git/opensim 2016-07-04 03:37:45 +01:00
Melanie Thielker
ea8f3c83bf Finally remove the requirement for an InventoryItem/FolderBase object to
be passed into inventory queries.
This makes the API more homogenous and also will more clearly show
coding
errors related to HG inventory where the .Owner field has a meaning
for a query but wasn't always set.
2016-07-04 03:35:48 +01:00
Diva Canto
e00603f78a New config var: DisableObjectTransfer. If set to True, objects never cross; instead they stay in the region, possibly placed outside its borders. 2016-07-03 12:24:31 -07:00
UbitUmarov
42dd02fc32 scale down position X and Y acording to region size on sending coarse Updates. Viewers need to scale up by same amount. 2016-07-03 15:47:20 +01:00
UbitUmarov
a443dcce89 try to place avatars on a nicer location, when they arrive into a banned parcel 2016-07-03 10:22:14 +01:00
UbitUmarov
07c8e79b03 missing file 2016-07-01 19:32:14 +01:00
UbitUmarov
9358a6ad29 revert several changes to groups modules (agentGroupData is private). change interregions invite/eject messages, etc 2016-07-01 16:10:45 +01:00
UbitUmarov
90b825cda8 if a NPC is owned, allow access if ownerID matchs parcel owner or it is in the access list. option OS_NPC_OBJECT_GROUP it still needed if access is by group (this option should also work with not owned NPC) NEEDS TESTING, may prove to be a bad solution 2016-06-28 23:30:04 +01:00
UbitUmarov
a08c354a07 fix NPCs OS_NPC_OBJECT_GROUP option. group ID needs to be set during creation, before scenepresence.CompleteMovement, set tittle just after it. 2016-06-28 18:14:30 +01:00
Diva Canto
c34fcae3f3 Added a test for checking permissions in inventory items that are transferred. This is a work in progress. All permission assertions are commented for now. Will get back to this later when permissions are fixed by Melanie. 2016-06-24 12:27:45 -07:00
Diva Canto
b522f0916a Mantis #7934 and related: landing points and telehubs for gods. Added a new configuration variable LandingPointBehavior that can switch between what we're used to in OpenSim and the behavior in SL. 2016-06-23 11:44:59 -07:00
Diva Canto
f8bd3d2f2e Mantis #7935: regression on transferring attachments over the HG 2016-06-22 11:52:53 -07:00
Diva Canto
0b32cf0e8f Can't do it do it this low in the stack. Attachments on teleports apparently rely on
State being != 0.
Revert "Mantis #7932: Some objects were being serialized with PCode=9 and State != 0 (meaning attachments). That should never happen."

This reverts commit f19199cf4a.
2016-06-22 06:21:23 -07:00
Diva Canto
f19199cf4a Mantis #7932: Some objects were being serialized with PCode=9 and State != 0 (meaning attachments). That should never happen. 2016-06-21 20:28:25 -07:00
Diva Canto
34b308d5b6 Guard against multiple calls to SetOwnerId on one logical ownership change. 2016-06-20 16:02:37 -07:00
Diva Canto
bc0fc16f44 Still mantis #7929: apply next owner mask to the new owner, the group. 2016-06-20 15:32:22 -07:00
Diva Canto
359908fa88 Related to mantis #7929: "For sale" was not being accepted, because of permissions fail. This adds a new permissions check CanSellGroupObject. THIRD-PARTY PERMISSIONS MODULES TAKE NOTE OF THIS NEW EVENT. 2016-06-20 10:08:15 -07:00
Diva Canto
623a2f859f Mantis #7929: objects deeded to the group were loosing some important properties. This makes the "For sale" be visible, but is not the end of the story. 2016-06-20 10:05:17 -07:00
Diva Canto
8d99fe095a Mantis #7920: group info was not being updated in many situations. (regression) Putting back the heavy messaging. 2016-06-19 17:35:11 -07:00
Diva Canto
76ab1ed10c Restored sending group membership data via EventQueue -- this had been a regression. Took the opportunity to refactor that code, so that both Groups V2 and XmlRpcGroups can use the same function. 2016-06-19 16:27:12 -07:00
Diva Canto
206faf0218 Guard against occurring null ref. 2016-06-18 17:00:15 -07:00
Diva Canto
1e9a944633 Revert "More debug to diagnose osgrid"
This reverts commit b5f29e93f6.
2016-06-13 20:39:52 -07:00
Diva Canto
b5f29e93f6 More debug to diagnose osgrid 2016-06-13 20:35:40 -07:00
Diva Canto
d0c65d15dc Still mantis #7858: send kill object / update to child agents too 2016-06-12 14:29:30 -07:00
Mandarinka Tasty
634d85a30d Detection of Cylinder and Prism for flexi prims
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: Diva Canto <diva@metaverseink.com>
2016-06-12 13:58:20 -07:00
Diva Canto
42a9afdc43 Mantis #7858: DeleteSceneObject done slightly differently. ProcessEntities now checks whether the objects have been deleted and, if so, sends an extra kill object packet, in order to compensate for potential race conditions encountered by the first one.
Note: I still cannot reproduce this problem, but I was able to emulate it by adding an artificial delay on ProcessEntities, which did, indeed, result in objects not being deleted. This fix fixed my emulated scenario.
2016-06-12 12:23:52 -07:00
Diva Canto
1468ee9179 Mantis #7858. This is s shot in the dark, because I cannot reproduce the problem. Removed what seemed to be redundant kill object calls that weren't there in 0.8.2 -- kill object is already being called in DeleteGroupFromScene. 2016-06-11 09:38:19 -07:00
Melanie Thielker
bcee4e3772 Fix a line deletion that should not have been deleted 2016-05-23 19:33:36 +02:00