aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* On reflection, HasGroupChanged is more appropriateJustin Clarke Casey2008-01-181-2/+2
|
* Change SOP.HasChanged to HasPrimChanged in preparation for further changesJustin Clarke Casey2008-01-181-2/+2
|
* * Fixed bug where 'taskOwnerId' would always be null in PermissionManager, ↵lbsa712008-01-181-6/+1
| | | | hence always retuning false on GenericObjectPermission.
* * Added llApplyImpulse in the global frame. The object must be physical ↵Teravus Ovares2008-01-171-0/+15
| | | | before this'll do anything. Be careful with this function as it's easy to loose prim.
* * Added and implemented the LSL changed event.Teravus Ovares2008-01-171-5/+54
| | | | | | | * An example changed event syntax is at: http://opensimulator.org/wiki/Changed_Event_Example * You can use this to trigger actions in your script if someone sits on your object_rez * You can use this to figure out all of the CHANGED_ constants except for CHANGED_REGION, CHANGED_TELEPORT, and CHANGED_ALLOW_DROP
* * Fix mantis 345 - it is now possible to duplicate prims directly in the ↵Justin Clarke Casey2008-01-161-2/+6
| | | | | | | | | region again without breakage * This includes their inventories * Also, this revision properly synchronizes prim inventory crud.
* * Store task inventory when an object is taken into agent inventoryJustin Clarke Casey2008-01-161-0/+13
| | | | | | | | * This means that you can take an object from a region and rez it somewhere else, with its inventory intact. * As for earlier, at this stage only scripts can be placed in inventory * This isn't an efficient implementation, a better one will probably need to come along soonish
* First part of changing prim's permission flags to use the correct enum ↵MW2008-01-161-40/+10
| | | | (libsl PermissionMask)
* * Refactored the SimStatsReporter to reuse the same packet and packet blocks ↵Teravus Ovares2008-01-161-1/+1
| | | | | | | over and over again instead of creating 1 a second. * Added frame Milliseconds, Physics Milliseconds and Other Milliseconds to the Sim Stats Reporter so we can start to figure out what the slowdowns are. (these were the most convenient to get and had just about no overhead.
* * Added some comments to the linkset positioning codeTeravus Ovares2008-01-151-4/+20
|
* * Pass 2 of collidable (non physical) linksetsTeravus Ovares2008-01-151-9/+13
| | | | | | | | * Linkset status is now persistent * Tweaked a physics child prim positioning hack to generate less database saves * Re-factored physics object creation calls into ApplyPhysics. To create a new physics representation of an object or linkset, it's only necessary to call *group*.ApplyPhysics(bool m_physicalPrim). *lbsa has been waiting for this refactoring* * We have collidable linksets now. (they don't become phantom anymore)
* * Mother of all commits:Adam Frisby2008-01-151-4/+4
| | | | | | | * Cleaned up copyright notices in AssemblyInfo.cs's * Added Copyright headers to a bunch of files missing them * Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate.
* * First pass at collidable linksetsTeravus Ovares2008-01-141-11/+99
| | | | | | | | | * There will be bugs, you can count on that. To avoid them, set the linksets phantom * After region restart, the linksets restore in a non collidable state. * Linksets can but shouldn't be made physical with the physical checkbox or when you unlink them, they tend to explode. * After creating a linkset, you have to move the linkset or set it phantom and not phantom for it to become collidable. * There's a few ParentGroup references that need to be refactored.
* make Stopped a property of the SceneObjectPart instead of in theSean Dague2008-01-081-0/+13
| | | | | | database code, so this is a shared concept.
* Persistent prim inventory phase 5. Restart scripts contained in persisted ↵Justin Clarke Casey2008-01-071-16/+16
| | | | | | | | prims on region start. No user functionality exposed yet - no ini switch to enable persistence or restore. A bit more initial work to do.
* Factor out inventory related code in SceneObjectPart into separate classJustin Clarke Casey2008-01-061-205/+1
|
* Factor out TaskInventoryItemJustin Clarke Casey2008-01-061-68/+0
|
* Prim inventory phase 4. Properly recover the prim folder ID from storage. ↵Justin Clarke Casey2008-01-061-22/+76
| | | | | | | | | Scripts now show up in prim inventories after region restart. Probably doesn't yet work for any items other than scripts. Still some work to do. No user functionality exposed. Not yet user tieable into normal code.
* Persistent prim inventory phase 3. Now retrieving prim item data from ↵Justin Clarke Casey2008-01-051-3/+10
| | | | | | | | | persistent store, but this doesn't yet show up for the client. Still no user functionality and not enabled in normal code.
* Fix mantis 280 - sim crashes when a prim is deleted.Justin Clarke Casey2008-01-031-0/+1
|
* Minor refactoring to expose PrimInventory from SceneObjectPartJustin Clarke Casey2008-01-021-7/+15
|
* * Patch from Alondria that re-fixes llSetColorTeravus Ovares2007-12-301-20/+20
|
* * Made a copy of parts before updating to avoid dictionary updated ↵lbsa712007-12-281-1/+1
| | | | | | | | exceptions on big updates * The part now uses the byte[] TextureEntry instead of the object
* * Added ability to create new prim on existing prim (rezzing prim from ↵Teravus Ovares2007-12-281-2/+5
| | | | | | | inventory on other prim coming soon). No more new prim buried in the ground by accident. * The prim are at the absolute position of the prim you rezzed it on top of + (0,0,0.5) for now.
* * Optimized usingslbsa712007-12-271-205/+209
| | | | | | | * shortened references * Removed redundant 'this' * Normalized EOF
* * Fixed MonoSQLite Update Table routineTeravus Ovares2007-12-271-2/+2
| | | | | | * Charles, this will fix the red issue. * Same situation, the first run updates the tables (and gives you a ton of red errors), the second run and everything works as expected.
* * AssetServerBase: _ProcessRequest is now called GetAssetlbsa712007-12-271-1/+1
| | | | | | | * PrimitiveBaseShape: The textures are now exposed as a 'TextureEntry Textures'; all serialization still using the 'byte[] TextureEntry' for backwards compatibility. * Scene: Re-added AddTree, since the Tree type isn't gone from libsl, merely relocated.
* * Fixed the matching logic error on the LLQuat to axiom quat :PTeravus Ovares2007-12-271-1/+1
|
* * fixed a logic error in the receiving end of the prim load for the sit targetTeravus Ovares2007-12-271-2/+5
|
* * Added Sit Target persistence over sim restarts for mySQL and MonoSQLite.Teravus Ovares2007-12-271-0/+27
| | | | | | | * SAVE YOUR PRIM DATA, THIS MAKES CHANGES TO YOUR PRIMS TABLE * The first time you run OpenSim after updating past this revision, you'll see a lot of Errors. Be calm, shutdown the simulator, and start it again and your prims table will be updated. * MSSQL added the fields to the Initial CreateTable section, however, you'll need to add the fields to your prims table if you want it to persist.
* * Added slightly better object sit handlingTeravus Ovares2007-12-271-0/+34
| | | | | | | | * Added sit handling for sit targets * Implemented llSitTarget() * Implemented llAvatarOnSitTarget() * Sit targets do not persist sim restart.
* Prim inventory persistence phase 1: Creation of preliminary table in sqlite.Justin Clarke Casey2007-12-271-15/+11
| | | | | | | No user functionality yet. This code is not turned on, so there is no possibility of disruption to existing databases.
* If a prim is persisted in the region, scripts dragged into its inventory ↵Justin Clarke Casey2007-12-261-4/+6
| | | | | | | | after a server restart would not appear (though the script they contain would still be invoked). This change fixes that problem.
* * Patch by Melanie to fix CreateSelectedTeravus Ovares2007-12-261-1/+7
|
* Again, great thanks to Alondria for:Charles Krinke2007-12-241-1/+13
| | | | | | | | Adding:: llSetParcelMusicUrl(), llGetRootPosition(), llGetRootRotation(), llGetGeometricCenter(), llSetLocalRot(), llListReplaceList(), llGetObjectPrimCount(),llGetParcelDetails(), llGetParcelMaxPrims(), llWater(), llGetLocalRot(), and llGetAccel()
* * Patch from Alondria - Added LLFunctions llGetMass(), llGetLandOwnerAt(), ↵Teravus Ovares2007-12-231-0/+16
| | | | llGetVel(), llGround()
* Thank you, Alondria for:Charles Krinke2007-12-221-2/+2
| | | | | Reverts the LSL Texture/Color functions back to the original code, allowing them to function again
* Added patch from Johan. First attempt to solve the LibSL.Packet GC problem. ↵Jeff Ames2007-12-201-11/+11
| | | | Works with LibSL rev>1532
* Again, thanks to Alondria for:Charles Krinke2007-12-171-0/+7
| | | | | | | | | | Added: LinkNum to SceneObjectPart Added: Bunch-o settings of LinkNum in SceneObjectGroup Added: llGetNumberOfPrims() Added: llGetLinkNumber() Added: llGetLinkKey() Added: llGetLinkName() (and change to string return type)
* * Added Active(physical) object count to the SimStatsReporterTeravus Ovares2007-12-141-0/+5
|
* * Debugging Shapelbsa712007-12-131-0/+3
| | | | | * Adding namesetting to Create
* * The 'Create' functions should be called to factor up a new, otherwise ↵lbsa712007-12-111-0/+12
| | | | | | | empty, but with the Id and 1-to-1 child fields instantiated and randomized. * Added two shape constants that
* Great Salutations to Alondria for providing implementations for:Charles Krinke2007-12-101-0/+27
| | | | | | | | | llFrand, llSetColor, llGetColor, llSetTexture, llGetTexture, llSetAlpha, llGetAlpha, llRotateTexture, llScaleTexture, llOffsetTexture, llGetTextureOffset, llGetTextureScale, llGetTextureRot. With these changes the "kan-ed" script #2 should be working.
* refactored ChatModule a bit.Jeff Ames2007-12-101-2/+1
| | | | | misc cleanup and code convention fixes.
* Updates to LibSL revision 1498. Thanks Johan!Adam Johnson2007-12-071-1/+1
|
* * Added hacked support for 'anyone can move' and 'anyone can copy'.Teravus Ovares2007-12-071-3/+4
| | | | | | | * BACKUP YOUR PRIM BEFORE UPDATING TO THIS and then double check the prim permissions after applying it with a different avatar (then the master avatar or the prim owner avatar). * Also, beware that any objects created under the old permission scheme may react oddly. They may automatically allow anyone to modify them, (which you'll then have to un-set). * It's hacked support because when 'anyone can move is set', any avatar can modify the prim (texture, shape, scale, etc)
* * Refactored Permissions into ScenePresence as requested by MWTeravus Ovares2007-12-051-98/+172
| | | | | | | * Un-hackerized generating the client_flags * Now handling the ObjectPermissions Update packet * Warning: Backup your prim before updating. If you fail to do so and something goes wrong then, All Yr prim are belong to us!
* fixed a few compiler warnings under mono (committed from a train, with ↵Jeff Ames2007-12-051-8/+5
| | | | adjohn and afrisby, enroute to a wine cave with the worst wine in the world)
* *disabled some confusing code regarding permissionsTeravus Ovares2007-12-041-2/+3
|
* keeping opensim safe for children -- made some namespace references less ↵Jeff Ames2007-12-041-4/+2
| | | | explicit