aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/PrimitiveBaseShape.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
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.
2007-08-06* SimpleApp works again:lbsa711-21/+16
* NetworkServersInfo settable without config file * DefaultHomeLoc throws if getted before setted * Removed nonsensical sandbox distinction * Refactored default config file creation * Some more small refactorings on shapes
2007-08-03* a very small first step with shape wrapperslbsa711-37/+26
2007-07-18Sculpted Prims should now work. MW1-1/+5
2007-07-18More testing some ideas, to find best method for SceneObject Primitive classes. MW1-1/+1
2007-07-18* Added a FileSystemObject to SimpleApplbsa711-28/+46
* Added Some ShapeTypes (shapes doesn't work though!) * Fixed some \0 issues
2007-07-16changed to native line ending encodingSean Dague1-109/+109
2007-07-14Added AddPreCompiledScript method to ScriptManager.MW1-0/+2
Done some work on lbsa71's simpleApp(hope he doesn't mind): now have the avatar showing up and the terrain and his pulsating box (well except its not a box, as there seems to be something wrong with our PrimitiveBaseShape..DefaultBox() settings). Also noticed a few other problems that I had to work around, so these need looking into.
2007-07-13Changed simpleApp to use basic physics.MW1-0/+5
Done some work of fixing primitive/SceneObject copying. Set DefaultHome region to 1000,1000.
2007-07-13inlined packet deserializationlbsa711-29/+0
2007-07-13* ObjectAddPacket now confined to ClientView,´using PrimitiveBaseShape ↵lbsa711-1/+30
instead - w00t!
2007-07-03Today's work on Building support/tools. Think I am slowly getting there. MW1-0/+1
2007-07-03* Optimized usings (the 'LL ate my scripts' commit)lbsa711-5/+0
* added some licensing info
2007-07-01Just committing this because I want my commit to be on the front page of ↵MW1-2/+3
www.opensimulator.org rather than lbsa71's being there.