aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/PrimitiveBaseShape.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* * Wrote a method to get the OpenJpeg data of a sculpt texture asset and save ↵Teravus Ovares2008-05-091-1/+2
| | | | | | | it to the prim shape. * Added some stuff around sculpted prim meshes.. but it's just there so the project compiles now.
* * remove 2 warnings.Teravus Ovares2008-05-081-1/+0
|
* * Committing an extra bit of permissions for attaching to ensure that the ↵Teravus Ovares2008-05-081-4/+1
| | | | perms are in line with project goals.
* * Fixes Prim ExtraParams Teravus Ovares2008-05-081-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.
* * Spring cleaning.Adam Frisby2008-04-291-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.
* Formatting cleanup.Jeff Ames2008-03-181-28/+27
|
* Replaced some magic PCode numbers with enum values.Jeff Ames2008-03-171-1/+5
|
* Minor cleanup.Jeff Ames2008-02-201-1/+1
|
* * removed unused PrimScale on PrimitiveBaseShape (use Scale instead)lbsa712008-01-101-16/+11
| | | | | * ignored bin
* * Undid XmlIgnore thingy as it did cause breakagelbsa712008-01-101-13/+12
|
* * Sorted members for great justicelbsa712008-01-101-55/+53
|
* * ProfileCurve is now XmlIgnored, and instead constructed from ProfileShape ↵lbsa712008-01-101-1/+3
| | | | and ProfileHollow
* * Added helpers to convert from LSL PrimitiveParams values to ↵lbsa712008-01-091-0/+12
| | | | PrimitiveBaseShape values
* * Moved PrimitiveBaseShape subclasses into factory methods - the subclassing ↵lbsa712007-12-281-58/+48
| | | | | | | scheme won't hold for serialization * Extracted out the 'old' AddNewPrimitive that places an object at an exact pos, without the raytracing
* * Patch from Melanie. Thanks Melanie!Teravus Ovares2007-12-281-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.
* * Optimized usingslbsa712007-12-271-22/+10
| | | | | | | * shortened references * Removed redundant 'this' * Normalized EOF
* * AssetServerBase: _ProcessRequest is now called GetAssetlbsa712007-12-271-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.
* * Debugging Shapelbsa712007-12-131-3/+3
| | | | | * Adding namesetting to Create
* A few minor changes/additions/fixes.MW2007-12-111-0/+1
|
* * The 'Create' functions should be called to factor up a new, otherwise ↵lbsa712007-12-111-0/+6
| | | | | | | empty, but with the Id and 1-to-1 child fields instantiated and randomized. * Added two shape constants that
* * miniscule changes just to keep myself in synchlbsa712007-12-071-1/+1
|
* * Moved OpenSim/Framework/General to OpenSim/Framework for great justice.lbsa712007-10-311-0/+214