Commit Graph

2633 Commits (32438ab1b9a5c270e0a4a2d708f8c7730dc7e617)

Author SHA1 Message Date
Teravus Ovares 32438ab1b9 * This update rolls back the packetpool and LibSL changes. Please retest and then patch these changes back in. Currently it's not quite ready for 0.5. The down side to this action, is that we loose some performance to the garbage collector for now. Given that the target date for 0.5 is *Two days* from now, I'm taking the initiative to work towards a real stable version.
* This update also fixes scripting and some weird physics reactions
2007-12-30 06:18:17 +00:00
Teravus Ovares 14368d9a73 * Applied Melanie's same instance IM fix. This will make IMs work within the same OpenSim Instance. 2007-12-30 04:12:08 +00:00
lbsa71 3e8df2b868 * Extracted out old RezObject method placing at absolute pos without the raytracing
* Ignored some bins
2007-12-29 19:53:07 +00:00
Justin Clarke Casey 40e89678b7 Make inventory items nominate explicit inventory folders rather than hardcoding 2007-12-29 19:41:50 +00:00
Justin Clarke Casey 1b1649791f Allow OpenSim operators to specify their own asset sets without needing to change the default OpenSim set. Equivalent changes to allow operators to also specify their own
standard inventory library directories and items to follow.
2007-12-29 19:01:55 +00:00
Jeff Ames 1efc7d8279 Set svn:eol-style. 2007-12-29 11:32:02 +00:00
Teravus Ovares 376d80cba2 * Patch from Melanie that fixes an inventory folder duplication. Thanks Melanie 2007-12-28 23:34:49 +00:00
Teravus Ovares 0631151e08 * Patch from Melanie provides Util.CleanString and uses it on the prim name and description. Thanks Melanie. 2007-12-28 23:19:03 +00:00
Justin Clarke Casey 04f284e175 Add System.Xml back into AssetServer and into AssetLoader for the first time. Prebuild generation ran fine on my Linux box without these, so I presume this is a Windows
related problem if these are missing
2007-12-28 23:09:20 +00:00
Justin Clarke Casey 505067658a Migrate opensim default assets up another directory in preparation for extraction of hardcoded asset locations into xml 2007-12-28 22:49:32 +00:00
Justin Clarke Casey 27f7f76d04 Move OpenSimAssetSet assets file up into assets pending further changes 2007-12-28 22:32:52 +00:00
Justin Clarke Casey 592c39a7b0 Remove now dead code 2007-12-28 22:21:53 +00:00
Justin Clarke Casey 4ae10034bd Factor out common asset loading from AssetServerBase and Grid/AssetServer/Main 2007-12-28 22:13:43 +00:00
Teravus Ovares 7685f9c90f * applied melanie's matnis patch #255. Thanks Melanie. 2007-12-28 20:48:27 +00:00
Justin Clarke Casey 7cf9a8d4f9 Move inventory contents configuration files to bin/inventory folder 2007-12-28 18:01:20 +00:00
Teravus Ovares f64d94f8ca * Rezzing items from Inventory on top of other prim rezzes them 0.5 meters above the 'hit' prim instead of buried in the ground somewhere.
* Various Refactorings
2007-12-28 14:24:14 +00:00
lbsa71 5b720b4b39 * Made a copy of parts before updating to avoid dictionary updated exceptions on big updates
* The part now uses the byte[] TextureEntry instead of the object
2007-12-28 13:11:49 +00:00
lbsa71 6a02900c8a * redid the AddNewPrim refactoring as that got lost in r2855 2007-12-28 09:17:01 +00:00
Jeff Ames 1a484fcabf Set svn:eol-style. 2007-12-28 08:56:44 +00:00
Adam Johnson 79496381fc Patch from Johan: LibSL updated to the latest revision (1568) and all packets are now
recycled to improve performance and memory usage.
2007-12-28 08:51:39 +00:00
lbsa71 8cd72beb86 * Moved PrimitiveBaseShape subclasses into factory methods - the subclassing scheme won't hold for serialization
* Extracted out the 'old' AddNewPrimitive that places an object at an exact pos, without the raytracing
2007-12-28 08:34:38 +00:00
Teravus Ovares 5bd5770ed2 * Patch from Melanie. Thanks Melanie!
* This patch addresses a regression where 5 default textures, including the default "new prim" texture, would not be shown unless in viewer cache.
* Further, it supplies a new plywood texture as the base texture, which is purpose-made from locally photo-sourced material (means i took a picture and made it into a tile), which is closer in appearance and color to the Linden one.
* It changes the default new prim texture UUID to match the UUID generated by the viewer when "default" is clicked, which is a texture UUID hardcoded in some scripts as well, so it would cause compatibility issues if not addressed.
* The patch fixes a number of UUID duplications (same UUID for asset and inventory items) and capitalization issues in the XML files.
* It also includes new versions of 4 other textures, which were no longer loadable in grid mode.
2007-12-28 05:36:28 +00:00
Teravus Ovares 67bbed8202 * Added ability to create new prim on existing prim (rezzing prim from 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.
2007-12-28 05:25:21 +00:00
Charles Krinke 9b36c6c3ad Add missing "System." to System.NullReferenceException
so Linux build works again.
2007-12-28 03:45:19 +00:00
Teravus Ovares 776e83941a * Fixed Physical prim, various issues, viewer freezes, sim crashes, ODE errors, etc. 2007-12-27 23:19:00 +00:00
Charles Krinke 3cf3b426b6 Thank you again, Alondria for:
Adding some more support to Vectors and Rotations  
Description  * String->Vector/Rotation added
* Vector * and / a double added.
2007-12-27 23:09:31 +00:00
lbsa71 efd90b56b7 * Optimized usings
* shortened references
* Removed redundant 'this'
* Normalized EOF
2007-12-27 21:41:48 +00:00
lbsa71 d508d77122 * removed always true if 2007-12-27 21:06:44 +00:00
Teravus Ovares d82ed9a8c5 * Fixed MonoSQLite Update Table routine
* 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.
2007-12-27 18:49:16 +00:00
Justin Clarke Casey 997a2907e2 Move hardcoded texture library inventory items out into OpenSimLibrary/xml. However, even before these change the five textures moved
are not displaying (which is why default cubes are coming up as grey plywood unless you happen to have that texture cached).  These
were working before so they must have broken in the last month.  Might be something to do with the fact that these identify (using file
under linux) as jpeg2000 files, while all the other working textures identify simply as data.
2007-12-27 15:17:22 +00:00
lbsa71 87e2a694e2 * AssetServerBase: _ProcessRequest is now called GetAsset
* 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.
2007-12-27 14:00:30 +00:00
Teravus Ovares dfbc6e101e * Fixed the matching logic error on the LLQuat to axiom quat :P 2007-12-27 06:09:28 +00:00
Teravus Ovares da66f3eac8 * fixed a logic error in the receiving end of the prim load for the sit target 2007-12-27 05:52:24 +00:00
Adam Frisby 2cb222806b * Fixed compile issue caused by half-refactoring (sorrry!) 2007-12-27 05:48:27 +00:00
Teravus Ovares cbf5ff4a93 * Added Sit Target persistence over sim restarts for mySQL and MonoSQLite.
* 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.
2007-12-27 05:37:48 +00:00
Adam Frisby af406bf6fa * Added osRegionRestart(float secs) to LSL Commands
* Added osRegionNotice(string msg) to LSL Commands
* Added PermissionManager checks for osTerrainSetHeight, osRegionRestart.
2007-12-27 05:26:52 +00:00
Adam Frisby 8b6dd623bd * Added osTerrainSetHeight(int x, int y, double val) to LSL commands
* Added osTerrainGetHeight(int x, int y) to LSL commands
2007-12-27 05:20:03 +00:00
Teravus Ovares 87d55443d3 * Added slightly better object sit handling
* Added sit handling for sit targets
* Implemented llSitTarget()
* Implemented llAvatarOnSitTarget()
* Sit targets do not persist sim restart.
2007-12-27 03:25:00 +00:00
Justin Clarke Casey 54d9fbc0fe Prim inventory persistence phase 1: Creation of preliminary table in sqlite.
No user functionality yet.  This code is not turned on, so there is no possibility 
of disruption to existing databases.
2007-12-27 00:53:13 +00:00
Teravus Ovares 9f2fb5ba70 * Play the 'landing' animation when landing and minimize the collision protection offset so the animations match up. 2007-12-26 22:26:45 +00:00
Teravus Ovares c7fc0dbeb7 * Patch from Charlie Omega for standard secondlife inventory folders: see mantis:0000246
* Deletes the solution file from OpenSim.Gui
2007-12-26 21:06:51 +00:00
Teravus Ovares 2fc11762ae * Patch from Charlie0 to the OpenSim/Tools/OpenSim.GUI application to include the .sln file. 2007-12-26 20:57:33 +00:00
Justin Clarke Casey 01de4bbfbd If a prim is persisted in the region, scripts dragged into its inventory after a server restart would not appear (though the script they contain would still be invoked). This
change fixes that problem.
2007-12-26 20:21:06 +00:00
Teravus Ovares f852b64555 * This update includes a wide range of changes to the ODEPlugin for avatar movement, including:
** - avatar can navigate stairs better now
** - avatar can land without shooting into the air
** - excessive collisions with the ground are tempered somewhat and should only shoot the avatar up 20m instead of 200m
** - Try Catched a TextureDownloadModule.cs array out of bounds error with a report that causes it not to crash the sim, however it reports a few important items for tracking it down.
2007-12-26 17:16:47 +00:00
Teravus Ovares b7170215ba * Patch by Melanie to fix CreateSelected 2007-12-26 04:36:28 +00:00
Teravus Ovares 0e460a81cc * Coded around another Null packet sent by the packet pool
* Condensed 8 calls to unmanaged code in ODE down to 1
2007-12-26 04:23:36 +00:00
Teravus Ovares 2259bc8ebf * Added a -val heightfield value limiter so giant pits of death don't cause avatar to go into an endless plunge to the middle of the earth. 2007-12-26 01:53:08 +00:00
Teravus Ovares 98f4a568ad * Removed a debug message I left in there
* Added a few more comments.
2007-12-26 01:06:18 +00:00
Teravus Ovares e008c3e4a9 * Added the ability to land automatically on prim by pressing the page down button when over them and colliding
* Reverted the avatar portion of the inter-penetration physics scene explosion management, it needs more work.
2007-12-26 00:57:37 +00:00
Justin Clarke Casey e9efd5bee2 Small non-functional inventory changes 2007-12-25 18:11:56 +00:00