aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/PrimitiveBaseShape.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-01-17remove those xml things no longer needed on .net >4.5.2UbitUmarov1-2/+0
2018-01-09give up on a property that old monos do compile, but then smore ok execUbitUmarov1-1/+0
2018-01-08fall back to a obsolete property since several monos in use (include our ↵UbitUmarov1-1/+1
own) do not suporte the proper .net4.0 one
2018-01-05 a few more xml thingsUbitUmarov1-0/+3
2017-10-30mantis 8258: change Mesh basic shape pathScaleY in case of TorusUbitUmarov1-0/+2
2017-09-16bug fix: Of course i had to pick a wrong number for profileBeginUbitUmarov1-1/+1
2017-09-16bug fix. Increase the values of profileHollow and profileBegin used to match ↵UbitUmarov1-4/+4
pbs number of faces and the Mesh number of faces. The small values i used before seem to be randomly lost.
2017-06-08keep the reverted code, that does work. Our code likes to have pbs.Media == ↵UbitUmarov1-15/+28
null when there is no MOAD defined, so handle possible odd oars that may have llsd <array /> on that case
2017-04-25move mesh pbs creation code out of mesh upload code into to ↵UbitUmarov1-0/+64
PrimitiveBaseShape.cs
2017-01-05Massive tab and trailing space cleanupMelanie Thielker1-2/+2
2013-09-22Preserve attachment point & position when attachment is rezzed in worldAleric Inglewood1-0/+11
Patch taken from http://opensimulator.org/mantis/view.php?id=4905 originally by Greg C. Fixed to apply to r/23314 commit ba9daf849e7c8db48e7c03e7cdedb77776b2052f (cherry picked from commit 4ff9fbca441110cc2b93edc7286e0e9339e61cbe)
2013-02-09Fixed ReadSculptData(): the check whether there are enough bytes to read was ↵Oren Hurvitz1-5/+6
incorrect
2013-01-25Stopped storing dynamic attributes in the PrimShapeOren Hurvitz1-7/+0
2013-01-25Encapsulate an OSDMap in DAMap (was DynAttrsOSDMap) rather than inheriting ↵Justin Clark-Casey (justincc)1-3/+3
from it This is the easier way to give us control over locking, rather than asking that OSDMap IDictionary methods be virtual
2013-01-25Implement Dynamic Attributes for SOP and PBS. Implement storage in SQLiteJustin Clark-Casey (justincc)1-0/+7
2012-12-05Remove very probably unused PrimitiveBaseShape(bool) constructor to reduce ↵Justin Clark-Casey (justincc)1-12/+6
code complexity
2012-12-05Don't pointlessly set ExtraParams = byte[1] in PrimitiveBaseShape since this ↵Justin Clark-Casey (justincc)1-3/+0
is ignored by the ExtraParams properly anyway
2012-05-07add a null check for Primitive.Sculpt in PrimitiveBaseShape constructor for ↵dahlia1-4/+8
OpenMetaverse.Primitive object
2012-03-21add convex state to mesh key, so a change is detected.UbitUmarov1-0/+8
2011-08-28Move GetMeshKey from buried inside Meshmerizer to a public method on ↵Robert Adams1-0/+61
PrimitiveBaseShape Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2011-07-09Rename SetSculptData() to SetSculptProperties(), since this is what it does ↵Justin Clark-Casey (justincc)1-1/+1
(setting SculptData is done through the property)
2011-07-09minor: code tidy and inserted log lines for future use.Justin Clark-Casey (justincc)1-15/+31
Unable to get to the bottom of why resizing a mesh fails to properly reset the physics proxy, when toggling phantom does After a mesh is generated, the existing sculptdata is set to zero in PrimitiveBaseShape to save memory When phantom is toggled, the sculptdata is regenerated before remeshing. But on resize, the sculptdata is not regenerated. So clearly, resetting sculptdata is possible, but haven't quite been able to pin down how this is being done when phantom is toggled.
2011-03-05Change MoapModule.ClearMediaEntry to set TextureEntryFace.MediaFlags back to ↵Justin Clark-Casey (justincc)1-1/+1
false Implement test for ClearMediaEntry()
2011-01-13Guard against invalid light color specifiers from the databaseMelanie1-4/+24
2010-10-17Adding osFunctions for light projectionBlueWall1-5/+50
Set the projection parameters in the host prim ... osSetProjectionParam(bool Enabled, key TextureMaskUUID, float FOV, float Focus, float Ambiance); Set the projection parameters in a target prim ... osSetProjectionParam(ikey target uuid, bool Enabled, key TextureMaskUUID, float FOV, float Focus, float Ambiance); Threat Level very high Signed-off-by: Melanie <melanie@t-data.com>
2010-10-16Add missing check for !_projectionEntryBlueWall1-1/+1
Signed-off-by: Teravus Ovares (Dan Olivares) <teravus@gmail.com>
2010-10-15Adding projected light filters to prim propetiesBlueWall1-0/+80
Requires the LL Mesh Beta viewer Signed-off-by: Teravus Ovares (Dan Olivares) <teravus@gmail.com>
2010-09-12Formatting cleanup.Jeff Ames1-37/+37
2010-08-03Simplify serialized version string. Change element capitalization for ↵Justin Clark-Casey (justincc)1-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.
2010-08-03get rid of PrimitiveBaseShape.MediaRaw staging postJustin Clark-Casey (justincc)1-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
2010-08-03remove duplicated serialization codeJustin Clark-Casey (justincc)1-12/+26
2010-08-03serialize media textures to inventory with a largely osd representation ↵Justin Clark-Casey (justincc)1-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.
2010-07-26relocate serialization code from SQLiteRegionData to MoapModule using load ↵Justin Clark-Casey (justincc)1-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.
2010-07-26implement llSetPrimMediaParams()Justin Clark-Casey (justincc)1-0/+1
Untested
2010-07-26start storing incoming MediaEntry on a new Media field on PrimitiveBaseShapeJustin Clark-Casey (justincc)1-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
2010-07-26relocate serialization code from SQLiteRegionData to MoapModule using load ↵Justin Clark-Casey (justincc)1-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.
2010-07-12implement llSetPrimMediaParams()Justin Clark-Casey (justincc)1-0/+1
Untested
2010-07-01start storing incoming MediaEntry on a new Media field on PrimitiveBaseShapeJustin Clark-Casey (justincc)1-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
2010-06-29Make newly created prims be named "Object" and make newly created scriptsMelanie Thielker1-1/+1
have a default touch handler. Compatibility patch
2010-04-27* Thanks cmickeyb, for a patch that corrects an invalid construction of ↵John Hurliman1-1/+1
Primitive.TextureEntry (a "blank" texture should be initialized with UUID.Zero, not null)
2010-04-14* Added 32bitLauncher for Robust. Still need to test it on a 64 bit machine.Diva Canto1-3/+3
* PrimitiveBaseShape wants to be be committed too -- EOF.
2010-04-09minor - add some documentation to PrimitiveBaseShape constructor with ↵dahlia1-0/+4
OpenMetaverse.Primitive parameter
2010-03-16Fixed several unhandled exceptions and performance issues with ↵John Hurliman1-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
2010-03-01More work on GrantRights. Still not right.Diva Canto1-34/+34
2010-02-22minor formatting tweak - try to trigger a build on pandadahlia1-1/+0
2010-02-22add a constructor for PrimitiveBaseShape from a OpenMetaverse Primitivedahlia1-0/+35
2009-11-20remove early return from PrimitiveBaseShape.ToOmvPrimitive() when prim is a ↵dahlia1-2/+0
sculpty
2009-11-17Correct formatting of Primitive.Textures in ↵dahlia1-1/+1
PrimitiveBaseShape.ToOmvPrimitive method
2009-11-13Some corrections to PrimitiveBaseShape.ToOmvPrimitive()dahlia1-6/+26
2009-11-11add a ToOmvPrimitive() method to PrimitiveBaseShapedahlia1-0/+81