aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/PrimitiveBaseShape.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
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.
2007-10-15* Applied patch #418 : copyright-r2012.patch - some errors, but got most thrulbsa711-0/+28
2007-08-26Another attempt to fix the image sending bug (next week, I intend to rewrite ↵MW1-0/+2
the assetcache and asset server). Attempt to fix bug # 326. (crashing when using save-xml and hollow prims) Attempt to fix bug # 328 (limit of 50 items in a folder)
2007-08-19Sqlite datastore should now save the textures and extraparams data (used by ↵MW1-16/+17
sculpties) correctly. [Really need to add a ExtraParams field to the sqlite database though, but for now I have combined their data so that we don't lose backward compatibility, know a couple of people have been using the datastore already]. Now have a rough day/night cycle (the movement of the sun needs to be made smoother but for now it is better than we had I think). Added dalien's patch (issue 294) for saving and loading prims to a xml file (think he will be modifying these to be import/export functions and maybe writing a xml datastore for backups). Some preliminary work on task inventory (ie object's/prim's inventory). Added place holder data for AvatarProperties (ie a avatar's profile). Should we store this sort of data on the user server or have another server for it (a normal webserver should work). Added a few more method to IClientAPI. Sure there is something I'm forgeting.
2007-08-15* Added more spinning parts to ComplexObject.lbsa711-9/+24
* We now have CylinderShape * This commit dedicated to the birth of techno house.
2007-08-15* Exploring Group/Part from an app perspective.lbsa711-5/+41
2007-08-08* Got SimpleApp working againlbsa711-41/+49
* Minor shape koncept experiments
2007-08-06* yet another mini-shape-commitlbsa711-0/+21
2007-08-06* Now we have boxes. Yay!lbsa711-5/+3
* Removed unused SendPrimitiveToClient that didn't have rot.