aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Preserve attachment rotation on objects rezzed via a script. Makes toastersMelanie2012-05-021-0/+3
| | | | work right, finally.
* fix llGetCenterOfMass ( checked with ubitODE only)UbitUmarov2012-04-281-3/+37
|
* changed seletion code. SOP now knows about parts selection. UI actions are ↵UbitUmarov2012-04-201-0/+14
| | | | sent to SOP and this reports to SOG. Group is selected if any part is selected.sop.isSelect get() is only used in SOG. Will need to be improved for better performance on largelinksets. *UNTESTED* NEEDS CHECKING for side efects
* changed - VolumeDetect and phantom setting interaction. Script VD(true) ↵UbitUmarov2012-04-191-11/+28
| | | | forces phantom ON. UI phantom off turns off VD. Other transitions should only change specific parameter. This is not as current SL. - Fixed volumedetect prims being wrongly removed from physics.
* make llGetGeometricCenter() work as in current SL. Now this is not real geom ↵UbitUmarov2012-04-091-9/+20
| | | | center but a average of positions relative to root prim ignoring prims details, so no need to use physics engine.
* sop.AddToPhysics(..) fixed and in use. For now it seems it needs to set ↵UbitUmarov2012-04-091-263/+147
| | | | sop.PhysActor, so made it return void.
* Merge branch 'master' into careminsterMelanie2012-04-071-22/+60
|\ | | | | | | | | | | | | | | | | Conflicts: OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs OpenSim/Region/CoreModules/World/Land/LandObject.cs OpenSim/Region/Framework/Scenes/Scene.Inventory.cs OpenSim/Region/Framework/Scenes/SceneObjectPart.cs OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
| * Rather than having a FromFolderID property on every single prim and only ↵Justin Clark-Casey (justincc)2012-04-071-2/+0
| | | | | | | | | | | | ever using the root prim one, store on SOG instead. This reduces pointless memory usage.
| * Store FromItemID for attachments once on SOG instead of on every SOP and ↵Justin Clark-Casey (justincc)2012-04-071-2/+0
| | | | | | | | | | | | only ever using the root part entry. This eliminates some pointless memory use.
| * refactor: Eliminate unnecessary SOP.m_physActorJustin Clark-Casey (justincc)2012-04-061-10/+1
| |
| * Fix llGetLinkPrimParams for PRIM_POS_LOCAL for child prims whether in scene ↵Justin Clark-Casey (justincc)2012-04-061-3/+13
| | | | | | | | | | | | | | | | or attachments. Return relative position to root prim rather than 0,0,0. Should fix same issue with llGetLocalPos() http://opensimulator.org/mantis/view.php?id=5951
| * remove possible PhysActor unexpectedly null race conditions when changing ↵Justin Clark-Casey (justincc)2012-04-031-57/+74
| | | | | | | | | | | | prim collision status factor out common SOP physics scene adding code into a common SOP.AddToPhysics() that is the counterpart to the existing RemoveFromPhysics()
* | minor changes.. a few physicsactor -> pa and a use a constant with |'ed ↵UbitUmarov2012-04-041-35/+31
| | | | | | | | bit fields in place of 6 individual checks ||'ed
* | remove more merge artefactsUbitUmarov2012-04-041-10/+3
| |
* | reverted changes to llApplyRotationalImpulse execution in SOP/SOG. This ↵UbitUmarov2012-04-041-1/+1
| | | | | | | | functions naming is misleading, Here Apply means to apply a instante impulse that may add to previus unprocessed ones and not setting a permanente torque (that is done by llSetTorque).
* | Fix the last merge artefactsMelanie2012-04-031-4/+5
| |
* | Fix more merge artefactsMelanie2012-04-031-3/+3
| |
* | Remove duplicate implementation of Material { get; set; }Melanie2012-04-031-14/+0
| |
* | Fix merge artefactsMelanie2012-04-031-1/+1
| |
* | Merge branch 'master' into careminsterMelanie2012-04-031-54/+98
|\ \ | |/ | | | | | | | | | | | | Conflicts: OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs OpenSim/Region/Framework/Scenes/SceneObjectPart.cs OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
| * Eliminate race condition where many callers would check SOP.PhysicsActor != ↵Justin Clark-Casey (justincc)2012-04-031-91/+116
| | | | | | | | | | | | | | | | null then assume it was still not null in later code. Another thread could come and turn off physics for a part (null PhysicsActor) at any point. Had to turn off localCopy on warp3D CoreModules section in prebuild.xml since on current nant this copies all DLLs in bin/ which can be a very large number with compiled DLLs No obvious reason for doing that copy - nothing else does it.
* | fix a bad reset of shapetype on pbshape change, added missing ↵UbitUmarov2012-03-211-7/+10
| | | | | | | | checksculpload ( to reload mesh on change )
* | Changes of PrimShapeType should now work with UbitOde ( almost untested )UbitUmarov2012-03-211-17/+26
| |
* | Tell physics about physics shape when creating. Added some virtual methods ↵UbitUmarov2012-03-211-0/+2
| | | | | | | | to get/set density,gravmod, frition,bounce and shape type ( not in use ). UbitOde now should do convex type on creation or everytime the mesh is changed ( as in change size, shape, etc )
* | Merge branch 'ubitwork'Melanie2012-03-201-6/+27
|\ \ | | | | | | | | | | | | Conflicts: OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
| * | add some more notifications about changes on physical parameters ( still ↵UbitUmarov2012-03-201-10/+9
| | | | | | | | | | | | incomple and there should be a better away )
* | | Cover the case where prims are loaded and ParentGroup is not yet setMelanie2012-03-201-5/+10
|/ /
* | Cause prims to be saved if extra physics parameters are changedMelanie2012-03-201-0/+5
| |
* | some more work on costsUbitUmarov2012-03-161-0/+62
| |
* | added ObjectPhysicsProperties http event message to send viewer that data. ↵UbitUmarov2012-03-151-1/+1
| | | | | | | | For now on caps/EventQueue, and still only used on a material change...
* | bug fixs, added a default physics shape estimator based on being a mesh or ↵UbitUmarov2012-03-141-13/+71
| | | | | | | | not and use it on unlink if new root part as type none. Viewer doesn't get updated even with fullupdates we are missing something still
* | let PhysicsShapeType none remove physics remove physics on child parts ↵UbitUmarov2012-03-131-10/+38
| | | | | | | | **UnTested**
* | initial suport for ExtraPhysical parts parameters. Reading from llclientView ↵UbitUmarov2012-03-131-14/+100
| | | | | | | | to SOP including SOPserialization (not to databases). No action on physics still. No send to viewer, etc
* | Refactor, move OjectChangeData into it's own file and renameMelanie2012-03-131-2/+2
| | | | | | | | | | ObjectChnageWhat what into ObjectChangeType change. What is no name for a variable or type!
* | allocate UndoRedoStore only on demandUbitUmarov2012-03-121-10/+17
| |
* | Physical phantoms testable with chOde. Volume detection was changed and ↵UbitUmarov2012-03-111-138/+145
| | | | | | | | also needs testing. Started making it more independent of phantom acording to new sl. ** 99.999...% UNTESTED ***
* | Changed undo redo internals. moved exec code to UndoState.cs from sop that ↵UbitUmarov2012-03-111-133/+22
| | | | | | | | now only sees a unified UndoRedoStore class, added size limit on buffers so only last 5 undo/redo are kept. (5 is hardcode like it was ) ***UNTESTED***
* | BIG MESS. changed Iclient interface so only one event is used to inform ↵UbitUmarov2012-03-101-4/+43
| | | | | | | | scene about position scale or rotation change by client (others can be added). Its served at SceneGraph that does permition checks, undostore and sends down to SOG. changed values are stored in a class (ObjectChangeData) and what is changed as a enum (ObjectChangeWhat) with bit fields and 'macros' of this for better readability (at top of scenegraph.cs lasy to find better place for now) this can be extended for other things clients changes and need undo/redo. SOG process acording to what is changed. Changed UNDO/redo to use this also (warning is only storing what is changed, previus stored all, this must be checked for side efects. to save all PRS change commented line in scenegraph). Still have excessive calls to ScheduleGroupForTerseUpdate. **** UNTESTED ****
* | Merge branch 'ubitwork'Melanie2012-03-091-2/+2
|\ \
| * | more changes in undo/redo. Basicly moved control to llclientview.cs. later ↵UbitUmarov2012-03-091-2/+2
| | | | | | | | | | | | we can move back to a dispatcher function on SOG that handles the several cases( in a viwer independent way (?)) and calls current exec funtions. made cosmetic changes replacing decimals by hexs so bits are easier to read. Changed behavour of case 12 and 28 ( 0x0c and 0x1c) to make identical to 0x0d and 0x1d ( scale only and scale plus position). DOn't see 12 and 28 in use... cases 1c and 1d still broken
* | | Merge branch 'master' of ssh://melanie@3dhosting.de/var/git/careminster into ↵Melanie2012-03-081-45/+27
|\ \ \ | |/ / | | | | | | careminster
| * | changes on undo/redo (untested/incomplete). Think we may consider moving ↵UbitUmarov2012-03-071-45/+27
| | | | | | | | | | | | this mfrom SOP to client side. At least does seem to work a bit better ( again there wwas a issue on sop.copy )
* | | Merge branch 'master' into careminsterMelanie2012-03-071-2/+0
|\ \ \ | |/ / |/| / | |/ | | Conflicts: OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
| * Always zero the PhysActor on dupes to prevent side effects on the orignal primMelanie2012-03-071-4/+1
| |
* | Null PhysActor on SOP.Copy() to prevent clobbering the original oneMelanie2012-03-061-4/+3
| |
* | make copied parts have diferent LocalIds than original. More building ↵UbitUmarov2012-03-061-2/+3
| | | | | | | | control for ubitODE. for all let physics know about linking of physical parts. Assume UNTESTED
* | Fix vehicles going physical stopping llTargetOmega parts (boat radar)Melanie2012-02-271-3/+5
| |
* | Move KeyframeMotion from SOG to SOP because we can't persist it anyMelanie2012-02-261-3/+11
| | | | | | | | other way because SOG doesn't technically exist in the DB
* | Fix deserialization of Buoyancy, Force and Torque. Remove debug from the newMelanie2012-02-261-3/+3
| | | | | | | | code.
* | Fix an infinite recursion caused by checking the wrong values forMelanie2012-02-261-24/+27
| | | | | | | | Buoyancy, Force and Torque