aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/PrimitiveBaseShape.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-01-14Added a primitive shape function for spheresJohan Berntsson1-0/+12
2008-11-19Reapply r7369 r7367 r7366 r7370 r7381. This brings it back up to the newMelanie Thielker1-7/+7
libOMV.
2008-11-19Reverting the texture sending patch and the new libOMV. This makes thisMelanie Thielker1-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
2008-11-17* Update libOMV to r2359. This is necessary for the progressive texture patchJustin Clarke Casey1-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
2008-11-08* Added IClientIM to IClientCore interfacesAdam Frisby1-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.*
2008-10-31* Enables PrimitiveBaseShape to be used inside a libOpenMV project by adding ↵Adam Frisby1-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.
2008-09-06* This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares1-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.
2008-08-18Formatting cleanup.Jeff Ames1-14/+14
2008-07-25* Remove dumb bug I put in which meant that an archive save would never ↵Justin Clarke Casey1-6/+5
complete if there were any missing assets
2008-07-17Revert "git merge"Sean Dague1-1/+10
This reverts commit 80e1c3742a3ba7eb9aa1686a242b36f64331095a.
2008-07-17git mergeSean Dague1-10/+1
2008-07-17more safety checksSean Dague1-1/+7
2008-07-17add a null check for safetySean Dague1-0/+3
2008-07-16change fields to private so everyone will use propertiesSean Dague1-44/+44
2008-07-16Revert "refactoring of PrimitiveBaseShape to properties"Sean Dague1-142/+539
This reverts commit 60e13a9997da89d224fbe8a97ab42bfc6114a45f.
2008-07-16refactoring of PrimitiveBaseShape to propertiesSean Dague1-539/+142
2008-07-16further property refactoring of PrimitiveBaseShapeSean Dague1-83/+254
2008-07-16refactoring primitive base shape to use propertiesSean Dague1-76/+302
2008-06-27dr scofield's warning safari:Dr Scofield1-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
2008-06-25Mantis#1584. Thank you kindly, Lulurun for a patch that:Charles Krinke1-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 .
2008-06-19Mantis#1572. Thank you kindly, Lulurun for a patch that addresses:Charles Krinke1-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.
2008-06-16* Fix a bug in the archiver where I didn't realize a shape still needs its ↵Justin Clarke Casey1-0/+5
default texture as well as its face textures
2008-05-25Update svn properties. Formatting cleanup.Jeff Ames1-20/+20
2008-05-21* Provide relief for mantis 1263, 1202, 679Justin Clarke Casey1-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.
2008-05-18* This fixes the Sculpty seam. Unfortunately not all sculpties will ↵Teravus Ovares1-2/+6
survive. A tiny fraction of them will turn into a torus.
2008-05-09* Wrote a method to get the OpenJpeg data of a sculpt texture asset and save ↵Teravus Ovares1-1/+2
it to the prim shape. * Added some stuff around sculpted prim meshes.. but it's just there so the project compiles now.
2008-05-08* remove 2 warnings.Teravus Ovares1-1/+0
2008-05-08* Committing an extra bit of permissions for attaching to ensure that the ↵Teravus Ovares1-4/+1
perms are in line with project goals.
2008-05-08* Fixes Prim ExtraParams Teravus Ovares1-1/+357
* Fixes Sculpty handling * Fixes Light handling * Fixes Flexi handling * Fixes Sculpty + Flexi handling * Fixes handling of Flexi type * Fixes Changing prim type after changing to sculpty corrupting prim. * Ugly code.
2008-04-29* Spring cleaning.Adam Frisby1-2/+2
* Added new generic "Location" class to handle 2D integer locations. Going to use it to replace all RegionHandle and X,Y coordinate references throughout the entire project. You have been warned.
2008-03-18Formatting cleanup.Jeff Ames1-28/+27
2008-03-17Replaced some magic PCode numbers with enum values.Jeff Ames1-1/+5
2008-02-20Minor cleanup.Jeff Ames1-1/+1
2008-01-10* removed unused PrimScale on PrimitiveBaseShape (use Scale instead)lbsa711-16/+11
* ignored bin
2008-01-10* Undid XmlIgnore thingy as it did cause breakagelbsa711-13/+12
2008-01-10* Sorted members for great justicelbsa711-55/+53
2008-01-10* ProfileCurve is now XmlIgnored, and instead constructed from ProfileShape ↵lbsa711-1/+3
and ProfileHollow
2008-01-09* Added helpers to convert from LSL PrimitiveParams values to ↵lbsa711-0/+12
PrimitiveBaseShape values
2007-12-28* Moved PrimitiveBaseShape subclasses into factory methods - the subclassing ↵lbsa711-58/+48
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* Patch from Melanie. Thanks Melanie!Teravus Ovares1-2/+2
* 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-27* Optimized usingslbsa711-22/+10
* shortened references * Removed redundant 'this' * Normalized EOF
2007-12-27* AssetServerBase: _ProcessRequest is now called GetAssetlbsa711-5/+37
* 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-13* Debugging Shapelbsa711-3/+3
* Adding namesetting to Create
2007-12-11A few minor changes/additions/fixes.MW1-0/+1
2007-12-11* The 'Create' functions should be called to factor up a new, otherwise ↵lbsa711-0/+6
empty, but with the Id and 1-to-1 child fields instantiated and randomized. * Added two shape constants that
2007-12-07* miniscule changes just to keep myself in synchlbsa711-1/+1
2007-10-31* Moved OpenSim/Framework/General to OpenSim/Framework for great justice.lbsa711-0/+0
2007-10-31set svn:eol-styleJeff Ames1-213/+213
2007-10-30* Optimized usingslbsa711-26/+16
* Shortened type references * Removed redundant 'this' qualifier
2007-10-29as per the "Filesystem cleanup for OpenSim repository" mailing list thread. ↵MW1-224/+224
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.