aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2007-11-05Thank you, Teravus for: Solution for 'after using physical prim with ↵Charles Krinke1-1/+5
MonoSqliteDataStore, the sim lags with constantly updating assets.". This mostly affects BulletX.
2007-11-04Applying Teravus patch # 557. Some glue code for the updating of prim's ↵MW1-4/+34
velocity.
2007-11-03Fixes a bug with a ZERO Quaternion when creating a prim.darok1-4/+8
2007-11-03Modifications for prim movement. For now only in Mod. BulletX, but i think ↵darok1-5/+68
it can be easy to add to ODE. Enjoy kick the prims and be careful with the falling ones ;D
2007-11-03First part of Scene refactoring:MW1-0/+1
Started the move of some of the methods from scene into a inner class (currently called InnerScene.cs), the idea being that the code related to the 3d scene (primitive/entities/Avatars etc) will be in this inner class, then what is now Scene.cs will be left as a kind of wrapper class around it. And once the spilt is complete can be renamed to something like RegionInstance (or any name that sounds good and ids it as the Region layer class that "has" a scene). Added SceneCommunicationService which at the moment is a kind of high level wrapper around commsManager. The idea being that it has a higher level API for the Region/Scene to send messages to the other regions on the grid. a Example of the API is that instead of having sendXmessage methods, it has more functional level method like PassAvatarToNeighbour. Hopefully this will allow more freedom to do changes in communications that doesn't break other things.
2007-11-03Changes in BulletXPlugin: Added new class BulletXActor class inherits from ↵darok1-9/+10
PhysicsActor and it's the ancestor for BulletXCharacter and BulletXPrim.Physical modifications: Changes for pass the value of Physical flag in the SceneObjectPart class to the Physics engines. New call for AddPrimShape so it has a new parameter called "isPhysical". The old call will be obselete soon (i believe). PhysActor and its descendants have a new property called IsPhysical. By the way no new special funcionallity added. It's more like preparing the way for new modifications.
2007-11-01* Diuerse beavtificatemslbsa711-50/+52
2007-11-01Thank you, Melanie for solving: When receiving an ObjectAdd packet, the ↵Charles Krinke1-2/+7
Rotation member is silently ignored and the prim is created with 0,0,0,1 rotation. The patch introduces a fix that passes the Rotation parameter from the packet to the object and uses it in the actual object creation.
2007-11-01Thank you Melanie for a patch to SceneObjectPart.cs so that on first ↵Charles Krinke1-2/+19
transmission of task data to the connection of the creator/owner, the CreateSelected bit in the object flags is now set.
2007-10-30Tevarus' patch for object flags & implemented Phantom editsdan miller1-4/+102
2007-10-30* Optimized usingslbsa711-14/+9
* Shortened type references * Removed redundant 'this' qualifier
2007-10-29as per the "Filesystem cleanup for OpenSim repository" mailing list thread. ↵MW1-2/+1
Have flattened the OpenSim.Framework project/namespace. The problem is that the namespace is still wrong as its "OpenSim.Framework" while the directory is "OpenSim\Framework\General" , so we need to decide if we change the directory or correct the namespace. Note this has lead to a big flat project, but I think a lot of the files we most likely don't even use any longer. And others belong in other projects/namespaces anyway.
2007-10-29Started the process of cleaning up AssetCache and moving most of the code ↵MW1-2/+2
into modules. Have moved TextureRequest handling (from the client) to a module. But even though to start with I just did a little bit of cleaning up of the existing code, it doesn't seem to work as good as the old code so I need to spend more time on it. So for now am committing my changes but with them not in use. So for now all Texture and asset requests are still handled by the old code in AssetCache.
2007-10-16Couple of small changes to Xml serialising of SceneObjectGroups (shouldn't ↵MW1-0/+2
effect anything).
2007-10-15* Applied patch #418 : copyright-r2012.patch - some errors, but got most thrulbsa711-1/+29
2007-10-12* Just extracted a standard ToXml() on SceneObjectGrouplbsa711-1/+2
2007-10-11Some changes to the sending of updates of SceneObjects to clients, that I ↵MW1-8/+5
did a few weeks ago but never committed (and never completely finished what I had planned).
2007-09-21* First example of moving stuff to a Region layerlbsa711-9/+0
* Also, changed RegionPresence to 'RegionSubscription' - let's just see where we land with this...
2007-09-21* Continuing refactoring of presencelbsa711-2/+2
* Deleted stub ScenePresence.Body.cs * Added stub Region classes The idea is to, at first, have every ScenePresence have one RegionPresence, moving code over to it until we can detach the two classes and not have a ScenePresence for every RegionPresence.
2007-09-20* even more renaming and refactoring; the cleaning woman is on call.lbsa711-2/+2
2007-09-20Rev 1971 : The Lbsa71 vintage commitlbsa711-4/+4
* Refactored to prepare for some serious restructuring
2007-09-19* Modernized ScriptManager to new interface-based module calls.lbsa711-151/+194
* 'remove redundant this qualifier' ftw
2007-09-14added ability to update group positionSean Dague1-0/+7
2007-09-11Fixing namespace problems MW1-0/+1
2007-09-11Applied ldvoipeng's patch [#360], sorry for it taking so long to apply it. ↵MW1-2/+22
If in future anyone's patch hasn't been applied within a few days, please can someone kick one of the developers with svn access.
2007-09-10hooked up sdague new sqlite asset database provider to the old asset system. ↵MW1-2/+3
So we can still use sqlite for assets while we wait for the rest of the new asset system to be wrote. Needs more testing, so if it causes problems will have to swap back to db4o.
2007-09-08Converted the LSL scripting engine into a IRegionModule, so now all ↵MW1-0/+5
"modules" share a common base interface and are loaded from the single loader. (It seems to work fine, but I have left the old scriptengine loader, incase we have to change back). Removed the reference to OpenJpeg in the DynamicTextureModule, to see if that was causing the build problem someone is having. Added a Temporary fix for the "existing connection was forcibly closed by the remote host" exception on windows when a user logs out of a multiregion instance. Some early work to prepare for improving the way clients are updated (about prims etc).
2007-09-06added experimental method of trying to relieve missing prim problem (by ↵MW1-2/+32
adding a limit of the number of prim update packets sent in each update loop).
2007-08-29few small changes (all work in progress).MW1-2/+1
2007-08-29Fixed the problem of prims not being loaded from the database (that my last ↵MW1-2/+8
commit created).
2007-08-29Attempt to cut down how often objects are backed up to the database.MW1-1/+3
2007-08-28Corrected the namespace in OpenSim.Region.Physics.Manager, so now namespace ↵MW1-1/+1
should equal project and directory.
2007-08-28Start of trying to make Region/Scene more modular. MW1-2/+2
Added preliminary IRegionModule interface. Also have a work in progress way of Modules registering optional API methods (kind of like Apache optional functions). But there must be a cleaner/nicer way in c# of doing these than the current way. Added three work in progress modules: ChatModule (simple handles in world chat, but by moving this to a module, we could support other types of chat modules, ie like a irc - opensim bridge module. ) , AvatarProfilesModule and XferModule. Moved most of the code from Scene.ModifyTerrain() into the BasicTerrain library, as the start of trying to make that more modular. Stopped Child agents showing up as part of the "show users" command.
2007-08-27Stopped EntityBase from implementing IScriptHost, as don't think it should, ↵MW1-0/+5
multiple objects are based on entitybase and they all don't want the baggage from IScriptHost. SceneObjectPart already implements it anyway. Added llGetOwner function, and tested the ll functions that I added in last commit.
2007-08-25Hopefully fixed the bugs in primitives rotation editingMW1-1/+2
2007-08-25updated to include saving of object flags.Sean Dague1-9/+14
People will need to blow away their databases after this point.
2007-08-24Scripts are now copied into a prim (ie new copy placed in the prim) rather ↵MW1-1/+1
than moved into there.
2007-08-23Added RemovePrim method to the physics plugins interface.MW1-0/+1
Implemented that method in ODE plugin. Hooked it up so when deleting/taking prims into your inventory they will be removed from physics engine. Enabled the other physics hook ups in Scene.cs (and also added registering prims with physics plugin when they are rezzed from Inventory.) So now to get the avatar to prim collision testing working, just change to use the ODE plugin (in the OpenSim.ini file, physics = OpenDynamicsEngine). Remember though ODE only really works (without problems) when running with a single region.
2007-08-23Added a PhysicsActor PhysActor member to SceneObjectPart, and made it so ↵MW1-0/+3
this is set when registering the prims with the physics engine. Position changes of the prim is now updated straight away to physic engine. (note at the moment, only root prim is registered with physics engine. Think we need to decide how we are going to manage child prims and physics.) As before this is all currently disabled (in scene.cs) until its in a bit more working condition.
2007-08-22Added OnRemoveScript(uint localID, LLUUID itemID) event , trigged when a ↵MW1-2/+20
script in a primitive is deleted.
2007-08-22Made SceneObjectGroup.GetChildPrim() public, for now so that script engine ↵MW1-1/+1
can get ref to the SceneObjectPart/ IScriptHost.
2007-08-22A little bit of cleaning up.MW1-2/+2
2007-08-22added ParentPartID to TaskInventoryItem class to make it easier to store ↵MW1-4/+4
them in database.
2007-08-22Fixed typo.MW1-1/+1
2007-08-22Start of Task Inventory (ie prim's inventory). For now, you can only move ↵MW1-45/+128
scripts into a prim (from your user inventory) and although the script will now show up in the prims inventory, you can't make any changes to it (or delete it). Also a prim's inventory is currently not saved between restarts.
2007-08-21Added OnRezScript event to Scene.EventManager.Which the script engine should ↵MW1-0/+9
subscribe to. This is triggered whenever a script is moved into a primitive (and includes the localid of the prim and the script text as params) . Currently though the script item isn't deleted from a users inventory, nor does it actually show up in the objects inventory (this will be fixed soon.) So that means that it isn't currently possible to edit a script (or delete it) once it has been added to a primitive.
2007-08-21Shift and Drag copying should now work correctly. [This was one of those ↵MW1-5/+5
stupid little one line bugs that was so much fun to track down that I decided to spend a few hours on it) Linking groups should now work better than it did, but still a bit of work to do on getting the rotations of all the parts after linking right. Added part of dalien's #301 patch (xml loading/saving related parts with some small changes)
2007-08-20Instant Messages between users in the same region should actually now work.MW1-6/+7
2007-08-19Sqlite datastore should now save the textures and extraparams data (used by ↵MW1-8/+93
sculpties) correctly. [Really need to add a ExtraParams field to the sqlite database though, but for now I have combined their data so that we don't lose backward compatibility, know a couple of people have been using the datastore already]. Now have a rough day/night cycle (the movement of the sun needs to be made smoother but for now it is better than we had I think). Added dalien's patch (issue 294) for saving and loading prims to a xml file (think he will be modifying these to be import/export functions and maybe writing a xml datastore for backups). Some preliminary work on task inventory (ie object's/prim's inventory). Added place holder data for AvatarProperties (ie a avatar's profile). Should we store this sort of data on the user server or have another server for it (a normal webserver should work). Added a few more method to IClientAPI. Sure there is something I'm forgeting.
2007-08-17Pimped up Default.lsl. Now featuring a touch counter.Tedd Hansen1-0/+1
Changed "ObjectID" in ScriptEngine to IScriptHost reference. Events will now be queued based on IScriptHost reference instead of string ID of object. Removed "root" object reference in script.