aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-05-20New values returned by llGetEnvTalun1-1/+7
Implements recent changes to llGetEnv region_cpu_ratio hardcoded to 1 region_product_sku hardcoded to OpenSim Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-05-19Removing duplicate definitionMichael Heilmann1-2/+0
2015-05-13Enable grab feature (Ctrl+Drag) for non-physical link-sets and add code to ↵AliciaRaven1-6/+24
handle spin (Ctrl+Shift+Drag) This patch fixes permission issues with dragging scripted objects. As on LL grid, scripted prims can not be dragged. Also after dragging, the group was not marked as updated. This meant that after the region was restarted the group would revert to its original position. This version fixes issues where scripts in child prims were not detected and also blocks grab for attachments. Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-05-05Refactored some code that is used in two different dlls related to SOP ↵Diva Canto1-0/+136
rewriting. Also added some unit tests that relate to mantis #7514
2015-04-30Updated phase 2 to have the changes originally done in phase 1 for the ↵Steven Zielinski2-5554/+5557
defaultNumberFramesStored. Test Plan: Tested using opensim standalone on windows with json stats. Reviewers: rlouden Reviewed By: rlouden Differential Revision: http://cr.irl.ucf.edu/D275
2015-04-29Added in all metrics for Phase 1 except for Time Dilation.Steven Zielinski2-9/+218
Test Plan: Tested on local opensim and firestorm. Not tested with JSON stats reporter. Reviewers: rlouden Reviewed By: rlouden Differential Revision: http://cr.irl.ucf.edu/D269 Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-04-29Changed the 10 value to be a constant value inside of the Scene called ↵Steven Zielinski2-3/+3
m_DefaultNumberFramesStored. Test Plan: Tested on windows with the json stats reporter. Reviewers: rlouden, kboswell, clattin, ssirigam, martin Reviewed By: rlouden, kboswell, clattin, ssirigam, martin Differential Revision: http://cr.irl.ucf.edu/D273
2015-04-28Revert "Enable grab feature (Ctrl+Drag) for non-physical link-sets and add ↵BlueWall1-24/+6
code to handle spin (Ctrl+Shift+Drag)" We found that linksets can move if the root prim is unscripted. Will revert this until a fix can be implemented.
2015-04-28Changed the 10 value to be a constant value inside of the Scene called ↵Steven Zielinski2-9/+12
m_DefaultNumberFramesStored. Test Plan: Tested on windows with the json stats reporter. Reviewers: rlouden, ssirigam, martin, kboswell, clattin Differential Revision: http://cr.irl.ucf.edu/D273
2015-04-21Added in all metrics for Phase 1 except for Time Dilation.Steven Zielinski2-9/+218
Test Plan: Tested on local opensim and firestorm. Not tested with JSON stats reporter. Reviewers: rlouden Reviewed By: rlouden Differential Revision: http://cr.irl.ucf.edu/D269
2015-04-21Phase 2 additons with Frame Dilation metric.Robert Louden2-5699/+5723
2015-04-21Moved over metrics from previous OpenSim 0.8.0.3 repository (this new ↵Glenn Martin3-18/+365
repository is now the master branch from OpenSim).
2015-04-20Enable grab feature (Ctrl+Drag) for non-physical link-sets and add code to ↵AliciaRaven1-6/+24
handle spin (Ctrl+Shift+Drag) This patch fixes permission issues with dragging scripted objects. As on LL grid, scripted prims can not be dragged now. Also after dragging, the group was not marked as updated. This meant that after the region was restarted the group would revert to its original position. Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-04-19Revert "Enable grab feature (Ctrl+Drag) for non-physical link-sets and add ↵Robert Adams1-18/+4
code to handle spin (Ctrl+Shift+Drag)" This change sees to enable general moving of objects with touch scripts. Reverting until the move permissions are understood. This reverts commit 28ce3238020c4dca8f9aef711daf730bccf0d2f0.
2015-04-17Enable grab feature (Ctrl+Drag) for non-physical link-sets and add code to ↵AliciaRaven1-4/+18
handle spin (Ctrl+Shift+Drag) Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-04-12Fix stand position for differing seat and root rotation.Magnuz Binder1-1/+1
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-03-17oops someone set individual quaternion members and forgot to normalizedahlia1-0/+1
2015-03-17Re-enabled ability for avatar to ascend and descend whilst controlling view ↵Justin Clark-Casey (justincc)1-2/+2
with lmb held down on avatar (in most viewers). This had been disabled by 30b7863 (Fri Feb 27 2015). Relates to http://opensimulator.org/mantis/view.php?id=6835
2015-03-07BulletSim: add VEHICLE_ more parameter value limit checking.Robert Adams1-0/+4
This only bounds passed parameters as there is no good way of refusing the parameter setting. This mostly means that passing NaN's won't crash the simulator.
2015-03-02Fix erratic Npc movementBlueWall1-1/+1
2015-03-02added missing senderId in GiveInventoryFolder this little mistake prevented ↵Freaky Tech1-1/+1
passing on folders for HG visitors Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-02-27Comment out now unused and not properly working private SP.m_leftButtonDown ↵Justin Clark-Casey (justincc)1-2/+7
with a comment on how probably to implement it properly if it is needed in the future
2015-02-27Don't slow down avatar walk speed if camera is changed (e.g. by holding down ↵Justin Clark-Casey (justincc)1-28/+12
lmb on an avatar and moving the mouse). Does this by not applying unwanted direction components to the avatar self movement calculation (exception is flying in mouse look). Matches behaviuor on linden lab grid Addresses http://opensimulator.org/mantis/view.php?id=6835
2015-02-27Don't slide crouching avatar when camera is panned around them with left ↵Justin Clark-Casey (justincc)1-1/+3
mouse button This matches linden lab grid behaviour
2015-02-27Revert "Adding dynamic ossl permission control"BlueWall1-61/+0
This reverts commit a3681f3052fb5e98e31e7051329a5b748a8bdd8d until further testing. Jenkins now fails ossl tests.
2015-02-27Adding dynamic ossl permission controlBlueWall1-0/+61
Add permission by identifying uuid (owner/creator/group) and function. Revoke permission in the same manner. Permission adjustments immediately effect running scripts ability to call os functions. osGrantScriptPermissions(UUID key,string function) Threat Level Severe osRevokeScriptPermissions(UUID key,string function) Threat Level Severe work sponsored by: Rage
2015-02-26When an avatar is walking across a region border, force the first ↵Justin Clark-Casey (justincc)1-5/+18
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-25Fix bug where the uuid gatherer was not inspecting UUIDs for items in an ↵Justin Clark-Casey (justincc)2-27/+32
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-25Reduce coupling in regression test task inventory creation methods to make ↵Justin Clark-Casey (justincc)2-5/+42
them usable in tests with no scene present
2015-02-16Add NaN and Infinity tests for SOP Velocity and Acceleration setters.dahlia1-5/+13
2015-02-16Use a boolean flag to signal lookat is running instead of ↵dahlia1-4/+10
Quaternion.Identity so it can be a valid target orientation
2015-02-16Filter NaN and Infinity values at SOP AngularVelocity setterdahlia1-1/+6
2015-02-11If serialized scene object XML has a SavedScriptState with no UUID, then ↵Justin Clark-Casey (justincc)1-1/+5
read past the innerXML instead of wrongly continously looping on the same element. Addresses http://opensimulator.org/mantis/view.php?id=7437
2015-02-07llLookAt() strength parameter should slow rotation as it is increased. ↵dahlia1-2/+2
Thanks Vegaslan for pointing this out.
2015-02-07llLookAt(): reduce and clamp strengh to reduce probability of overshootdahlia1-2/+5
2015-02-06llLookAt() and llRotLookAt(): all orientation updates now done via angular ↵dahlia1-17/+28
velocity manipulation. Also correct some orientation glitches during interpolation.
2015-02-05Manage Angular Velocity during llLookAt() rotation of physical objectsdahlia1-1/+11
2015-02-05Set angular velocity in physics actor in SceneObjectPart.AngularVelocity ↵dahlia1-1/+7
setter. Enables llSetAngularVelocity()
2015-02-03If the owner of an object is taking a copy from the scene (e.g. via the ↵Justin Clark-Casey (justincc)3-0/+353
"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-01-23Fix regression where the stored state of every second script in an object ↵Justin Clark-Casey (justincc)2-14/+28
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-21If the SnedInventoryAync() method receives an exception log this but make ↵Justin Clark-Casey (justincc)1-1/+10
sure it does not terminate the process. Relates to http://opensimulator.org/mantis/view.php?id=7421
2015-01-21minor: Fix some CR line endings in Scene.Inventory.csJustin Clark-Casey (justincc)1-8/+8
2015-01-21If [Permissions] serverside_object_permissions = false or the undocumented ↵Justin Clark-Casey (justincc)1-1/+4
propogate_permissions = false, don't propogate permissions of prim inventory items. This was a regression from 13f31fd (4 Nov 2013) Relates to http://opensimulator.org/mantis/view.php?id=7399
2015-01-20minor: correct SceneCommunicationService.LogHeader spellingJustin Clark-Casey (justincc)1-1/+1
Relates to http://opensimulator.org/mantis/view.php?id=7337
2015-01-14Stop simulators attempting to contact registered but offline regions ↵Justin Clark-Casey (justincc)1-1/+26
(RegionFlags.Persistent but not RegioNFlags.RegionOnline) on startup and when an avatar completes a teleport. This eliminates spurious network calls and failure reporting. This is done by adding RegionFlags to the GridRegion returned data in a backward compatible way as an alternative to multiple IGridService.GetRegionFlags() calls Using a simulator or a grid service older than this commit will just see previous behaviour.
2015-01-09Added GetDisplayNames capability. For now, we don't actually use display ↵Diva Canto2-1/+3
names, and this cap returns the regular name. But this moves the server side into the newer, preferred, protocol used by the viewer for fetching the names of agents in the scene given their UUIDs. (the old protocol is via UDP). This works fine in my limited tests, but could use further testing by others.
2015-01-08When inspecting a script or notecard, also try to look up any assets ↵Justin Clark-Casey (justincc)2-5/+11
embedded therein. This is primarily to fix an issue where inventory items for NPC attachments would not be saved in archives as the assets referenced in the appearance notecard were not checked in this manner. Relates to http://opensimulator.org/mantis/view.php?id=7376
2015-01-08Make the IteratingUuidGatherer the only UuidGatherer.Justin Clark-Casey (justincc)2-676/+76
This UUID gatherer provides a superset of the previous gatherer's functionality as it also allows the caller to control gathering iterations for load purposes.
2014-12-25Allow for richer semantics of object derez. Specifically, allow the ↵Diva Canto2-13/+54
existence of region modules that do other kinds of garbage collection. Instead of placing deleted objects in the user's Trash folder, or deleting them immediately (UseTrashOnDelete = false), a module may decide to take garbage collection under its control. For example, it may place derezzed objects in a certain area inworld and delete them later.
2014-12-17Fix recent regression where a race condition meant SP.MakeRootAgent() would ↵Justin Clark-Casey (justincc)1-32/+29
sometimes look to start attachment scripts before ETM.HandleIncomingSceneObject() had added them. Probably a regression since ghosts branch merge on Nov 26 2014