aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-10-31Introduce an EntityTransferContext carrying the version numbers to passMelanie Thielker1-4/+5
to all interested functions. Should fix the varregion conditional. Still a testing version, do NOT use in production!
2015-10-31Testing stage of the new versioning system. Use at own risk. May notMelanie Thielker1-1/+1
work. Will eat your babies. Yada. Yada.
2015-10-29fix mantis 7733, reverting setting of IsAttachment on first call to full ↵UbitUmarov1-6/+2
check. Replace instead same simple IsAttachment tests by full checks
2015-10-25 set SOG.IsAttachment when doing a full check, so future gets see the right ↵UbitUmarov1-1/+6
value
2015-10-23 replace objects scale clamp by a more readable clamp. Simplify GroupResize ↵UbitUmarov1-129/+74
and let rescale factors < 1 also be checked for size limits, Set new scales directly not checking them again.
2015-10-20 stop using a Vector3 to store 3bitsUbitUmarov1-12/+37
2015-10-20 STATUS_ROTATE are linkset flags and not primUbitUmarov1-11/+18
2015-09-30 add high level code suport for SetHoverHeight() called from a attachment, ↵UbitUmarov1-1/+9
so in future physics engines can also suport it
2015-09-26 fix object crossings to other scene on same instanceUbitUmarov1-1/+6
2015-09-21last merging of sog m_linkedAvatars into m_sittingAvatars - untested.UbitUmarov1-48/+5
2015-09-21Fix a regression to GetSittingAvatars(). Return List<ScenePresence> once more.Kevin Cozens1-4/+4
2015-09-14 try to improve vehicles crossing with Xengine. Lag seems main issue now, ↵UbitUmarov1-4/+16
but needs testing, specially the fail cases, that most likelly need more work
2015-09-02seems to compile ( tests comented out)UbitUmarov1-235/+7
2015-08-30More namespace and dll name changes. Still no functional changes.Diva Canto1-1/+1
2015-08-30Renamed the namespaces tooDiva Canto1-1/+1
2015-08-19funny bugUbitUmarov1-1/+1
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-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-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-03-29varregion: any conversions of use of Constants.RegionSize converted intoRobert Adams1-1/+1
Util.cs routines to convert region coords to and from world coords or handles.
2015-03-22Varregion: first cut at removing Border class checks for region crossings.Robert Adams1-6/+4
Added Scene.PositionIsInCurrentRegion(pos) to sense when new position needs some crossing work. Many changes made to EntityTransferModule to accomodate new crossing sense logic.
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-03If the owner of an object is taking a copy from the scene (e.g. via the ↵Justin Clark-Casey (justincc)1-0/+5
"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)1-13/+21
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
2014-11-19refactor: capitalize SOP.moveToTarget() and stopMoveToTarget() in accordance ↵Justin Clark-Casey1-2/+2
with code guidelines and the rest of the methods.
2014-11-19 fix stopMoveToTarget in attachments case ( similar to core fix)UbitUmarov1-4/+15
2014-11-19If calling llStopMoveToTarget() on an in-world prim, don't send an ↵Justin Clark-Casey1-2/+1
unnecessary object update if the prim was not moving to target. This involves making PhysicsActor.PIDActive get as well as set. On physics components that don't implement this (all characters and some phys engines) we return false.
2014-11-19If llStopMoveToTarget() is called on an attachment, then stop the avatar if ↵Justin Clark-Casey1-5/+19
it was moving to target. Same behaviour as on Linden Lab grid. Will probably also address http://opensimulator.org/mantis/view.php?id=7369 by not generating spurious object updates when llStopMoveToTarget() is called in attachments where the avatar is not moving.
2014-11-03 BUG FIX prevent references to null scene (as happens on mesh uploads)UbitUmarov1-12/+15
2014-10-26remove debug messageUbitUmarov1-7/+0
2014-10-26 delete keyframes on temporary backup groupUbitUmarov1-0/+8
2014-10-26Debug... ( restored TriggerOnSceneObjectPreSave)UbitUmarov1-12/+10
2014-10-26 remove lock that did nothing, DEBUG disable TriggerOnSceneObjectPreSaveUbitUmarov1-4/+3
2014-10-26 another try to prevent double crossingUbitUmarov1-52/+46
2014-10-26 keep intransit flag even if deleted, dont set sog position if in transitUbitUmarov1-41/+38
2014-10-26some cleanup, localID coerence fix..UbitUmarov1-27/+7
2014-10-24 don't backup in transit SOGsUbitUmarov1-1/+1
2014-10-24 try to make SOG crossings full async. Simplify some borders checking....UbitUmarov1-158/+199
2014-10-04Add LSL transaction_result event.Justin Clark-Casey (justincc)1-0/+1
This is cinderblocks' transaction_result.diff from http://opensimulator.org/mantis/view.php?id=7329 but I have used lsl.parser.cs and lsl.lexer.cs files generated directly from opensim-libs rather than those supplied in the patch. I also added scriptEvents.transaction_reuslt. The required parser/lexer generation file changes were made in commit d564f28 in the opensim-libs repo. Thanks!
2014-10-02Do not add attachments to the region scene object backup list.Justin Clark-Casey (justincc)1-2/+2
Attachment persistence is not handled in this way and this just results in a load of busy work until a check in each SOG terminates a backup check for attachments anyway.
2014-09-22 some changes in link/unlink code, bypassing complex variables set methodsUbitUmarov1-25/+25
2014-09-22 a few more changes on link/unlinkUbitUmarov1-3/+3
2014-09-22 update scenegraph group find by part information in sog link, so script ↵UbitUmarov1-3/+5
link functions do update that also.
2014-09-09 dont send fullObjectUpdate on deselectUbitUmarov1-4/+4
2014-09-08limit number of prims on physical objects. Not all cases covered stillUbitUmarov1-2/+44
2014-08-29Implement STATUS_BLOCK_GRAB_OBJECT in llSetStatus()/llGetStatus() and ↵Justin Clark-Casey (justincc)1-2/+14
correct effect of STATUS_BLOCK_GRAB As per http://wiki.secondlife.com/wiki/LlSetStatus Setting STATUS_BLOCK_GRAB_OBJECT prevents or allows move of a physical linkset by grab on any prim. Setting STATUS_BLOCK_GRAB prevents or allows move of a physical linkset by grab on a particular prim. Previously, setting STATUS_BLOCK_GRAB would prevent drag via all prims of the linkset.
2014-08-29Ignore whitespace when reading serialized XML objects.Justin Clark-Casey (justincc)1-1/+1
This was previously effectively being done by XmlDocument in the multiple passes through the XML. This change tells XmlReader to ignore whitespace. This also means changing arguments to use XmlReader instead of XmlTextReader (a descendent of XmlReader) directly. XmlReader.Create() has been the recommend way to create XML readers since .NET 2.0 as per MS SDK and is the only way to specific ignore whitespace settings.
2014-08-28On code section that rezzes single objects and attachments, reduce CPU use ↵Justin Clark-Casey (justincc)1-0/+28
by reading asset XML a single time with a stream reader rather than multiple times. Reading large XML documents (e.g. complex attachments) is CPU expensive - this must be done as few times as possible (preferably just once). Reading these documents into XmlDocument is also more resource intensive than using XmlTextReader, as per Microsoft's own publication "Improve .NET Application Performance and Scalability" Optimization of other cases will follow if this change is successful.