Justin Clark-Casey (justincc)
412dd7dfc5
When an avatar is walking across a region border, force the first AgentUpdate received on the new root agent to update movement parameters.
...
This prevents the avatar from drifting in its last direction of travel if a movement key was released at certain moments in the cross.
Relates to http://opensimulator.org/mantis/view.php?id=7435
2015-02-26 00:48:51 +00:00
Justin Clark-Casey (justincc)
5fa651c529
minor: In HGAssetMapper, don't complain on seeing an XmlDeclaration as we know that we not using those in transformation.
...
Relates to http://opensimulator.org/mantis/view.php?id=7447
2015-02-25 21:42:07 +00:00
Justin Clark-Casey (justincc)
a03d893f2c
Fix bug where the uuid gatherer was not inspecting UUIDs for items in an embedded object's inventory.
...
Added regression test for this case.
Likely a regression since 08606ae4
(Thu Jan 8 2015)
Relates to Mantises 7439, 7450 and possibly others.
2015-02-25 21:12:46 +00:00
Justin Clark-Casey (justincc)
b1b72d7c2f
Reduce coupling in regression test task inventory creation methods to make them usable in tests with no scene present
2015-02-25 20:30:03 +00:00
Justin Clark-Casey (justincc)
686b22da6e
On shutdown (job engine stop), don't allow the ObjectDisposedException on BlockingCollection.Take() to propogate if the running thread checked IsRunning before the stop thread set it and disposed of the canellation source.
...
Looks to address http://opensimulator.org/mantis/view.php?id=7453
2015-02-25 20:04:53 +00:00
dahlia
8333dcf388
llLookAt(): use non-physical rotation if host prim is a physical attachment
2015-02-24 17:16:30 -08:00
Robert Adams
7b9ad11a98
BulletSim: update the OSX BulletSim binary to the latest sources in
...
opensim-libs.
2015-02-21 14:27:01 -08:00
BlueWall
023fd71ce5
Fix cross-grid inventory delivery notifications, fixes http://opensimulator.org/mantis/view.php?id=7113
2015-02-21 14:29:31 -05:00
Justin Clark-Casey (justincc)
c67b3407d4
In HGAssetMapper.RewriteSOP(), don't explicitly end the document.
...
The document here has no <?xml declaration. Though ideally it may be present, in practice it has not been added as the data here is embedded within an asset
On Mono 3.2.8 and probably other versions, calling WriteEndDocument() without a declaration does nothing.
On Windows .NET, the same operation throws a "Document does not have a root element" exception which may be contributing to Mantis 7397 and possibly 7439
2015-02-21 00:08:49 +00:00
Justin Clark-Casey (justincc)
c90c22ed28
If HGAssetMapper.PostAsset fails then be more explicit about the uuid, type, size and base asset uuid of the failure for debugging purposes.
2015-02-19 23:50:25 +00:00
Justin Clark-Casey (justincc)
7a86b01226
Make any exception that gets to LLClientView.ProcessSpecificPacketAsync() tells us the exception type as well as the message and stacktrace details.
2015-02-19 23:09:43 +00:00
Justin Clark-Casey (justincc)
264047dba0
Add the type of the unrecognized node to the HG asset mapping error message in TransformXml()
2015-02-19 22:39:22 +00:00
Justin Clark-Casey (justincc)
85133daae0
minor: Add explanation that [Startup] CombineContiguousRegions should be false for varregions.
2015-02-19 21:47:02 +00:00
dahlia
e4f0cdd263
Comment out unnecessary "Region Found!" alert message when searching map
2015-02-18 12:52:16 -08:00
dahlia
8b2af1071f
Add NaN and Infinity tests for SOP Velocity and Acceleration setters.
2015-02-16 23:51:37 -08:00
dahlia
78814a1533
Use a boolean flag to signal lookat is running instead of Quaternion.Identity so it can be a valid target orientation
2015-02-16 19:42:36 -08:00
dahlia
2700b096bc
Filter NaN and Infinity values at SOP AngularVelocity setter
2015-02-16 19:06:01 -08:00
Robert Adams
f62008f728
BulletSim: bring the BulletSim dll's and so's up to date with
...
the sources in the 'libs' source repository. No functional changes.
2015-02-13 20:59:13 -08:00
Justin Clark-Casey (justincc)
85f3380480
Add missing BSD headers to files in OpenSim/Framework/ServiceAuth
2015-02-13 21:00:10 +00:00
Justin Clark-Casey (justincc)
dd6f560c05
If serialized scene object XML has a SavedScriptState with no UUID, then read past the innerXML instead of wrongly continously looping on the same element.
...
Addresses http://opensimulator.org/mantis/view.php?id=7437
2015-02-11 00:53:56 +00:00
dahlia
53b23a9adc
Somewhat naive implementation of RotationalVelocity setter for ODE. Enables llSetRotationalVelocity(), llTargetOmega(), llLookAt(), and probably a few more LSL features for physical objects in ODE.
2015-02-07 22:52:12 -08:00
dahlia
12119a9d7d
llLookAt() strength parameter should slow rotation as it is increased. Thanks Vegaslan for pointing this out.
2015-02-07 17:39:46 -08:00
dahlia
2ed1afd32b
llLookAt(): reduce and clamp strengh to reduce probability of overshoot
2015-02-07 14:17:37 -08:00
dahlia
506e62f815
llLookAt() and llRotLookAt(): all orientation updates now done via angular velocity manipulation. Also correct some orientation glitches during interpolation.
2015-02-06 22:36:26 -08:00
dahlia
3b7c3378f1
Manage Angular Velocity during llLookAt() rotation of physical objects
2015-02-05 23:13:06 -08:00
dahlia
ee810a2cb5
Set angular velocity in physics actor in SceneObjectPart.AngularVelocity setter. Enables llSetAngularVelocity()
2015-02-05 14:29:51 -08:00
dahlia
95a0f0d47b
replace accidently deleted line from last commit
2015-02-05 13:44:39 -08:00
dahlia
bde7b2a7b5
Allow MaterialsModule to be enabled by default if [Materials] is absent from OpenSim.ini
2015-02-05 13:17:31 -08:00
Justin Clark-Casey (justincc)
765fd02418
For built-in groups, if a delegate throws an exception (e.g. due to network failure), always remove its request from the m_ActiveRequests list.
...
If this is not done, all subsequent calls for the same data see that a request is apparantly already in progress and so wait for the result indefinitely.
2015-02-04 17:04:59 +00:00
Justin Clark-Casey (justincc)
6834393821
Fix bug in JobEngine where an attempt to restart after stop would trigger an exception because the cancellation source was not recreated.
2015-02-04 00:10:44 +00:00
Justin Clark-Casey (justincc)
1d2616e7a2
If the owner of an object is taking a copy from the scene (e.g. via the "take copy" option on a viewer) then only require owner copy perms, not copy and transfer.
...
This matches Linden Lab behaviour and what was already possible via shift-copy.
Transfer would not apply here as the owner and copier are the same.
This is the only functional change, all other current take copy logic remains the same.
Adds regression tests around relevant take copy cases.
2015-02-03 23:43:30 +00:00
dahlia
39754b2dca
correct some minor comment misspellings in last commit
2015-02-02 04:03:04 -08:00
dahlia
1eedc2b4af
Compute rotation for llLookAt() with local positive X axis pointing down
2015-02-02 02:47:47 -08:00
AliciaRaven
bee3933e57
Prevent null entries being treated as URI's when DataSnapshot service splits service string. The new config format for services to notify in the DataSnapshot module appends entries to the existing single string and always leaves a deliminator on the end of the string. This is causing it to split with a null string in the resulting array, which is treated as another service to notify and throws a URI format exception on start up.
2015-02-01 10:29:47 -08:00
Justin Clark-Casey (justincc)
87936947ab
As per advice from Singularity devs, set is_display_name_default = true in GetDisplayName cap return data to make the single name appear.
...
This is still always your avatar name - code to set a different display is not yet implemented.
This works from my testing with current Firestorm and Singuarity releases.
2015-01-31 00:17:59 +00:00
Justin Clark-Casey (justincc)
c5c1b7c61a
Revert "Stop currently unsettable display names from appearing when [ClientStack.LindenCaps] Cap_GetDisplayNames = "localhost" is set by never passing the username."
...
This reverts commit 2d574c3036
.
2015-01-31 00:17:36 +00:00
Justin Clark-Casey (justincc)
557b0fae85
minor: correct log message when script with non-config stop strategy is detected to log actual strategy rather than true/false
2015-01-29 18:28:17 +00:00
Justin Clark-Casey (justincc)
b4e955d1c1
Avoid a possible race condition by serializing plugin data outside the EventQueue lock in ScriptInstance.SaveState()
...
This takes the AsyncCommandHandler.staticLock.
However, AsyncCommandHandler.DoOneCmdHandlerPass() already holds staticLock and may attempt to take the EventQueue lock via ScriptInstance.PostEvent() in XEngine.CheckListeners()
This is a regression from faaf47a
(Fri Jan 16 2015) but not simply reverting that commit since it will reintroduce a race between script removal, backup and event queue manipulating code.
2015-01-29 17:55:08 +00:00
Justin Clark-Casey (justincc)
cf0087e87c
Correct typo in raw default script stop strategy
2015-01-27 21:04:11 +00:00
Justin Clark-Casey (justincc)
e0a3440263
If [XEngine] ScriptStopStrategy is different from a compiled script strategy, ask user to manually set DeleteScriptsOnStartup = true for at least one simuator session rather than auto-recompiling.
...
This does not work on Windows since the VM retains a handle to the DLL even if class instantiation was unsuccessful.
Which causes deletion of the old DLL to fail with access sharing violations.
Instead, log a warning in this situation asking the user to manually set DeleteScriptsOnStartup = true for a session (or one could separately delete the DLLs in the relevant bin/scriptengines/<region-uuid> dir
For the current session, the script engine will continue using the script compiled stop strategy as before.
Relates to http://opensimulator.org/mantis/view.php?id=7278
2015-01-27 19:07:20 +00:00
Justin Clark-Casey (justincc)
13ba2f2d83
If an exception comes out of DoOnRezScript in DoOnRezScriptQueue(), then only fail a single script rather than halting the exntire script startup process.
2015-01-26 23:32:51 +00:00
Justin Clark-Casey (justincc)
1bed3aff0b
On a multi-region simulator when AppDomain = true, make sure the DLL from the appropriate script engines subdir is loaded rather than always that of the first engine to load the DLL.
...
This resolves a DLL load failure on my Linux box when an attachment script was present on another region before the avatar arrived.
2015-01-26 23:31:46 +00:00
Robert Adams
e26ba505f6
BulletSim: update DLLs, SOs, and dylib with latest versions.
...
The dylib update is a new version that doesn't leak memory.
2015-01-25 13:24:50 -08:00
Robert Adams
de76116624
BulletSim: add parameters and parameter definitions for VHACD
...
addition coming.
2015-01-25 13:24:09 -08:00
Justin Clark-Casey (justincc)
3289aa3bcd
Revert "In GetDisplayNames, if user last name is Resident then only send first name for display."
...
Reverting at this point since it may not work well with all viewers.
Requires further investigation.
This reverts commit a29d53986a
.
2015-01-24 00:51:45 +00:00
Justin Clark-Casey (justincc)
a29d53986a
In GetDisplayNames, if user last name is Resident then only send first name for display.
...
This is to match existing behaviour with UDP behaviour where this is masked out.
And to make it consistent with other places where viewers mask this out themselves.
Relates to http://opensimulator.org/mantis/view.php?id=7408
2015-01-23 23:17:49 +00:00
Justin Clark-Casey (justincc)
840e440541
When deleting an assembly before re-compile, make sure its attributes allow deletion.
...
This is to see if this helps with the problem in http://opensimulator.org/mantis/view.php?id=7278 where some DLLs are not allowing this.
Since OpenSim created the file it should always be allowed to delete it.
2015-01-23 00:45:51 +00:00
Justin Clark-Casey (justincc)
d0a2ea0857
Fix regression where the stored state of every second script in an object rezzed from inventory (e.g. attachments) was no longer loaded.
...
Likely a regression since f132f642
(2014-08-28)
Relates to http://opensimulator.org/mantis/view.php?id=7278
2015-01-23 00:27:57 +00:00
Diva Canto
edc155c636
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2015-01-22 10:45:46 -08:00
Diva Canto
185e7048c8
On the GridService, the central simulator features: ensure that the map tile url ends with '/' because the viewer is dumb and just appends to it.
2015-01-22 10:45:07 -08:00