Commit Graph

19298 Commits (2826f713d449404fa3908472bb49f4d6515ad048)

Author SHA1 Message Date
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 1d131a0c33 make parcel bans do something on vehicles. Just a first code, far from good 2015-12-15 21:00:06 +00:00
UbitUmarov b7155f5651 fix typo 2015-12-15 18:32:02 +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 9db987b6f9 some changes parcels AABB math etc 2015-12-15 11:46:50 +00:00
UbitUmarov 4805e91d39 dont round to nearest int when checking position in parcel since next high int can be on other parcel 2015-12-15 04:10:47 +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 35b88b6580 removed unneeded funtions 2015-12-14 12:47:17 +00:00
UbitUmarov e37e8c3bdf on join parcels, keep the information of the larger parcel, since thats how its expected now 2015-12-14 12:29:00 +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 ca6b5fc80d taint prim count when join or subdivide parcels 2015-12-13 18:22:46 +00:00
UbitUmarov 736bcc70fe change default landpoint type to anywhere (direct) 2015-12-13 18:07:40 +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 79945cff7c improve a bit llpushobject on avatars using bullet, but force is ignored a few seconds after a movement comand. RAdams plz take a look 2015-12-12 20:52:12 +00:00
UbitUmarov 819fe96503 invalidate LandPoint on land subdivide 2015-12-12 17:32:59 +00:00
UbitUmarov 4d493dd32e make sure land access/ban lists are active when changed by new viewers 2015-12-12 15:40:09 +00:00
UbitUmarov 3781c486c6 fix land access/ban list sending for new viewers 2015-12-12 13:05:24 +00:00
UbitUmarov 0934e1cf71 add IsEstateManager check to Permissions 2015-12-12 10:03:07 +00:00
UbitUmarov 5c39d9790e change vivox url from https:// to http:// still another 2015-12-11 19:50:22 +00:00
UbitUmarov 6ea43d6014 change vivox url from https:// to http:// missed several 2015-12-11 19:48:50 +00:00
UbitUmarov b63a7d7705 change vivox url from https:// to http:// (merge issue) 2015-12-11 19:44:42 +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 bdab95f1d2 dont try to process packets for deleted clients 2015-12-09 22:57:13 +00:00
UbitUmarov bbe55df6c6 disable useless and totally wrong incoming Pools 2015-12-09 22:32:48 +00:00
UbitUmarov 42e5ee4c4b don't keep a reference to config, if not in use 2015-12-09 21:35:20 +00:00
UbitUmarov f7a29ad8b5 minor cleanup 2015-12-09 16:42:24 +00:00
UbitUmarov 8314987474 tick region health a bit faster 2015-12-09 16:27:59 +00:00
UbitUmarov 3ca4b6f319 fix the queue type in use 2015-12-09 16:26:03 +00:00
UbitUmarov eccec66359 fix the queue type in use 2015-12-09 16:12:21 +00:00
UbitUmarov 447943302d add some missing GC.RemoveMemoryPressure() 2015-12-09 01:43:32 +00:00
UbitUmarov 7d8b783d31 send a full update on GroupResize, not a terse 2015-12-05 08:30:30 +00:00
UbitUmarov a7079c9227 add default eyes to default wearables, and revert previus bad commit 2015-12-04 18:29:31 +00:00
UbitUmarov 0d8f62405c add other Eyes asset id to xferupload defaults 2015-12-04 17:34:49 +00:00
UbitUmarov 0ae7b7e7e8 change handling of optional skirt baked texture 2015-12-03 16:21:43 +00:00
UbitUmarov d5e21a0ad2 remove failed CreateAgent from agent child regions list 2015-12-02 04:40:06 +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 193b3079e4 Merge branch 'master' of opensimulator.org:/var/git/opensim 2015-12-01 09:43:05 +00:00
UbitUmarov c277dbd66c fix a more few typos 2015-12-01 09:42:28 +00:00
Robert Adams e4d0ae4f6e BulletSim: fix collision sound calculation. Modify some routines to make
collider and collidee clearer. Also fix (when did it break?) avatars not moving
if standing on a moving object. Now friction will move avatars if standing
on a disc or the top of a train.
2015-11-30 20:51:12 -08:00
UbitUmarov b453ef0fbd fix a few typos 2015-11-30 19:47:58 +00:00
UbitUmarov fbef862aee add a few more known texture IDs 2015-11-30 19:45:44 +00:00
UbitUmarov 25f13f7c01 fix llLookAt in non-physical case 2015-11-29 18:27:34 +00:00
UbitUmarov 302d28625d change llLookAt math to master cleaner solution, assuming lAxis2rot does work 2015-11-29 14:36:09 +00:00
UbitUmarov ca026ac735 fix the default shape type on upload, it is always convex 2015-11-29 00:19:25 +00:00
UbitUmarov 15f8a46216 let Bullet do collision sounds (RAdams plz fix the relative speed) 2015-11-29 00:02:46 +00:00
UbitUmarov 82e464cb8c let old ODE trigger collision sounds like ubOde 2015-11-28 23:44:53 +00:00
UbitUmarov 9928076d1a remove terrain height clamping left over the ushort format testing 2015-11-27 23:46:58 +00:00
UbitUmarov f59350a1ee add a nasty global lock, ode.dll requires on multi regions per instance ( also make sure ninjaJoints are disabled 2015-11-27 22:50:28 +00:00
Diva Canto cade717b5f Merge branch 'master' of ssh://opensimulator.org/var/git/opensim 2015-11-27 08:24:39 -08:00
Diva Canto 5b7a585b4f Sometimes the viewer sends a null string as mapName; this made the client thread throw an exception with unexpected behavior for users (nothing happens). This commit gives it a sane default: it assumes we're looking for a position in the current region. 2015-11-27 08:22:30 -08:00
UbitUmarov 3304e52750 add a delay to consume other change messages on move and cross 2015-11-27 14:56:04 +00:00
UbitUmarov f1bbc4d386 stop some requests processing when module as no scenes (there must be a better way to fix this) 2015-11-27 14:39:11 +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
UbitUmarov 3029080d9b change threading on GetTexture and getMesh and WebFetch Modules. 2015-11-27 07:38:54 +00:00
UbitUmarov f16d36627f change threading on GetTexture and GetMesh NonSharable region modules 2015-11-27 05:00:11 +00:00
Jak Daniels c0e920c1ad Fix Region Max height in boundingSize parameters checking in ArchiverModule.cs to float.MaxValue .. as was changed in ArchiveReadRequest.cs in commit 71f5c2b856 A comparison of consistent 'default' values determines whether boundingBox check is true.
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2015-11-27 00:16:08 +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 583c874773 remove default of 60minutes on MapImageService Refresh time, forgotten from early merge debug 2015-11-25 03:21:38 +00:00
UbitUmarov 6d5b405168 simplify DeliverChatToAvatars(..) ( hopefully not breaking it ) 2015-11-24 17:28:05 +00:00
UbitUmarov a0c3297b37 again chat echos, check repeats uncondicionally 2015-11-24 15:12:39 +00:00
UbitUmarov 08d061d201 reset control even prior to use 2015-11-24 14:28:35 +00:00
UbitUmarov f45905851a at end of teleport disable the sending simulator, not destiny 2015-11-24 14:01:51 +00:00
UbitUmarov 7cf2d261b3 reduce 'echos' on several regions per instance (mantis 7754) 2015-11-24 12:51:58 +00:00
UbitUmarov e9345479c4 remove warning on siting in phantom prims without sittarget 2015-11-23 22:11:27 +00:00
Jak Daniels 15af6265a1 Fixed some stupid math and checks on --bounding-origin and --bounding-size. Bounding origin can of course be negative if it needs to be as we're taking stuff from the (possibly rotated) source region. Bounding size must always be >=0 and <= destination region size.
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2015-11-22 17:30:08 +00:00
UbitUmarov f75d113230 change silly Monitor use 2015-11-22 08:40:55 +00:00
UbitUmarov ec069edead change syncronization method 2015-11-22 08:31:54 +00:00
UbitUmarov e28eecd0bf revert take the Monitor.wait out of the locks 2015-11-22 08:08:01 +00:00
UbitUmarov 1de096dffb coment out merge option on multiregion oar load i added 2015-11-22 08:00:58 +00:00
UbitUmarov 5c3f88b64d take the Monitor.wait out of the locks 2015-11-22 07:55:49 +00:00
UbitUmarov b80cbf5060 a few more changes on Multiregion control file load 2015-11-22 07:18:11 +00:00
UbitUmarov a6187db2a7 add a a missing monitor.wait if still not needed, mb in future 2015-11-22 05:44:06 +00:00
UbitUmarov 3be340cbf2 a few changes on Multiregion control file load ; load oar seems far from good 2015-11-22 05:42:13 +00:00
UbitUmarov f6820959b7 add Monitor.wait on load 2015-11-22 04:49:01 +00:00
UbitUmarov 4349bde440 reduce noise before compare 2015-11-22 04:10:26 +00:00
UbitUmarov 6dcbd20cfa add merge option on multioar test 2015-11-22 03:58:07 +00:00
UbitUmarov 71f5c2b856 minor changes 2015-11-22 03:56:48 +00:00
UbitUmarov 541d2ce2cd don't use 'funny' Quaternions 2015-11-22 02:22:48 +00:00
Jak Daniels 0b216c37df Changes to Load Oar options and new code to support importing OARs with different Region sizes to the destination region.
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2015-11-22 01:32:48 +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
Jak Daniels b23e5fd8b6 Changes to LandObject/ILandObject to support importing OARs with different Region sizes to the destination region.
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2015-11-22 01:31:48 +00:00
UbitUmarov 88b3545ec3 add a missing override 2015-11-21 19:56:57 +00:00
UbitUmarov c84334fc72 add a missing override 2015-11-21 19:53:14 +00:00
UbitUmarov 11342314e1 add thread allocation calls for new ode.dll (old ode) 2015-11-21 02:53:35 +00:00
UbitUmarov 0b36d4ea2f some cleanup, allow cast rays to collide with terrain within limited range (old ode) 2015-11-21 02:14:19 +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 36426b0db2 remove some compile warnings increasing total number by 2 2015-11-21 00:49:43 +00:00
UbitUmarov 019d057563 stop the Vehicle AFTER fixing position not before, bc stop code also updates position (old ode) 2015-11-20 19:40:04 +00:00
UbitUmarov 395d160c41 stop a Vehicle on a failed region cross (or empty border) (old ode) 2015-11-20 19:11:26 +00:00
UbitUmarov 53895289a6 remove Ode.Net - missing file. ( old ode may be broken now) 2015-11-20 18:48:48 +00:00
UbitUmarov 25983c1ba9 remove the hard to maintain Ode.Net wrapper only in use by old ode 2015-11-20 18:25:56 +00:00
UbitUmarov ca5ec4c33b make llAvatarOnLinkSitTarget(0) return UUID.Zero 2015-11-20 01:44:19 +00:00
UbitUmarov 4a0531244a change a log message from error to just Debug 2015-11-20 00:45:12 +00:00
UbitUmarov 98a00cbce5 ubOde: add threading related calls new ode.dll may need. Hope this doesn't break with current linux ode library 2015-11-20 00:37:41 +00:00
UbitUmarov 0c93159297 remove unused return value on DeliverMessageTo() 2015-11-20 00:09:56 +00:00
UbitUmarov 278687b1e8 remove duplicate object chat messages ( mantis 7745 ),fix llRegionSay, this are still merge issues 2015-11-20 00:01:13 +00:00
UbitUmarov 36f7e96392 clean code a bit 2015-11-19 15:02:12 +00:00
UbitUmarov 2e43343ca9 ClearPartAttachmentData before adding object to scene, not after 2015-11-19 14:45:39 +00:00
UbitUmarov 8505ca88dd work around some 'tests' errors: use one autoresetevent per scene 2015-11-19 02:46:25 +00:00
UbitUmarov 759fda0871 work around some 'tests' errors: reset the event at start of new test. 2015-11-19 02:43:49 +00:00
UbitUmarov 9c5acb3df4 work around some 'tests' errors: just a test 2015-11-19 01:43:33 +00:00
UbitUmarov f242137e31 work around some 'tests' errors: add a DefaultPermitions module to sceneB 2015-11-19 01:18:34 +00:00
UbitUmarov a4ed111de1 cleanup indentation 2015-11-18 17:45:56 +00:00
UbitUmarov 6dafce9a12 fix another variable number of wearable types issue 2015-11-18 17:35:26 +00:00
UbitUmarov 0fbb4f0067 work around some 'tests' errors: dont expect a particular http error response 2015-11-18 01:05:46 +00:00
UbitUmarov 62cacff071 add LegacySitOffsets handling at LSL api 2015-11-17 18:17:11 +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 6c766f3ab4 remove unused parameter - missing file 2015-11-17 08:02:48 +00:00
UbitUmarov f7f5aba597 remove unused parameter 2015-11-17 07:59:11 +00:00
UbitUmarov cd29abf1ac work around some 'tests' errors: fix wrong parameters 2015-11-17 07:22:36 +00:00
UbitUmarov 81b7f5551c work around some 'tests' errors: sp attachments and appearance are not in sync 2015-11-17 06:52:03 +00:00
UbitUmarov 51d0087a49 work around some 'tests' errors: AgentGroupDataUpdate is udp 2015-11-17 06:42:45 +00:00
UbitUmarov 2ba14f82fe work around some 'tests' errors: a new event queue has a few null events 2015-11-17 06:23:57 +00:00
UbitUmarov bbfeca4b0c work around some 'tests' errors: a new event queue has a few null events 2015-11-17 06:19:45 +00:00
UbitUmarov 16d158f2f1 work around some 'tests' errors: missing call to InventoryDeQueueAndDelete() 2015-11-17 05:49:39 +00:00
UbitUmarov 9566c000f2 work around some 'tests' errors: terrain effects limits changed 2015-11-17 05:25:08 +00:00
UbitUmarov dd18c9f689 fix llRequestAgentData cache timeout 2015-11-17 05:14:54 +00:00
UbitUmarov 364082d0e8 work around some 'tests' errors: add a httpserver 2015-11-17 04:19:30 +00:00
UbitUmarov 1e87e90915 work around some 'tests' errors: allow sitTargetposition and orientation to be read from OAR on opensim, they are reset at avination, this may cause issues with old sits 2015-11-17 03:42:46 +00:00
UbitUmarov 4e74564caa work around some 'tests' errors: suspend TestllSetLinkPrimitiveParamsForAgent bc avatar sit math changed 2015-11-17 03:16:37 +00:00
UbitUmarov d1737de8d2 work around some 'tests' errors: Coalesced objects handling has changed 2015-11-17 03:10:59 +00:00
UbitUmarov 8567ef3c40 work around some 'tests' errors: test for null cacheItems 2015-11-17 03:00:27 +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 e15ebc091f bug fix: improve chat to child avatars. Still not good because of low resolution of child position updates 2015-11-17 01:31:06 +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 9c5646a1ba work around some 'tests' errors: dont use references to objects that may have been deleted 2015-11-16 23:21:58 +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
UbitUmarov d19e4f598f deatach from backup on attachment 2015-11-16 20:12:40 +00:00
UbitUmarov 9b6633697b coment out excessive debug messages 2015-11-16 17:35:20 +00:00
Diva Canto f5799ff445 That didn't actually do anything for Simian, and it broke the locahost
case
Revert "Also restoring proper function for Simian external GetTexture functionality."

This reverts commit 366e81b977.
2015-11-14 08:10:27 -08:00
UbitUmarov 55cce6aee0 minor: reset character collision flags, even if without a Body 2015-11-12 22:40:55 +00:00
UbitUmarov 9bd6befdeb add some safeguard checks 2015-11-12 21:24:14 +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 649a3fc39c dont abort llDialog if buttons labels are longer than 24bytes, let udp truncate. This is not as spec but allows old scripts or with minor bugs to still work 2015-11-11 06:06:22 +00:00
UbitUmarov adda0ab7d8 limit llDialog buttons text to 24 bytes (at lludp level) 2015-11-11 05:55:34 +00:00
UbitUmarov 2b937fdf40 reduce the small MTU violation sending terrain compressed patchs 2015-11-10 23:56:08 +00:00
UbitUmarov 188b2d84c1 increase the number of packets in Land queue that force terrain to delay patchs sending. 2015-11-10 23:50:00 +00:00
UbitUmarov e096b49dd7 check if a packet can be sent imediatly without accounting it as sent on throttles when it is enqueued for later send. 2015-11-10 23:17:56 +00:00
UbitUmarov 40cb83b555 make m_minimumDripRate a bit larger than mtu. Add a bucket space check that does not consume avaiable space, so reducing bandwidth 2015-11-10 22:50:20 +00:00
UbitUmarov f57a48a0fb fix silly bug 2015-11-10 20:34:19 +00:00
UbitUmarov 5bfd49404d start TerrainCheckUpdates on heartbeat thread, but do it async; fix a bug on slow terrain send limits check 2015-11-10 17:44:53 +00:00
UbitUmarov b6c3592411 fix/add lldialog and llTextBox message size error checks, aborting if error as spec. (we can change this to silent truncate and execute the larger ones since llUdp now does it. But doing as spec now) 2015-11-10 15:08:08 +00:00
UbitUmarov 38aad774f7 change lldialog and llTextBox maximum message lenght to 512 bytes as specification. 2015-11-10 14:47:36 +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
UbitUmarov 185d3bd39e change maximum angular velocity to a value derived from heartbeat rate and Nyquist. 2015-11-08 01:47:54 +00:00
UbitUmarov eccc6f1081 fix wrong condition to set low angular velocity as Zero. 2015-11-08 00:24:54 +00:00
UbitUmarov 69fefd1d00 send the estimation of time dilation at packet build time, not the one at unknown past. 2015-11-06 21:27:42 +00:00
UbitUmarov 527ea37540 change OfflineMessageModule from new avination code to original master, for compatibility with current web servers php scripts. This may change after current test phase 2015-11-06 05:18:54 +00:00
UbitUmarov f8efd00775 add a console/log warning about large physics meshs on ubOde that can have negative impact on region load 2015-11-05 16:57:48 +00:00
UbitUmarov dc752e8d82 fix get/set parameters on avatars 2015-11-05 03:07:25 +00:00
UbitUmarov 89655b0baa apply OtakuMegane code changes to irc channel chat so some characters are not lost 2015-11-02 02:23:35 +00:00
Melanie Thielker 3da0a318b3 Merge branch 'avinationmerge' of opensimulator.org:/var/git/opensim into avinationmerge 2015-11-01 23:40:54 +01:00
Diva Canto aea86f30a0 Don't crash the sim if the map image is null. 2015-11-01 11:38:41 -08:00
Melanie Thielker 5f18f2ce6a More EntityTransferContext plumbing 2015-11-01 19:37:14 +01:00
Melanie Thielker 69585a4824 More plumbing of the EntityTransferContext (not yet complete) 2015-11-01 19:11:14 +01:00
UbitUmarov 54e1d54fb5 fix more merge issues 2015-11-01 03:33:19 +00:00
UbitUmarov 24472c3b67 fix merge issues 2015-11-01 03:25:36 +00: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
UbitUmarov 9ba288a2e7 fix typo reported on mantis 7735 2015-10-31 22:48:31 +00:00
UbitUmarov af4ca8e80e fix internal support for non square regions 2015-10-31 21:58:40 +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 ed909f56da fix mantis 7734, Thanks Garmin for the report 2015-10-31 13:22:50 +00: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 114ac59314 dont tell clients that we can edit a friend's attachments when we do forbid it 2015-10-27 01:20:21 +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 1982d72320 Make changes to a friend rights reach him on another sim; find on map does show the region. Issues: precise location on region still not avaiable and object edit permitions on viewers edit are not being updated (but are enforced by region). friends information is updated, and warnings are displayed. Only did minor testing... 2015-10-26 22:42:48 +00:00
UbitUmarov 6821ace3c6 add basic SendFindAgent() to lludp. Future use may require a list of pairs (X,Y). For now one pair is good enough. 2015-10-26 21:56:02 +00:00
UbitUmarov 8922d58f05 try fix IRC connector issue on mantis 7731 but with code a bit diferent from proposed patch. Also append '@irc' to nick on region messages, so message origin is clear 2015-10-26 18:00:01 +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 8d33ab903b merge issue: fix missing '/' 2015-10-24 22:48:31 +01: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 8ed17f745d let ode also finish internal representation of prim actors, before simulation 2015-10-22 18:03:49 +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 7aaa84515f rename terrain for opensim and respective configuration flag that a future costumized ODE library may have 2015-10-22 16:20:19 +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 f84b75b1e0 update ubOde hashspaces levels 2015-10-21 01:50:28 +01:00
UbitUmarov 44deac4c1e we do not have prims with size 2^128, missing file 2015-10-21 01:41:04 +01:00
UbitUmarov c37ea1910d fix or remove some wrong ODE configuration settings 2015-10-21 01:11:39 +01:00
UbitUmarov deb4364f42 remove the use of Vector3 for axis locks on the rest of engines 2015-10-21 00:15:09 +01:00
UbitUmarov ce5d5fc8dc the inertia matrix inversions and body inertia changes to implement axis locks need to be avoid, so use ubOde axis locks code. Hopefully this will not cause incompatibilities 2015-10-21 00:01:23 +01:00
UbitUmarov 747044f587 stop using a vector3 to store axis locks 3bit flags also in ode 2015-10-20 23:57:57 +01:00
UbitUmarov f6891b36be stop using a vector3 to store axis locks 3bit flags in ubOde 2015-10-20 19:33:15 +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 839e239c99 Added warning in RegionCombinerModule about it being considered obsolete and encouraging people to switch to varregions. 2015-10-18 21:50:11 -07:00
Diva Canto 06d2508b96 On to 0.8.3! 2015-10-18 21:47:10 -07:00
Diva Canto e6163c990e Added warning in RegionCombinerModule about it being considered obsolete and encouraging people to switch to varregions. 2015-10-18 16:59:47 -07:00
Diva Canto 7ab633461e Fixed merge conflicts
Clean up of simulation version, the number that rules the compatibility of teleports:
- It's not configurable anymore, it's fixed in code. Each number means an increase in features of the teleport procedure
- Its definition moved to the global VersionInfo class
As of now it's still 0.3.

Conflicts:
	OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
2015-10-18 16:24:33 -07:00
Diva Canto 70a46fe090 Clean up of simulation version, the number that rules the compatibility of teleports:
- It's not configurable anymore, it's fixed in code. Each number means an increase in features of the teleport procedure
- Its definition moved to the global VersionInfo class
As of now it's still 0.3.
2015-10-18 16:06:31 -07:00
UbitUmarov a31e5e799e stop a object when making it not physical 2015-10-18 00:35:52 +01:00
UbitUmarov 24435cfe9a Fix wrong active angularlock detection (it was only burning cpu), stop trying to add a amotor to each child prim and stop using unnecessary trimeshcallbacks 2015-10-17 21:56:15 +01:00
UbitUmarov e2d7e6290d fix GetTerrainHeightAtXY also on master. Fix wrong active angularlock detection (it was only burning cpu), stop trying to add a amotor to each child part and fix a typo. 2015-10-17 20:07:52 +01:00
UbitUmarov 8dcb4de53c fix GetTerrainHeightAtXY for large regions. Also change ode dispose() 2015-10-17 14:42:04 +01:00
UbitUmarov f39e6bc482 bug fix. Some rare meshs reported as having +-infinity dimensions 2015-10-15 19:06:39 +01:00
Diva Canto e14e432b50 More exception catching in ODE at shutdown. Not sure why the exception happens. 2015-10-14 17:57:13 -07:00
Diva Canto 366e81b977 Also restoring proper function for Simian external GetTexture functionality. 2015-10-14 14:45:21 -07:00
Diva Canto 45b8e6c1a7 Fixed exception upon shutting down in plain ODE.
09:49:57 - [SHUTDOWN]: Ignoring failure during shutdown - System.NullReferenceException: Object reference not set to an instance of an object.
   at OpenSim.Region.PhysicsModule.ODE.OdeScene.Dispose() in f:\dev\opensim-core\OpenSim\Region\PhysicsModules\Ode\OdeScene.cs:line 4062
2015-10-14 09:56:23 -07:00
UbitUmarov 8d7fa62088 fix a typo.. 2015-10-14 04:06:17 +01:00
UbitUmarov 7deaad7368 bug fix, and make Mesh-Mesh and Mesh-Terrain collisions a lot softer 2015-10-14 02:32:51 +01:00
UbitUmarov 9ec9eee75f reduce jitter due to viewer interpolators on objects that are really almost at rest 2015-10-13 23:03:51 +01:00
UbitUmarov 2e2c1a1fcd change fps and dilation (still something not that usefull). make collisions a bit less explosive.., do changes on own time limited loop and not on simulation loop, ... 2015-10-13 23:01:54 +01:00
UbitUmarov f360ddd28e rename UbitMeshmerizer class as ubMeshmerizer 2015-10-13 11:08:54 +01: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 3d8384b696 detect a fully degenerated mesh and avoid using it and so crashing ubOde 2015-10-12 00:49:07 +01:00
UbitUmarov af5ea18f33 use System.IO.Compression.DeflateStream for mesh decompression like master, since ACE zlib does seem to fail to decompress some meshs present at OSG, (possible same issue happens with map with option to draw prims) 2015-10-11 23:04:22 +01:00
UbitUmarov 88763178c5 display prim name, if unzip of selected phsyics mesh part fails on ubMeshmerizer ( thx Dan) 2015-10-11 20:17:58 +01:00
UbitUmarov 2b354902b5 fix the casting to Boolean of lsl types vector,quaternion,list and rotation, so that if(variable) does compile and work. key still requires a explicit compare to NULL_KEY 2015-10-08 06:27:37 +01:00
UbitUmarov 3a498b0637 change NPC restriction options default from restricted to all allowed, as master 2015-10-08 02:39:14 +01:00
UbitUmarov 2700231764 in llAttachToAvatarTemp() (TempAttachmentsModule) dont add to inventory, like master 2015-10-04 03:34:55 +01:00
Robert Adams e1ce04de42 Implement an overridable implementation of PhysicsActor.SetVehicle()
that works for all physics engines.
BulletSim: implement an optimized version of SetVehicle() that still
  uses the vehicle code to do bounds checking but does it in one taint
  operation.
2015-10-02 18:35:02 -07:00
UbitUmarov 124602c6c2 reduce some diferences with master 2015-10-02 22:47:31 +01:00
UbitUmarov d900d0112d put back ip check on llSetContentType 2015-10-02 18:55:09 +01:00
UbitUmarov b8cb9d1bbb also on another location, plus a bit clean 2015-10-02 18:39:05 +01:00
UbitUmarov de51b7af85 do group SetPos sync as master, script thread does need to wait for it to be done. This needs improvement, doing it async again with script thread waiting watching coop 2015-10-02 17:56:02 +01:00
UbitUmarov bdd7ea06ff change llSetContentType to master version, but removing IP check 2015-10-02 17:45:48 +01:00
UbitUmarov 1af6ac4bfc remove unused method parameter master also removed 2015-10-02 17:44:19 +01:00
UbitUmarov 31873485d9 do not send DisableSimulator on teleport if agent is already returning 2015-10-02 02:42:25 +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 6bc479fecd make bakes reception handle empty BakedTexture elements. But at same time stop sending them, only sending to Xbakes server items that do have a texture, like master does 2015-10-01 19:30:37 +01:00
UbitUmarov 2abe1ccc59 change GetNewRezLocation physics ray results processing 2015-10-01 14:47:32 +01:00
UbitUmarov e110ca24cf remove a forgotten if that is actually only a statement 2015-10-01 14:37:24 +01:00
UbitUmarov 7e8544f26e fix missing clear of queued timer even and state transition flags on scripts reset 2015-10-01 05:20:04 +01:00
UbitUmarov 6df75a927c let hoverheight rest position be a falling state 2015-09-30 20:37:14 +01:00
UbitUmarov aa3303e3af add get method on physics actors PIDHoverActive 2015-09-30 20:13:31 +01:00
UbitUmarov f87e284ec2 first steps adding suport for llSetHoverHeight() called from attachments on ubOde. Sure needs work.. like sp motion control still assumes stopped and not falling state. Only very basic test on flat land done 2015-09-30 19:14:37 +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 d281ec5342 some fixes/changes on land send 2015-09-30 06:09:01 +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 1124d14eb0 remove some restrictions on NPCs creation 2015-09-29 22:15:56 +01:00
UbitUmarov 3e9b326fcc clean some spacing issues 2015-09-29 21:44:25 +01:00
UbitUmarov 0b21724fe4 try fix some whitespaces VS decided to change 2015-09-29 02:29:55 +01:00
UbitUmarov f2c8f83215 add processing of AvatarGroupsRequest message that should be used to get other avatars group memberships, but keep it disabled since some viewers no longer suport it correctly and expect memberships in reply to avatar properties, so we need to keep wasting bandwith sending useless information when some viewers really only want avatarproperties 2015-09-29 01:43:49 +01:00
UbitUmarov cf6856a8df remove groups handlers onClientClosed 2015-09-28 21:00:08 +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 fb69661bb9 ... ossl merge issue 2015-09-28 16:40:55 +01:00
UbitUmarov fd20a9576d ... post merge issue 2015-09-28 16:03:10 +01:00
UbitUmarov 93af984e94 add missing handlers for preferences 2015-09-28 13:22:32 +01:00
UbitUmarov 6e12836d71 change copyright to opensim 2015-09-28 13:08:46 +01:00
UbitUmarov 380d1c1d5a change copyright to opensim 2015-09-28 12:58:23 +01:00
UbitUmarov 55d0425dfe add missing handlers for preferences 2015-09-28 12:47:29 +01:00
UbitUmarov 04b32e1982 let SendAvatarGroupsReply fall back to UDP if no caps and make use of it 2015-09-27 07:07:40 +01:00
UbitUmarov 18536b4be6 add missing SendAgentGroupDataUpdate to llClientView 2015-09-27 06:38:19 +01:00
UbitUmarov 1e23b3482c AvatarGroupsReply message does not have ListInProfile fields 2015-09-27 06:21:38 +01:00
UbitUmarov b269185031 several changes to xmlrpcGroups. Packets AgentData and AgentGroupData are private to the requesting agent, etc 2015-09-27 06:10:12 +01:00
UbitUmarov 238b32d95f in xmlrpcGroups send all groups on MakeRoot. this will slow down crossings even more, but viewers seem to need it now, something to review later 2015-09-26 19:17:59 +01:00
UbitUmarov ae195632e9 add the Default Groups module lost in the merge 2015-09-26 18:18:29 +01:00
UbitUmarov 239dcaffb7 coment out some debug, clean a bit 2015-09-26 14:14:05 +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 07a8618c56 revert previus wrong commit 2015-09-25 21:43:51 +01:00
UbitUmarov 40ae9ec554 patch objects crossings for var regions, until region location is fully fixed 2015-09-25 18:38:52 +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 5ca610d56a bug fix, let ubODE see more than one mesh on cast ray 2015-09-24 06:32:40 +01:00
UbitUmarov 8fde2fb901 slow down terrain sending so other users of LAND queue do have a chance to send things 2015-09-24 00:35:06 +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