Justin Clarke Casey
5350cec0b3
* minor: log message twiddling
2008-08-01 20:05:26 +00:00
Melanie Thielker
6c3db99a27
Addresses Mantis #1688
...
Changes erroneous return value of llGetLinkname() to "" for nonexistent
prims. Corrects an issue where the root prim of a linked set, upon
delink, retains the part number 1.
2008-07-27 19:32:43 +00:00
lbsa71
8e869b2fff
* Changed a number of field names to ccc (public members shouldn't be called m_)
2008-07-26 21:22:15 +00:00
Justin Clarke Casey
d954f46a0a
* Stop the HasGroupChanged flag being reverted for newly restored prims which need to be persisted to the db
...
* This should stop the problem where linked prims loaded via an archive did not survive server restart
* It may address mantis 1819 though the symptoms don't look consistent
2008-07-25 17:48:58 +00:00
Dr Scofield
031e140761
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
The LL Server sets the CreateSelected flag for a prim when sending a
property update when objects are linked. The following patch
gets OpenSim to do the same.
2008-07-25 10:13:26 +00:00
Jeff Ames
80d8e2889e
Update svn properties. Formatting cleanup. Remove a compiler warning.
2008-07-23 13:24:25 +00:00
Charles Krinke
a432a07005
Mantis#1798. Thank you kindly, StrawberryFride for a patch that:
...
Fixes a couple of places where null reference exceptions were
being caught and ignored rather than null checks being performed.
2008-07-21 13:40:08 +00:00
Melanie Thielker
bcf74416a1
Fix prim link numbers (Mantis #1781 )
...
Implements additional unlink modes (unlink root prim from link set, some
multi-set operations). Linking (single and mutiple) fully implemented.
Consistent numbering of links while in world. Link/delink with predictable
link numbering. Correct link numbers in LSL.
Not all multi-set ops implemented. Link numbers still change when taken and
re-rezzed.
2008-07-19 04:05:34 +00:00
Justin Clarke Casey
eb63b9bbc1
* Actually persist restored archives to the database - wasn't actually doing this before (doh)
...
* Not quite perfect yet
2008-07-13 00:18:29 +00:00
Justin Clarke Casey
a89385818d
* On archive loading, tell the user how many objects we are ignoring because they already exist in the scene
...
* (ability to give objects new uuids will come later)
2008-07-12 22:14:38 +00:00
Justin Clarke Casey
23c4a409b7
minor: method documentation
2008-07-12 21:43:35 +00:00
Charles Krinke
9a0ef22ed9
Mantis#1616. Applied Melanie's patch. This may or may
...
not break trunk.
2008-06-28 16:08:12 +00:00
Dr Scofield
3d26e6ede0
move along, nothing to see here. just a couple of lazy variables.
2008-06-27 19:57:06 +00:00
Justin Clarke Casey
9bf67201c3
* Remove responsibilty for signalling scene object change from SceneObjectPart.SendFullUpdate()
...
* This means that we will no longer pointlessly repersist all the prims in the scene when OpenSim first starts up
* This also means that force-update on the console will not trigger repersistence.
* Also, in other places persistence is no longer done where it wasn't actually necessary
* I think I changed the code for all instances correctly, but it's not possible that I missed some and some things which did persist properly have stopped
* Please patch or mantis if this is the case
2008-06-27 16:36:19 +00:00
Justin Clarke Casey
c299953ce5
* Remove SOG.SendGroupFullUpdate() group changed responsibility
2008-06-27 14:46:44 +00:00
Justin Clarke Casey
d34a46eae1
* refactor: Move responsibility for deciding whether a group should be repersisted on to callers of SceneObjectGroup.SendGroupTeruseUpdate()
2008-06-27 14:39:21 +00:00
Justin Clarke Casey
836557a2f7
* refactor: fission InnerScene.AddSceneObject()
2008-06-27 14:25:36 +00:00
Justin Clarke Casey
c9b41bdc4e
* Add extra backup parameter to InnerScene.AddRestoredSceneObject()
2008-06-27 14:15:14 +00:00
Dr Scofield
b7c81ff166
the prefix "fix" turned out to be bollocks. sorry about that. hope this one
...
fares better.
2008-06-25 16:43:42 +00:00
Jeff Ames
a2b1a1787d
Minor formatting cleanup.
2008-06-25 14:30:28 +00:00
Dr Scofield
b713f4a540
taking another look at mantis #1502 : adding necessary locks, checking for empty list.
2008-06-25 12:21:51 +00:00
Justin Clarke Casey
de24380233
* Remove all use of asset.InvType, as outlined in mailing list discussion
...
* This is stage 1, the field will be removed from AssetType and the assets table if this change doesn't prove problematic
2008-06-23 18:01:58 +00:00
Justin Clarke Casey
b290ce405f
* Remove a bug I created in r5171 where taking an object would terminate the client session
...
* change code to use an explicit state variable instead of using SOG.Name = null to signal deletion
2008-06-21 19:56:19 +00:00
Justin Clarke Casey
16d0a895cb
* Refactor: Move the responsibility for applying physics and sending the initial client update to Scene.AddSceneObject() from some of the SceneObjectGroup constructors
...
* I think this has been done cleanly from inspection and testing, but if prim creation or load suddenly starts playing up more than usual, please open a mantis
* This also has the effect of stopping the archiver generating ghost in-world prims
* Some code dupliction also removed
2008-06-17 20:36:21 +00:00
Jeff Ames
64f01ade04
Update svn properties, clean up formatting, refactor out duplicate hard-coded port numbers.
2008-06-13 00:21:53 +00:00
Justin Clarke Casey
8714833986
* refactor: For new objects, move attach to backup to occur when adding to a scene, rather than on creation of the group
...
* Adding to a scene is now parameterized such that one can choose not to actually persist that group
* This is to support a use case where a module wants a scene which consists of both objects which are persisted, and ones which are just temporary for the lifetime of that server instance
2008-06-12 17:49:08 +00:00
Teravus Ovares
8a93358405
* This completes ObjectDuplicateOnRay.
...
* In English, that means that Copy Selection works now, including Copy Centers and Copy Rotates.
2008-06-10 00:18:00 +00:00
Jeff Ames
dfb63b5623
Update svn properties. Formatting cleanup.
2008-06-09 08:46:33 +00:00
Charles Krinke
aca872499f
Added a "if(entity != null)" before the call to
...
UpdateEntityMovement() to try to preclude the
occaisional System.NullReferenceException in scene.
2008-06-08 17:36:41 +00:00
mingchen
cde42cdbfd
Potential Fix #1 for 0001392: Shift+Drag now causes an unhandled 'Object reference not set to an instance of object' exception
2008-06-07 17:48:45 +00:00
mingchen
0fe363ba65
*Made Object Counting correct with linked objects and turned the previously protected functions that only return object counts to public so it can be easily used by outside classes.
2008-06-06 23:20:02 +00:00
Jeff Ames
4ec4e16c80
Formatting cleanup, minor refactoring, svn properties.
2008-06-04 09:59:27 +00:00
Justin Clarke Casey
1a60fe7a4e
* minor: Attempted method documentation clarifications related to last two commits
2008-06-03 08:34:38 +00:00
Justin Clarke Casey
512c0c67a6
* Remove what should be unnecessary locking in InnerScene.GetEntitites()
2008-06-03 08:17:33 +00:00
Justin Clarke Casey
f45fa84905
* Remove what should be unnecessary locking of GetScenePresences()
...
* May help with mantis 1434 though I doubt it
2008-06-03 08:11:04 +00:00
Jeff Ames
5752c1f5c2
Formatting cleanup.
2008-05-28 03:44:49 +00:00
Justin Clarke Casey
d500209da0
* Refactor: Where possible, change visibility on InnerScene methods to protected internal on the basis that they shouldn't be manipulated by outsiders
2008-05-26 01:06:50 +00:00
Justin Clarke Casey
a28ca7b78b
* Refactor: remove code duplication between add ScenePresence methods in InnerScene
2008-05-26 00:47:36 +00:00
Justin Clarke Casey
73a28a56da
* Refactor: Separate out RemoveScenePresence and add into InnerScene to match existing AddScenePresence
2008-05-26 00:38:04 +00:00
Jeff Ames
5d77625e9a
Update svn properties. Formatting cleanup.
2008-05-25 23:27:38 +00:00
Teravus Ovares
c20f7d6171
* A hacky Top Scripts display. It isn't accurate as far as ms accounting, however you can use it to help find out what scripts are causing your simulator to cry.
...
* Access it from the Estate tools/Debug tab.
2008-05-25 20:50:45 +00:00
Charles Krinke
36b8196f7a
Thank you kindly, Tiffany for a patch that helps:
...
Drag copy a prim and the prim that is moved, persists.
The prim that is created does not survive a restart.
2008-05-25 19:21:21 +00:00
Justin Clarke Casey
bc92d72828
* Refactor: Collapses parts of different code paths in scene used when deleting and unlinking an object
2008-05-25 00:09:08 +00:00
Justin Clarke Casey
0ee69707ea
* Refactor: Collapse some multiple remove object paths
...
* Push some delete functionality into InnerScene to match what's already there for adding objects
2008-05-24 23:11:07 +00:00
Justin Clarke Casey
10564469c8
* Refactor: Remove some unused methods in Scene/InnerScene
2008-05-24 22:48:21 +00:00
Justin Clarke Casey
f3067ce6f9
* Refactor: Change previous commits Object methods to SceneObject methods instead, on the basis that this is less likely to cause confusion with c#'s base object type
2008-05-24 22:45:13 +00:00
Justin Clarke Casey
79eecd3d25
* Refactor: Renaming various *Entity*() methods to *Object*() methods on the basis that they all take SOG parameters to improve code readability for now
2008-05-24 22:10:14 +00:00
Justin Clarke Casey
42693f3b20
* Refactor: Push some dictionary initialization down from Scene into InnerScene
2008-05-24 21:57:00 +00:00
Justin Clarke Casey
d53db1d69b
* Refactor: Make some inner scene dictionaries internal rather than public
2008-05-24 21:36:27 +00:00
Teravus Ovares
5af108a029
* This update causes the backup process to run in a separate thread.
...
* Concurrency issues are resolved because each object makes a memory-only copy of itself and backs up the copy.
* Because of the way this is done, the latest at the time of the backup gets backed up (no functionality change)
* You can move *thousands of objects at a time* and the sim doesn't freeze and wait for the backup to complete.
* This can be enhanced more by dedicating the thread as opposed to starting it when the backup process starts.
2008-05-21 21:22:56 +00:00