UbitUmarov
4f17078b07
add a weak safeguard
2016-08-04 18:21:16 +01:00
UbitUmarov
bb8e271081
fix a typo
2016-08-04 17:29:47 +01:00
UbitUmarov
9a4afa753b
fix NULL references added in recente changes in standalone mode
2016-07-30 20:56:19 +01:00
UbitUmarov
6cd0a3e07c
fix cAgent.CrossingFlags
2016-07-30 04:25:32 +01:00
UbitUmarov
7a69b7d20d
remove more code related to Mega regions
2016-07-28 00:48:12 +01:00
UbitUmarov
ec8101a24a
remove references to RegionCombinerModule
2016-07-28 00:34:16 +01:00
UbitUmarov
9aacdca653
but buoyancy was missing
2016-07-27 21:32:47 +01:00
UbitUmarov
32e30afbcb
actually that was redundante, already done at low level
2016-07-27 21:31:43 +01:00
UbitUmarov
8c46ab02c7
move refresh forces into applyphysics
2016-07-27 21:11:39 +01:00
UbitUmarov
e951f4cc96
a few more changes relative to sits crossing
2016-07-27 14:28:16 +01:00
UbitUmarov
07853c86ed
clear SitTargetAvatar on a sop copy
2016-07-27 11:45:32 +01:00
UbitUmarov
2e4c8798ab
a few more changes on avatar crossing
2016-07-27 03:50:47 +01:00
UbitUmarov
d6e16c5130
missing changes about friends on crossings, and missing angular velocity clear on sits
2016-07-27 01:57:20 +01:00
UbitUmarov
800044cead
take friends out of onMakeRoot if crossing
2016-07-26 22:30:51 +01:00
UbitUmarov
52decfcc16
reduce some grid services calls on region crossings, sending more information on the agent update ( groups v2 needs change )
2016-07-26 21:39:47 +01:00
UbitUmarov
1d507f8073
remove extra char
2016-07-25 08:38:10 +01:00
UbitUmarov
c3b298f85e
missing file
2016-07-25 02:11:45 +01:00
UbitUmarov
76239602b4
change avatar Health, from bad penetration depth to relative velocity
2016-07-25 00:51:37 +01:00
UbitUmarov
cdf215f613
add a missing field to ChatterBoxSessionAgentListUpdates. it is still wrong, and its use even worse
2016-07-23 01:28:57 +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
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
Melanie Thielker
08bd80f5f4
Merge branch 'master' of opensimulator.org:/var/git/opensim
2016-05-23 19:20:05 +02:00
Jeff Kelley
527ea6af02
Fixed discrepancy between code and ini symbols.
2016-05-23 19:19:36 +02:00
Melanie Thielker
775a657bb1
Addressing #7903 . Fix legacy sit offsets to use legacy computation.
...
New offsets of course still use the correct math.
2016-05-23 19:18:24 +02:00
Diva Canto
9e21647011
Mantis #7878 -- Landmarks were not being created in HGSuitcaseInventory
2016-05-16 19:36:20 -07:00
Melanie Thielker
59ed89769a
Apply user specified default perms across the board, to items uploaded as well as items created and to rezzed prims in world.
...
This effectively removes the concept of "default permissions" from OpenSim
because all known modern viewers set the permissions flags on login.
Ancient abandoned viewers will now default to the SL defaults.
2016-04-29 22:36:56 +02:00
Melanie Thielker
d42de53dda
Allow default permissions from the viewer to be applied to uploaded objects.
...
Make inventory items reflect coorect permissions immediately unstead of after relog
2016-04-29 21:23:32 +02:00
Melanie Thielker
bedebf9498
Prevent "Object->Take" from working on attachments.
2016-04-29 17:11:36 +02:00
Melanie Thielker
e8b46023e4
Add osRequestURL and osRequestSecureURL with an options list.
...
Only currently supported option is "allowXss" which will send the needed
Access-control-allow-origin: * header to allow xss scripting against
the LSL http server.
2016-03-16 20:04:52 +01:00
Robert Adams
b65a18ef3f
Remove unused parameter ShouldUseFireAndForgetForCollisions. It was
...
used a while ago for testing but the execution code was removed.
2016-03-06 14:16:46 -08:00
Robert Adams
feb058f5c5
BulletSim: Send out avatar position update if velocity is now zero
...
and it wasn't zero last tick. This will prevent some avatar creeping.
Adjust BulletSim default avatar velocity zeroing so the avatar stops sooner.
2016-03-06 11:30:25 -08:00
Diva Canto
ab12a14279
Pushed AssemblyVersion up to VersionInfo, so that we don't need to do global replace anymore.
2016-02-21 11:14:02 -08:00
UbitUmarov
b34652e9eb
accept mantis 7785 requests, at least until bullet can be also be used fix landing height. (could not test)
2016-01-26 21:42:46 +00:00
UbitUmarov
668ff1e12c
make sure MaxRegionsViewDistance is lower than MaxDrawDistance
2016-01-26 20:55:00 +00:00
UbitUmarov
109723dc2d
add option MaxRegionsViewDistance to control the maximum range to tell viewer to connect to Neighbour regions, since that is diferent from view range
2016-01-26 20:39:37 +00:00
Robert Adams
b02f29300d
Code cleanup to terse update sending as given in a patch in Mantis 7813.
...
Thanks tqlion!
2016-01-18 06:58:41 -08:00
UbitUmarov
ee15c51ba4
add npc create option OS_NPC_OBJECT_GROUP. with it the npc will be created with the group of the object with the script, if that object owner is member of that group. This should allow parcel access by group to work now, and not much else. The groupTitle will also be set, it the region option NoNPCGroup is not active.
2016-01-01 23:41:25 +00:00
UbitUmarov
24aa529715
fix avatar movetotarget that got broken with changes on significant movement. Do it all on scenepresence.cs, and not also on scene.cs. check distance to target only on X,Y if not flying or landing
2015-12-23 21:22:00 +00:00
UbitUmarov
5135214e5b
physics landing: don't land on top of volume detectors
2015-12-22 13:23:08 +00:00
UbitUmarov
6437a94388
a few changes to physics new root avatar position height estimation
2015-12-22 00:06:17 +00:00
UbitUmarov
7081ef948c
clean a bit
2015-12-21 17:56:12 +00:00
UbitUmarov
4b14ec3c45
add physics help on root agent arrival via some login types and if not under action of telehub or landpoint. will change land to the top of anything physics sees above ground up to 1024m above ground. Only works with ubOde (possible ode but untested). Feature testing... some results may be ugly.
2015-12-21 16:31:49 +00:00
UbitUmarov
52d7aca6a2
simplify avatar updates throotle control, this possible needs to get more complex again
2015-12-21 13:20:24 +00:00
UbitUmarov
b31adde5fc
BUG FIX on avatar position updates send control
2015-12-20 11:12:48 +00:00
UbitUmarov
a4f91e5064
do not change a attachment phatom state on crossings
2015-12-19 19:49:27 +00:00
UbitUmarov
01a27e8c71
establish a minimun for ReprioritizationDistance
2015-12-19 17:39:42 +00:00
UbitUmarov
48f6010a1c
a more clean enforcement of BestAvatarResponsiveness (others aren't good at moment
2015-12-19 17:29:51 +00:00
UbitUmarov
56e28c6c27
fix silly bug: Dynamics are to apply to root prim not child
2015-12-17 19:02:46 +00:00
UbitUmarov
01b4b25cdb
current priority code uses avatar position not camera, so fix reprioritizer. This may need to be reviewed in future.. it should be camera
2015-12-17 18:15:33 +00:00
UbitUmarov
ed74fb5da4
save a expensive call to CameraPosition
2015-12-17 12:24:37 +00:00
UbitUmarov
a4ed6111b0
change updates reprioritization control code. Do it under normal avatar updates timing and with a workjob not a timer issued thread.
2015-12-17 12:20:02 +00:00
UbitUmarov
3505ab759d
dont bother another thread to try to send if there is no one to listen
2015-12-16 23:54:48 +00:00
UbitUmarov
764f270d34
revert last change and add delays on testing, since child updates now have time control, since they are heavy http connections
2015-12-16 23:13:10 +00:00
UbitUmarov
ddd067266b
temporary remove the delay on first child updates
2015-12-16 22:43:31 +00:00
UbitUmarov
41ae6f06e0
several changes to parcels access control and scenepresence updates rates
2015-12-16 22:16:51 +00:00
UbitUmarov
9327bb2546
a few more changes on parcels location finding
2015-12-15 18:19:08 +00:00
UbitUmarov
a9e8bd2884
remove replaced code
2015-12-15 17:20:00 +00:00
UbitUmarov
c7b963df8f
replace GetNearestPoint... funtions
2015-12-15 17:13:32 +00:00
UbitUmarov
2f7e9a97db
rename a parameter
2015-12-14 14:07:30 +00:00
UbitUmarov
78794b1dfe
bug fix
2015-12-14 14:06:17 +00:00
UbitUmarov
2a354f6c28
calculate land startpoint, endpoint and center estimate when it is updated, it not every time they are needed
2015-12-14 11:57:24 +00:00
UbitUmarov
6c5005aa3b
several changes to telehubs, LandPoint and land access
2015-12-13 16:59:01 +00:00
UbitUmarov
36e53b0e03
fix: do tell and log denied access to estate
2015-12-13 12:42:15 +00:00
UbitUmarov
5d6da6bb35
fix: if no groups module, deny access
2015-12-13 12:14:31 +00:00
UbitUmarov
f3c03aaa62
several changes to region and land access control - this may be a bit broken now
2015-12-13 11:31:06 +00:00
UbitUmarov
0934e1cf71
add IsEstateManager check to Permissions
2015-12-12 10:03:07 +00:00
UbitUmarov
b35d3a3134
fix backup control flag, still a bad merge effect
2015-12-11 02:06:32 +00:00
UbitUmarov
6de7da467a
keep SOG reference to root part since two many things depend on deleted SOGs not being deleted
2015-12-10 17:04:39 +00:00
UbitUmarov
62009ba9c0
remove some SOG references on delete to help GC
2015-12-10 14:00:43 +00:00
UbitUmarov
7d8b783d31
send a full update on GroupResize, not a terse
2015-12-05 08:30:30 +00:00
UbitUmarov
e37c4e878c
more changes on lookAt and RotLookAt; do something in attachments
2015-12-01 12:11:48 +00:00
UbitUmarov
a9e58d6175
some changes due to lookAt and RotLookAt
2015-12-01 10:15:38 +00:00
UbitUmarov
9928076d1a
remove terrain height clamping left over the ushort format testing
2015-11-27 23:46:58 +00:00
UbitUmarov
bb0db96256
DeregisterRegion from grid earlier on close
2015-11-27 14:01:42 +00:00
UbitUmarov
e2fb600bf5
change Backup on scene close to Forced, and not dependent on last change time.
2015-11-27 13:56:57 +00:00
UbitUmarov
c5395cef74
remove thread Heartbeat from watchdog
2015-11-27 13:45:14 +00:00
Melanie Thielker
9afe2b018f
Mantis #7765 : Add new ClampNegativeZ option. Defaults to false to restore prior functionality.
...
Avination code wasn't designed for deep building.
2015-11-26 17:29:50 +01:00
UbitUmarov
172bb05ec2
suspend the use of DisableSimulator, that is causing teleport and crossing issues
2015-11-25 04:13:13 +00:00
UbitUmarov
e9345479c4
remove warning on siting in phantom prims without sittarget
2015-11-23 22:11:27 +00:00
Jak Daniels
cc992bf156
Changes to TerrainModule/ITerrainModule to support importing OARs with different Region sizes to the destination region.
...
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2015-11-22 01:32:36 +00:00
Jak Daniels
7cac0ccbe3
Changes to TerrainChannel/ITerrainChannel to support importing OARs with different Region sizes to the destination region.
...
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2015-11-22 01:32:08 +00:00
UbitUmarov
3f4fdacb34
remove a warning
2015-11-21 01:55:17 +00:00
UbitUmarov
156fdd4908
remove some duplicate using statements
2015-11-21 01:49:31 +00:00
UbitUmarov
0c93159297
remove unused return value on DeliverMessageTo()
2015-11-20 00:09:56 +00:00
UbitUmarov
f242137e31
work around some 'tests' errors: add a DefaultPermitions module to sceneB
2015-11-19 01:18:34 +00:00
UbitUmarov
da5aad87bf
start adding LegacySitOffsets option. TRUE will prevent the use of new math for the compensation of SL sittarget bug, and so not break content. (this is the main code change)
2015-11-17 17:41:09 +00:00
UbitUmarov
0991ad321a
work around some 'tests' errors: UUID.Zero is a invalid ownerID
2015-11-17 08:58:00 +00:00
UbitUmarov
f7f5aba597
remove unused parameter
2015-11-17 07:59:11 +00:00
UbitUmarov
16d158f2f1
work around some 'tests' errors: missing call to InventoryDeQueueAndDelete()
2015-11-17 05:49:39 +00:00
UbitUmarov
ec0a16c559
work around some 'tests' errors: suspend sit on sittarget until im not 2 sleepy to fix the math
2015-11-17 01:53:44 +00:00
UbitUmarov
083b52173b
work around some 'tests' errors: suspend undo-redo tests until new ones can be written to conform to new code
2015-11-17 01:44:15 +00:00
UbitUmarov
67aefb5e42
bug fix: StateSource of a SOG that is not a attachment is StateSource.PrimCrossing
2015-11-17 00:48:35 +00:00
UbitUmarov
895a57e426
work around some 'tests' errors: backup is async
2015-11-16 23:25:28 +00:00
UbitUmarov
52a3cc39e9
work around some 'tests' errors: fix math
2015-11-16 22:41:36 +00:00
UbitUmarov
3a65627481
work around some 'tests' error: internal GroupResize() doesn't heave Undo
2015-11-16 21:42:39 +00:00
UbitUmarov
10d5c80910
work around some 'tests' error: object is deleted on DeRezObjects, fix last commit side effects
2015-11-16 21:28:59 +00:00
UbitUmarov
ca4b7efd0f
dont find parts of groups marked as Deleted
2015-11-16 21:11:22 +00:00
UbitUmarov
99ecf522cd
work around some 'tests' error: object is deleted on DeRezObjects
2015-11-16 20:59:57 +00:00
UbitUmarov
250db8c82a
work around some 'tests' error: object crossing is async
2015-11-16 20:34:23 +00:00
Melanie Thielker
8c7f475740
Add some values to the SimulatorFeatures cap's OpenSimExtras section:
...
SimulatorFPS: The actual optimal FPS of the simulator, un-fudged
SimulatorFPSFactor: The fudge factor that is applied to the stats sent to the viewer
SimulatorFPSWarnPercent: The percentage below which a lag meter should go to amber
SimulatorFPSCritPercent: The percentage below which a lag meter should go to red
To display the real values, a viewer would divide the reported FPS by the SimulatorFPSFactor and use that to calculate the percentage of SimulatorFPS. E.g. reported is 55fps, SimulatorFPSFactor is 5.0 and SimulatorFPS is 11.
2015-11-12 21:13:44 +01:00
Melanie Thielker
d3911606ef
Move a call to RequestModuleInterface to a new scene callback function
...
because the current implementation would have always returned null
2015-11-12 20:34:09 +01:00
UbitUmarov
2b937fdf40
reduce the small MTU violation sending terrain compressed patchs
2015-11-10 23:56:08 +00:00
UbitUmarov
d17633f6c0
replace StatisticsFPSfactor that needed to be changed with FrameTime to a simpler true or false Normalized55FPS that is now TRUE by default. Incorrectly this commit also contains changes that should had their own commits: changes to heartbeat time control ant to gathering and calculation of related statistics.
2015-11-09 15:06:41 +00:00
UbitUmarov
097c56330a
rename MinFrameTime as FrameTime, since it is not a minimum but a target value; retune its value a bit so reported FPS is closer to integer value; change ode step size acording to reduce jitter in phys FPS; Make Statistics Scaling factor (fludge factor) configurable. (legacy default of 5.0 in code)
2015-11-08 04:28:46 +00:00
Melanie Thielker
69585a4824
More plumbing of the EntityTransferContext (not yet complete)
2015-11-01 19:11:14 +01:00
UbitUmarov
72684592ba
Merge branch 'master' into avinationmerge
...
Conflicts:
OpenSim/Framework/AvatarAppearance.cs
OpenSim/Framework/Servers/ServerBase.cs
OpenSim/Framework/VersionInfo.cs
OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs
OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs
OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/RemoteSimulationConnector.cs
OpenSim/Region/Framework/Interfaces/IEntityTransferModule.cs
OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
OpenSim/Region/PhysicsModules/ConvexDecompositionDotNet/Properties/AssemblyInfo.cs
OpenSim/Region/PhysicsModules/Ode/ODEPrim.cs
OpenSim/Region/PhysicsModules/Ode/OdeScene.cs
OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs
OpenSim/Services/HypergridService/GatekeeperService.cs
OpenSim/Services/Interfaces/IAvatarService.cs
OpenSim/Services/LLLoginService/LLLoginService.cs
2015-11-01 03:01:59 +00:00
Melanie Thielker
ea56f4f27c
Introduce an EntityTransferContext carrying the version numbers to pass
...
to all interested functions. Should fix the varregion conditional.
Still a testing version, do NOT use in production!
2015-10-31 18:13:02 +01:00
Melanie Thielker
e8e0ba6d8f
Remove testing cruft that is blocking the new protocols. Unit tests no
...
longer test TP v1 now.
TP v1 will be removed within 6 months anyway.
2015-10-31 17:22:27 +01:00
UbitUmarov
9232876421
let silly tests override version on local connections
2015-10-31 02:05:11 +00:00
Melanie Thielker
f0fd028ed9
Merge branch 'master' of opensimulator.org:/var/git/opensim
2015-10-31 00:06:34 +01:00
Melanie Thielker
dc6d9eadf3
Testing stage of the new versioning system. Use at own risk. May not
...
work. Will eat your babies. Yada. Yada.
2015-10-31 00:01:35 +01:00
UbitUmarov
dd9b06e3b6
fix mantis 7733, reverting setting of IsAttachment on first call to full check. Replace instead same simple IsAttachment tests by full checks
2015-10-29 22:14:11 +00:00
UbitUmarov
9e6d9e0436
friends rights to edit objects display on viewers fixed. This needs to be optimized in future
2015-10-27 01:17:32 +00:00
UbitUmarov
c3532ba876
set SOG.IsAttachment when doing a full check, so future gets see the right value
2015-10-25 19:59:05 +00:00
UbitUmarov
28d4afbe3a
replace objects scale clamp by a more readable clamp. Simplify GroupResize and let rescale factors < 1 also be checked for size limits, Set new scales directly not checking them again.
2015-10-23 01:39:53 +01:00
UbitUmarov
7cb6ecb9f5
Make physics engines finish internal representation of loaded prims before starting simulation so it does start for all at same time. Currently only in use by ubOde
2015-10-22 17:34:28 +01:00
UbitUmarov
e464bf5d82
recover scripts execution time stat i lost on previus changes. Behing async, this will not add with other time stats giving total frame time, as happens on other simulators. But its a good diag stat.
2015-10-21 18:34:06 +01:00
UbitUmarov
0045398324
move ugly convertion of axis locks 3 bit flags to a wasted vector3 down to PhysicsActor. Let engines use LockAngularMotion with either Vector3 argument or byte
2015-10-20 19:00:26 +01:00
UbitUmarov
d8528a7ba0
add axis locks to sop serializer. Now they are also saved to inventory
2015-10-20 18:37:24 +01:00
UbitUmarov
3c69071145
also apply axis locks, when creating a prim physics actor
2015-10-20 18:21:13 +01:00
UbitUmarov
52860a7d15
stop using a Vector3 to store 3bits
2015-10-20 16:55:18 +01:00
UbitUmarov
dfd60d6f71
STATUS_ROTATE are linkset flags and not prim
2015-10-20 15:37:43 +01:00
Diva Canto
59b63b6406
On to 0.8.3!
...
Conflicts:
OpenSim/Region/PhysicsModules/ConvexDecompositionDotNet/Properties/AssemblyInfo.cs
2015-10-18 21:51:49 -07:00
Diva Canto
06d2508b96
On to 0.8.3!
2015-10-18 21:47:10 -07:00
UbitUmarov
8e333c953d
in stats use real integration time, not the wanted one. Dont let stats calls overlap using a proper lock object
2015-10-12 11:29:13 +01:00
UbitUmarov
1af6ac4bfc
remove unused method parameter master also removed
2015-10-02 17:44:19 +01:00
UbitUmarov
6ae7341e42
send DisableSimulator messages on closing childagents. Possible still not on at best timming, or on the right source files
2015-10-01 20:50:12 +01:00
UbitUmarov
2abe1ccc59
change GetNewRezLocation physics ray results processing
2015-10-01 14:47:32 +01:00
UbitUmarov
6df75a927c
let hoverheight rest position be a falling state
2015-09-30 20:37:14 +01:00
UbitUmarov
4a2e6db344
add high level code suport for SetHoverHeight() called from a attachment, so in future physics engines can also suport it
2015-09-30 17:34:25 +01:00
UbitUmarov
0151c773e2
let sp know about scene before anything else on creation
2015-09-30 06:05:28 +01:00
UbitUmarov
5b7a3c703d
clamp all draw distance changes within region limits
2015-09-30 05:57:02 +01:00
UbitUmarov
feb78b2910
add several options for NPC creation so abusive use can be reduced (restrictive by default) UNTESTED
2015-09-30 02:45:11 +01:00
UbitUmarov
f97807b53f
let us see our online friends
2015-09-28 20:57:33 +01:00
UbitUmarov
028cbb7cbe
remove a auxiliar vector no longer needed
2015-09-28 18:10:27 +01:00
UbitUmarov
ad58f9b17e
recover a lost position check for mega regions
2015-09-28 17:55:35 +01:00
UbitUmarov
05db03e809
fix unscripted sits without physics help
2015-09-26 03:14:06 +01:00
UbitUmarov
d0a7e5bd78
fix object rez on terrain, i broke adding physics assistance
2015-09-26 02:33:57 +01:00
UbitUmarov
0fb033e567
fix object crossings to other scene on same instance
2015-09-26 01:31:57 +01:00
UbitUmarov
e6f675b81b
rearrange source code
2015-09-25 17:41:50 +01:00
UbitUmarov
2b0587770a
add butterflies to terrain
2015-09-25 05:46:06 +01:00
UbitUmarov
13b8b17b9a
we still don't have extended wind and cloud neither do viewers
2015-09-24 20:55:39 +01:00
UbitUmarov
a6b8eb7bca
some cleanup on terrain encoder
2015-09-24 19:11:17 +01:00
UbitUmarov
f484773447
save a few more bits per flat patch
2015-09-24 15:23:52 +01:00
UbitUmarov
58daecfccb
don't mess ray direction..
2015-09-24 06:57:53 +01:00
UbitUmarov
af34bfddd1
add physics assistance on placement of a new object. This may help on mantis 7727, but may still need more work
2015-09-24 06:46:07 +01:00
UbitUmarov
c83351b9c0
fix the DC term on flat patch encoding
2015-09-23 22:35:27 +01:00
UbitUmarov
63bc0b574f
speedup flat terrain patchs encoding, plus a few minor changes.
2015-09-23 21:04:13 +01:00
UbitUmarov
ccfb561e8d
change the encapsulation of compressed land patchs in llUDP packets
2015-09-23 00:01:32 +01:00
UbitUmarov
032958709b
last merging of sog m_linkedAvatars into m_sittingAvatars - untested.
2015-09-21 21:49:51 +01:00
UbitUmarov
25677e4a1b
try to remove Scenepresence dependence on sog m_linkedAvatars, sitting may still work
2015-09-21 21:31:01 +01:00
UbitUmarov
04800a7570
add missing sit check
2015-09-21 19:56:59 +01:00
Kevin Cozens
b412db72be
Fix a regression to GetSittingAvatars(). Return List<ScenePresence> once more.
2015-09-21 11:00:34 -04:00
UbitUmarov
87ad573ec2
MapBlockFromGridRegion and Map2BlockFromGridRegion are the same thing
2015-09-18 02:00:10 +01:00
UbitUmarov
b9137e2dee
avoid a null ref (that should not happen after last commit), also reduce use of thread jobs, where one is good enought
2015-09-15 22:30:39 +01:00
UbitUmarov
3906bb2749
fix missing check for viaHGLogin
2015-09-15 22:24:50 +01:00
UbitUmarov
5becc16acf
try to improve vehicles crossing with Xengine. Lag seems main issue now, but needs testing, specially the fail cases, that most likelly need more work
2015-09-14 16:40:01 +01:00
Melanie Thielker
f24414c063
Remove the last proprietary copyright headers, insert BSD ones.
2015-09-13 21:03:38 +02:00
UbitUmarov
209cb840a2
missing file...
2015-09-12 21:56:07 +01:00
UbitUmarov
af0febf6a7
inventory mess
2015-09-11 19:55:38 +01:00
UbitUmarov
6a0465b70a
remove diva's inventory cache since it seems to cause mantis 7720, broken items UUID. Guess it doesn't cover all paths
2015-09-11 04:46:15 +01:00
UbitUmarov
daf8a4d01d
fix lost sending of initial terrain to child agents
2015-09-10 01:02:52 +01:00
UbitUmarov
40fd7cbf74
a mess with Modules and Module
2015-09-08 20:03:54 +01:00
UbitUmarov
774c42e7fb
fix some compile
2015-09-08 17:02:44 +01:00
UbitUmarov
31afc76fcf
fix some compile
2015-09-08 16:51:42 +01:00
UbitUmarov
5b3e2ab9aa
Merge branch 'mbworknew1' into ubitworkvarnew
2015-09-08 15:03:22 +01:00
Robert Adams
4dd17c4117
More 'everything is a module' merging.
...
Have most of UbitOde converted.
There are compile errors in OpenSimBase as the new modules stuff is not all there.
Removed ChOdePlugin as it's connection to OdePlugin was tangled.
2015-09-08 06:15:46 -07:00
UbitUmarov
29d78f7e3a
add script events per sec stat, using the time report code, but ignoring the time for nowwq
2015-09-08 14:13:56 +01:00
Robert Adams
e5367d822b
Merge of ubitworkvarnew with opensim/master as of 20150905.
...
This integrates the OpenSim refactoring to make physics, etc into modules.
AVN physics hasn't been moved to new location.
Does not compile yet.
Merge branch 'osmaster' into mbworknew1
2015-09-08 04:54:16 -07:00
UbitUmarov
16025fa34b
remove a forgotten cast to int
2015-09-06 20:28:59 +01:00
Diva Canto
82ea4179da
Clean up viewer-based access control specifications.
2015-09-06 10:00:20 -07:00
UbitUmarov
3a0137cb45
fix odd drawdistance control initialization
2015-09-06 16:36:30 +01:00
UbitUmarov
c1a4786be0
still a missing stat ID
2015-09-06 01:01:31 +01:00
UbitUmarov
0ddcc55166
let extra stats travel side by side with viewers ones... try to fix damm array indexes all over the place
2015-09-06 00:32:20 +01:00
UbitUmarov
2130984bef
a few changes to stats. Array order coerent on users. give up on moses stats for now, since SimExtraStatsCollector cant reach SimStatsReport etc
2015-09-04 23:07:25 +01:00
Diva Canto
d00f73c3a4
Deleted OpenSim.Framework.Communications. Moved its two remaining files to OpenSim.Framework.
2015-09-04 14:39:23 -07:00
Diva Canto
218eb908be
In SceneGraph, use the property PhysicsScene instead of the variable _PhysScene, so that it gets properly initialized before being dereferenced.
2015-09-04 10:54:04 -07:00
UbitUmarov
a54e0339ef
remove a forgotten 1000.9 factor on physics fps
2015-09-04 14:33:46 +01:00
UbitUmarov
08f9c54554
use GetTimeStampMS to increase heartbeat and stats timing resolution. some rearrange on stat code ( MOSES special ones still out )
2015-09-04 12:05:31 +01:00
UbitUmarov
cdaed11387
at last we can login and see objects ( friends is dead and disable in
...
scenepresence)
2015-09-03 18:39:08 +01:00
UbitUmarov
a11edceb00
seems to compile ( tests comented out)
2015-09-02 19:54:53 +01:00
UbitUmarov
371c9dd2af
bad merge?
2015-09-01 14:54:35 +01:00
Diva Canto
11194209df
First commit where physics work as region module.
...
Moved all physics dlls out of Physics and into bin directly, so they can be found by the module loader.
Removed call to PhysicsPluginManager.
2015-08-31 14:09:15 -07:00
UbitUmarov
31a50a73cb
dont change camera on crossings
2015-08-31 14:21:50 +01:00
UbitUmarov
4905c74ddf
start sending terrain patchs in completmovement where we know its
...
position. Also reset camera to position on makeroot
2015-08-31 14:08:32 +01:00
Diva Canto
ce2c67876e
More namespace and dll name changes. Still no functional changes.
2015-08-30 21:05:36 -07:00
Diva Canto
2c0cad6dd3
Renamed the namespaces too
2015-08-30 20:29:31 -07:00
Diva Canto
5648eb7bd1
Moved instantiation of SceneCommunicationService object to inside the scene constructor. This was a left over from the original monolithic design of scene communications. The less the instantiators of scenes know about the scene's internals, the better.
2015-08-30 15:52:26 -07:00
UbitUmarov
0edffae7e4
more on tps and crossings
2015-08-30 19:17:35 +01:00
Diva Canto
f6d79c7cbb
Mantis #7713 : fixed bug introduced by 1st MOSES patch.
2015-08-30 11:07:27 -07:00
UbitUmarov
b114a04ed4
fix NeighborRegions code
2015-08-29 03:41:43 +01:00
UbitUmarov
b82b16c954
take taints check terrain out of Onframe event and add a new event for it. Slow it down to 1/4 heartbeat rate (once every 363ms aprox)
2015-08-27 15:01:15 +01:00
UbitUmarov
244f0c6352
change terrain internal representation to float. ushort work with legal
...
sl terrain, but may break existent terrain and that may cost a lot more
than the cost of memory
2015-08-25 16:51:48 +01:00
UbitUmarov
64d05bab0f
terrain stored as ushorts with gzip compression
2015-08-25 13:36:45 +01:00
UbitUmarov
1c752296bf
change internal representation of terrain from int to ushort. This will
...
suporte height from 0 to 655.53m that includes SL limits ( still need to
add code to trap eventual negative values from dbs or user input)
2015-08-24 18:40:28 +01:00
UbitUmarov
3829df1059
try to implement core load oar options
2015-08-24 17:05:16 +01:00
UbitUmarov
cbc569a1e0
rename ImapTileModule as IMAPImageUploadModule to match core
2015-08-24 11:06:12 +01:00
Robert Adams
11209c72f5
In ScenePresence, when removing from the physical scene, unsubscribe
...
from collisions before removing the collision callbacks.
Should not make operational differences.
2015-08-23 21:13:40 -07:00
UbitUmarov
5da9979024
Warp3D map now seems to work
2015-08-22 16:35:49 +01:00
UbitUmarov
d22d46ee96
update MapSearchModule
2015-08-22 13:41:45 +01:00
UbitUmarov
6555bbffaa
remove the noise part on the PinHeadIsland. why to want something that
...
does not compress well on island?
2015-08-21 00:47:44 +01:00
UbitUmarov
f6a59f74ab
remove a 256m check
2015-08-21 00:35:55 +01:00