Commit Graph

28629 Commits (fb42845bee508e5d411af78263262fe5fd677d82)

Author SHA1 Message Date
Geir Nøklebye 653b896794 PGSQL: Update simulation data with a number of missing fields for parcels. Some of the fields should probably be migrated to type Boolean to avoid the hairy casting in the query. In addition the overall server code relies in the Replace in SQL statement that is proprietary to MySQL, so the PGSQL code is rather unsafe as it is. Should probably set a transaction on the whole operation so that if something goes wrong the database record is not zapped as it is now. PostgreSQL 9.5 has the upsert functionality which would bring the code closer to the MySQL version. This commit also has an update to PGSQLRegionData
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-07-15 15:45:39 +01:00
UbitUmarov 5f5c4aca40 lib omv now supports SeeAvs fields, so use it, thx Gavin Hird 2016-07-15 15:36:53 +01:00
UbitUmarov aba4e2d13b revert changes to Select/DeSelect, using the SelectObjects as control seems bad 2016-07-14 02:11:50 +01:00
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 e0a1025497 Oops that was not slower 2016-07-13 16:28:07 +01:00
UbitUmarov 33655e40df slow down culling kills even more 2016-07-13 16:15:35 +01:00
UbitUmarov acebfeb5c9 don't overlap Select and Deselect, fix deselect prims account 2016-07-13 15:56:01 +01:00
UbitUmarov 981980150c ignore camera on culling for now 2016-07-13 14:18:06 +01:00
UbitUmarov 7131703244 ugly culling 2016-07-13 14:00:33 +01:00
UbitUmarov 14296bc792 add missing prim count for stats 2016-07-13 10:25:52 +01:00
UbitUmarov 2220ceb522 a few changes to culling 2016-07-13 02:07:07 +01:00
UbitUmarov abf423e361 be nicer to PIs (actually linux) 2016-07-12 23:23:47 +01:00
UbitUmarov 3507566692 reduce some locks on culling checks 2016-07-12 22:15:39 +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
Melanie Thielker f87d5d0780 Merge branch 'master' of opensimulator.org:/var/git/opensim 2016-07-11 22:32:27 +01:00
Melanie Thielker 8239e29be7 Change the user verification call back to use the host name instead of the
IP address. Fixes NGINX on OSGrid getting confuzzled.
2016-07-11 22:31:32 +01:00
UbitUmarov 79fb13c95c reduce xfer burst if we are busy 2016-07-11 12:05:47 +01:00
UbitUmarov a92266d58e fix ObjectPropertiesFamilyPacket LastOwnerID 2016-07-10 19:05:19 +01:00
UbitUmarov e6d57a1e49 change Xfermanager file sending 2016-07-10 15:25:05 +01:00
UbitUmarov 8d27abd3b4 Merge branch 'master' of opensimulator.org:/var/git/opensim 2016-07-09 13:46:20 +01:00
UbitUmarov 941971648e kick Xfermanager from heartbeat and expires files based on its timming 2016-07-09 13:45:29 +01:00
Kevin Cozens 21de916225 Fixed the order of two file names used in a warning. 2016-07-08 21:21:46 -04:00
UbitUmarov 415c45b097 add a simple files expire to Xfer to catch some that never got a request (opened xfers also need a timeout) (not pretty code, but should not have heavy use) 2016-07-09 01:32:27 +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 06b412c980 the bug was actually here 2016-07-06 17:32:59 +01:00
UbitUmarov beafc99d43 bug fix, etc 2016-07-06 17:31:05 +01:00
UbitUmarov 6c48be6c91 finish removing child-repri option 2016-07-06 16:50:25 +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
UbitUmarov 259824fbc4 add EngineName also to the others 2016-07-04 09:13:20 +01:00
UbitUmarov 2ebccbcd08 add EngineName also to old ODE 2016-07-04 08:55:19 +01:00
UbitUmarov 1d9e343b7e Merge branch 'master' of opensimulator.org:/var/git/opensim 2016-07-04 08:30:07 +01:00
UbitUmarov ac72598c6b add OSSL osGetPhysicsEngineName(). this returns a string with name and version. does no permition checks or it whould be less usefull ( only ubOde returns value) 2016-07-04 08:29:26 +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