lbsa71
8d0364e228
* changed nonsensical PermissionMask and ObjectFlags mixup; if this causes perms weirdness, let's all work together to find the real cause.
2008-01-22 15:07:30 +00:00
Justin Clarke Casey
504ae63669
* Make object persistence more granular by separating prim and prim inventory persistence
2008-01-21 15:06:49 +00:00
Justin Clarke Casey
8df4774830
On reflection, HasGroupChanged is more appropriate
2008-01-18 18:57:28 +00:00
Justin Clarke Casey
be50fa76ee
Change SOP.HasChanged to HasPrimChanged in preparation for further changes
2008-01-18 18:43:16 +00:00
Teravus Ovares
18c959df12
* Added llApplyImpulse in the global frame. The object must be physical before this'll do anything. Be careful with this function as it's easy to loose prim.
2008-01-17 14:59:05 +00:00
lbsa71
344b4d92f5
* added ForEachPart helper
...
* added SetOwnerId that... sets.. OwnerId... on all parts.
2008-01-17 09:32:02 +00:00
Justin Clarke Casey
b33da2538e
* Fix mantis 345 - it is now possible to duplicate prims directly in the region again without breakage
...
* This includes their inventories
* Also, this revision properly synchronizes prim inventory crud.
2008-01-16 20:27:12 +00:00
Justin Clarke Casey
57519b6dba
* Store task inventory when an object is taken into agent inventory
...
* This means that you can take an object from a region and rez it somewhere else, with its inventory intact.
* As for earlier, at this stage only scripts can be placed in inventory
* This isn't an efficient implementation, a better one will probably need to come along soonish
2008-01-16 18:35:34 +00:00
Teravus Ovares
492e72b21a
* Delinking doesn't leave invisible physical objects behind anymore
2008-01-15 04:27:02 +00:00
Teravus Ovares
45e945616b
* Pass 2 of collidable (non physical) linksets
...
* Linkset status is now persistent
* Tweaked a physics child prim positioning hack to generate less database saves
* Re-factored physics object creation calls into ApplyPhysics. To create a new physics representation of an object or linkset, it's only necessary to call *group*.ApplyPhysics(bool m_physicalPrim). *lbsa has been waiting for this refactoring*
* We have collidable linksets now. (they don't become phantom anymore)
2008-01-15 04:14:27 +00:00
Adam Frisby
b25f9f322c
* Mother of all commits:
...
* Cleaned up copyright notices in AssemblyInfo.cs's
* Added Copyright headers to a bunch of files missing them
* Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate.
2008-01-15 02:09:55 +00:00
Teravus Ovares
a522d7844b
* First pass at collidable linksets
...
* There will be bugs, you can count on that. To avoid them, set the linksets phantom
* After region restart, the linksets restore in a non collidable state.
* Linksets can but shouldn't be made physical with the physical checkbox or when you unlink them, they tend to explode.
* After creating a linkset, you have to move the linkset or set it phantom and not phantom for it to become collidable.
* There's a few ParentGroup references that need to be refactored.
2008-01-14 18:29:04 +00:00
Justin Clarke Casey
c9ad862aab
Remove unused SOG constructor
2008-01-14 15:46:42 +00:00
Justin Clarke Casey
b0904f471d
Fix r2959 - last letter was being sliced off region prim renames
2008-01-10 01:39:49 +00:00
Justin Clarke Casey
796ae57bea
Prim inventory script saving phase 2.
...
* It is now possible to edit and save scripts directly from prim inventories
* On saving, the script will be restarted in the region
* Doesn't appear that it's yet possible to drag inventory contents back to agent inventory. Not quite sure why this is yet - the perms all look very permissive.
2008-01-09 15:46:45 +00:00
Justin Clarke Casey
286802558e
Factor out inventory code in SceneObjectGroup into seperate class.
...
As was true for the previous update, this might require nant users to re-run prebuild.[sh|bat]
2008-01-06 22:55:45 +00:00
Justin Clarke Casey
679923ec87
Factor out TaskInventoryItem
2008-01-06 01:56:29 +00:00
Justin Clarke Casey
7cedb09869
Prim inventory phase 4. Properly recover the prim folder ID from storage. Scripts now show up in prim inventories after region restart.
...
Probably doesn't yet work for any items other than scripts.
Still some work to do. No user functionality exposed. Not yet user tieable into normal code.
2008-01-06 01:16:06 +00:00
Johan Berntsson
047aba2067
I have fixed the ZeroDecodeCommand bug, and restored my packet recycling code. Let me know by IRC if there are other problems
2008-01-03 00:59:12 +00:00
Teravus Ovares
32438ab1b9
* This update rolls back the packetpool and LibSL changes. Please retest and then patch these changes back in. Currently it's not quite ready for 0.5. The down side to this action, is that we loose some performance to the garbage collector for now. Given that the target date for 0.5 is *Two days* from now, I'm taking the initiative to work towards a real stable version.
...
* This update also fixes scripting and some weird physics reactions
2007-12-30 06:18:17 +00:00
Teravus Ovares
0631151e08
* Patch from Melanie provides Util.CleanString and uses it on the prim name and description. Thanks Melanie.
2007-12-28 23:19:03 +00:00
lbsa71
5b720b4b39
* Made a copy of parts before updating to avoid dictionary updated exceptions on big updates
...
* The part now uses the byte[] TextureEntry instead of the object
2007-12-28 13:11:49 +00:00
Adam Johnson
79496381fc
Patch from Johan: LibSL updated to the latest revision (1568) and all packets are now
...
recycled to improve performance and memory usage.
2007-12-28 08:51:39 +00:00
lbsa71
efd90b56b7
* Optimized usings
...
* shortened references
* Removed redundant 'this'
* Normalized EOF
2007-12-27 21:41:48 +00:00
Justin Clarke Casey
01de4bbfbd
If a prim is persisted in the region, scripts dragged into its inventory after a server restart would not appear (though the script they contain would still be invoked). This
...
change fixes that problem.
2007-12-26 20:21:06 +00:00
Charles Krinke
8e8c26acac
Again, thanks to Alondria for:
...
Added: LinkNum to SceneObjectPart
Added: Bunch-o settings of LinkNum in SceneObjectGroup
Added: llGetNumberOfPrims()
Added: llGetLinkNumber()
Added: llGetLinkKey()
Added: llGetLinkName() (and change to string return type)
2007-12-17 02:30:03 +00:00
lbsa71
1cf4278862
* Debugging Shape
...
* Adding namesetting to Create
2007-12-13 14:47:44 +00:00
MW
8a2a6ad761
couple of small fixes.
2007-12-12 17:15:37 +00:00
MW
60c96ab687
Couple of more small changes
2007-12-11 18:29:19 +00:00
Adam Johnson
3d938f76b7
Updates to LibSL revision 1498. Thanks Johan!
2007-12-07 08:54:31 +00:00
Adam Frisby
9e5f7fb415
* Removed lots of scurrilous uses of ASCII/UTF8.GetBytes for making packet strings. BAD PROGRAMMER BAD. Use Helpers.StringToField instead. >_>
2007-12-06 06:36:49 +00:00
Teravus Ovares
bb824eadee
* Refactored Permissions into ScenePresence as requested by MW
...
* Un-hackerized generating the client_flags
* Now handling the ObjectPermissions Update packet
* Warning: Backup your prim before updating. If you fail to do so and something goes wrong then, All Yr prim are belong to us!
2007-12-05 06:44:32 +00:00
Jeff Ames
f195725db4
keeping opensim safe for children -- made some namespace references less explicit
2007-12-04 22:14:53 +00:00
lbsa71
c1fdba8a6f
* Some more ApplyPhysics voodoo
2007-12-04 16:41:20 +00:00
lbsa71
bf8239c7fa
* ApplyPhysics now creates the PhysActor as well.
2007-12-04 13:46:18 +00:00
lbsa71
e01c128c8f
* Added ApplyPhysics helper on group.
2007-12-04 11:11:13 +00:00
Adam Frisby
91c1e8a734
* Fixed a whole bunch of console messages.
2007-12-04 10:13:13 +00:00
MW
0a2425432a
Rezzing multiple copies of a inventory prim should now work.
2007-12-01 21:52:10 +00:00
Teravus Ovares
95c68a316a
*Refactored the initial raytracer so it doesn't use the Parent reference.
...
*Fixed a 'statement out of order' error in the setting of the permissions that are sent to the client.
2007-11-30 16:29:23 +00:00
MW
c1d66a8564
small change to OnSceneGroupMove event (in SceneEvents.cs)
2007-11-30 12:10:12 +00:00
lbsa71
d2b1b54f49
* Removed permissions flag appliance from Xml deserialization
...
* Various code convention compliance
2007-11-30 08:08:14 +00:00
Teravus Ovares
5eb091ceee
* Temporary fix for 'User already online' issue in standalone mode.
...
* Revert this once we get a working logoff.
2007-11-30 01:20:31 +00:00
lbsa71
7704bb6f63
* Fixed neighbour range bug
...
* Various refactorings
2007-11-29 15:27:57 +00:00
lbsa71
a32bb91675
* minor refactorings
2007-11-29 06:07:48 +00:00
Teravus Ovares
1ecd803e87
* added some functions for use in raytracing. They're kind of crappy now, so they only display 'guesses' on the console when you rez a prim.
...
* any math gurus who'd like to improve rezzing need only to make the raytracer in SceneObjectPart work :D
2007-11-23 05:56:35 +00:00
MW
e5a0049c16
Fixed bug that can lead to infinitive loops
2007-11-21 12:00:28 +00:00
Sean Dague
7b09800d5b
fix for mantis #2 from Justin Casey (IBM)
2007-11-20 21:25:27 +00:00
Teravus Ovares
5a71d03b7a
*Huge* structural changes in ODE/OdePrim to get all of the calls in threadlocked code. ODEPrim was almost completely re-written.
...
Copy/Space test needed.
2007-11-20 04:38:08 +00:00
Teravus Ovares
615b40b68b
* Refactored IClientAPI.OutPacket to require a second mandatory parameter. This parameter has an enum:int ThrottleOutPacketType and contains types; Resend, Land, Wind, Cloud, Task, Texture, and Asset.
2007-11-18 15:54:05 +00:00
Teravus Ovares
46ccfa1741
* Found several cases where prim set physical were not subscribing to physics events.
2007-11-18 13:37:02 +00:00