aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/PrimitiveBaseShape.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into careminster-presence-refactorMelanie2010-08-061-2/+113
|\
| * Simplify serialized version string. Change element capitalization for ↵Justin Clark-Casey (justincc)2010-08-031-5/+10
| | | | | | | | | | | | | | consistency THIS CHANGE ALTERS THE SERIALIZATION FORMAT, HOPEFULLY FOR THE LAST TIME. If you're testing, please start with a new database. This commit also improves locking for manipulation of media entries.
| * get rid of PrimitiveBaseShape.MediaRaw staging postJustin Clark-Casey (justincc)2010-08-031-6/+0
| | | | | | | | | | using an OSD serialization rather than auto forces serialization code to be placed in OpenSim.Framework this makes the media texture raw data staging post in PrimitiveBaseShape redundant, now we just directly call the code in PrimitiveBaseShape.MediaList itself
| * remove duplicated serialization codeJustin Clark-Casey (justincc)2010-08-031-12/+26
| |
| * serialize media textures to inventory with a largely osd representation ↵Justin Clark-Casey (justincc)2010-08-031-3/+87
| | | | | | | | | | | | | | rather than .net auto-serialization THIS WILL BREAK ANY EXISTING MEDIA TEXTURE SERIALIZATIONS. If you're testing this, please start with new databases. This makes media textures serialized in the same way, which is probably better in the long term.
| * relocate serialization code from SQLiteRegionData to MoapModule using load ↵Justin Clark-Casey (justincc)2010-07-261-0/+6
| | | | | | | | | | | | | | | | | | | | and save events. This is better modularity. It also allows MoapModule to be replaced with some other media module that may behave completely differently in the future. Remaining non-modularity: PrimitiveBaseShape needs explicit Media and MediaRaw fields. MediaRaw is required in order to shuttle the pre-serialization data back and forth from the database layer. The database also needs to know about MediaRaw though not about Media. IMO, it would be extremely nice to remove these hard codings but this is a bridge too far at the present time.
| * implement llSetPrimMediaParams()Justin Clark-Casey (justincc)2010-07-261-0/+1
| | | | | | | | Untested
| * start storing incoming MediaEntry on a new Media field on PrimitiveBaseShapeJustin Clark-Casey (justincc)2010-07-261-0/+7
| | | | | | | | | | This allows the media texture to persist in memory - logging in and out will redisplay it (after a click) though navigation will be lost Next need to implement media uri on prim and delegate more incoming llsd parsing to libomv
* | Make newly created prims be named "Object" and make newly created scriptsMelanie Thielker2010-06-291-1/+1
|/ | | | have a default touch handler. Compatibility patch
* * Thanks cmickeyb, for a patch that corrects an invalid construction of ↵John Hurliman2010-04-271-1/+1
| | | | Primitive.TextureEntry (a "blank" texture should be initialized with UUID.Zero, not null)
* * Added 32bitLauncher for Robust. Still need to test it on a 64 bit machine.Diva Canto2010-04-141-3/+3
| | | | * PrimitiveBaseShape wants to be be committed too -- EOF.
* minor - add some documentation to PrimitiveBaseShape constructor with ↵dahlia2010-04-091-0/+4
| | | | OpenMetaverse.Primitive parameter
* Fixed several unhandled exceptions and performance issues with ↵John Hurliman2010-03-161-2/+6
| | | | PrimitiveBaseShape.Textures. This really should be moved from a property to a method if it is going to decode a byte[] into a TextureEntry each time
* More work on GrantRights. Still not right.Diva Canto2010-03-011-34/+34
|
* minor formatting tweak - try to trigger a build on pandadahlia2010-02-221-1/+0
|
* add a constructor for PrimitiveBaseShape from a OpenMetaverse Primitivedahlia2010-02-221-0/+35
|
* remove early return from PrimitiveBaseShape.ToOmvPrimitive() when prim is a ↵dahlia2009-11-201-2/+0
| | | | sculpty
* Correct formatting of Primitive.Textures in ↵dahlia2009-11-171-1/+1
| | | | PrimitiveBaseShape.ToOmvPrimitive method
* Some corrections to PrimitiveBaseShape.ToOmvPrimitive()dahlia2009-11-131-6/+26
|
* add a ToOmvPrimitive() method to PrimitiveBaseShapedahlia2009-11-111-0/+81
|
* Changing Scene.ForEachClient to use the synchronous for loop instead of ↵John Hurliman2009-10-251-41/+25
| | | | | | | | | | Parallel. This is quite possibly the source of some deadlocking, and at the very least the synchronous version gives better stack traces * Lock the LLUDPClient RTO math * Add a helper function for backing off the RTO, and follow the optional advice in RFC 2988 to clear existing SRTT and RTTVAR values during a backoff * Removing the unused PrimitiveBaseShape.SculptImage parameter * Improved performance of SceneObjectPart instantiation * ZeroMesher now drops SculptData bytes like Meshmerizer, to allow the texture data to be GCed * Improved typecasting speed in MySQLLegacyRegionData.BuildShape() * Improved the instantiation of PrimitiveBaseShape
* add some more intuitive overloads for PrimitiveBaseShape SetPathRange and ↵Dahlia Trimble2009-07-011-0/+12
| | | | SetProfileRange
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-011-1/+1
| | | | LICENSE.txt.
* plumbing for future sculpt map cachingDahlia Trimble2009-05-291-0/+12
|
* * This updates LibOMV to the current release 0.6.0 on March 19 2009Teravus Ovares2009-03-271-1/+1
| | | | | | * Important: HttpServer.dll was changed to HttpServer_OpenSim.dll so that the HttpServer references do not conflict if you've copied the OpenMetaverse.Http.dll and requirements to the OpenSimulator bin folder. This means that if you reference HttpServer.dll in any projects, you will need to change the reference to HttpServer_OpenSim.dll. It still uses the Same HttpServer namespace though.
* Added a primitive shape function for spheresJohan Berntsson2009-01-141-0/+12
|
* Reapply r7369 r7367 r7366 r7370 r7381. This brings it back up to the newMelanie Thielker2008-11-191-7/+7
| | | | | | libOMV.
* Reverting the texture sending patch and the new libOMV. This makes thisMelanie Thielker2008-11-191-7/+7
| | | | | | | | | release a direct descendant of the stable 7364, with all the features and none of the issues. This omits the following patch chain: r7383 r7382 r7381 r7377 r7375 r7373 r7372 r7370 r7369 r7368 r7367 r7366
* * Update libOMV to r2359. This is necessary for the progressive texture patchJustin Clarke Casey2008-11-171-7/+7
| | | | | | | | * Update libopenjpeg as well for this patch. * Appears to be okay on a very short sniff test * Source code will be placed in opensim-libs shortly
* * Added IClientIM to IClientCore interfacesAdam Frisby2008-11-081-1/+1
| | | | | | * Changed SendInstantMessage, dropped fromAgentSession and imSessionID as security precaution, see http://opensimulator.org/wiki/OpenSim_0.6_IClientAPI#Porting_Guide for details on porting. * Removed unused usings from Framework.*
* * Enables PrimitiveBaseShape to be used inside a libOpenMV project by adding ↵Adam Frisby2008-10-311-1/+11
| | | | some alternate codepaths that avoid triggering OpenSim specific code. Probably not useful for most people, but might be for those working on interop projects.
* * This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares2008-09-061-24/+24
| | | | | | | * This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
* Formatting cleanup.Jeff Ames2008-08-181-14/+14
|
* * Remove dumb bug I put in which meant that an archive save would never ↵Justin Clarke Casey2008-07-251-6/+5
| | | | complete if there were any missing assets
* Revert "git merge"Sean Dague2008-07-171-1/+10
| | | | | | This reverts commit 80e1c3742a3ba7eb9aa1686a242b36f64331095a.
* git mergeSean Dague2008-07-171-10/+1
|
* more safety checksSean Dague2008-07-171-1/+7
|
* add a null check for safetySean Dague2008-07-171-0/+3
|
* change fields to private so everyone will use propertiesSean Dague2008-07-161-44/+44
|
* Revert "refactoring of PrimitiveBaseShape to properties"Sean Dague2008-07-161-142/+539
| | | | | | This reverts commit 60e13a9997da89d224fbe8a97ab42bfc6114a45f.
* refactoring of PrimitiveBaseShape to propertiesSean Dague2008-07-161-539/+142
|
* further property refactoring of PrimitiveBaseShapeSean Dague2008-07-161-83/+254
|
* refactoring primitive base shape to use propertiesSean Dague2008-07-161-76/+302
|
* dr scofield's warning safari:Dr Scofield2008-06-271-2/+2
| | | | | | | | | | * commented out [Obsolete(....)] attributes where no replacement feature was available: if we want to attribute code that we think needs to be reworked, we should define a new attribute and use that instead (together with a little tool to retrieve all the attributed code then) * commenting out unused variables
* Mantis#1584. Thank you kindly, Lulurun for a patch that:Charles Krinke2008-06-251-5/+8
| | | | | | | The (de)serialization of extraparams is wrong. prims with scuplt texture won't be seen as it expected. This patch fixes the problem .
* Mantis#1572. Thank you kindly, Lulurun for a patch that addresses:Charles Krinke2008-06-191-2/+6
| | | | | | In function "ReadInExtraParamsBytes", parameter "data" is used without a boundary check. if data.Length==0, an "out of index" exception will be thrown.
* * Fix a bug in the archiver where I didn't realize a shape still needs its ↵Justin Clarke Casey2008-06-161-0/+5
| | | | default texture as well as its face textures
* Update svn properties. Formatting cleanup.Jeff Ames2008-05-251-20/+20
|
* * Provide relief for mantis 1263, 1202, 679Justin Clarke Casey2008-05-211-23/+49
| | | | | | | | | | | | * If a caller attempts to set PrimitiveBaseShape.ProfileCurve with a HollowShape or ProfileShape component which is not a valid enum, a warning is spat out and a default shape subtituted * This does not solve any underlying problem if we're missing some enum values (though it's not obvious what these are), but it should allow save-xml2/load-xml2 to be used without causing invalid enum value related exceptions. The checks will also guard against badly behaved clients. * This change alters the order of shape values in the xml, since it appears properties are serialized after fields (at least this is the case in mono). .net native deserialization can cope with this it appears, though people manipulating xml manually may need to adapt (if there are any). * This may be a good argument against relying on .net [de]serialization for our xml format.
* * This fixes the Sculpty seam. Unfortunately not all sculpties will ↵Teravus Ovares2008-05-181-2/+6
| | | | survive. A tiny fraction of them will turn into a torus.