diff options
author | Justin Clark-Casey (justincc) | 2013-01-03 21:06:50 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-01-04 21:49:55 +0000 |
commit | d87d9af1a524ceb14513b4a9e4afcec1a1401f54 (patch) | |
tree | c58c320270a5a5fe45774035934941dfacac8ff1 | |
parent | Fix problem where object attached from ground often does not get attached pro... (diff) | |
download | opensim-SC-d87d9af1a524ceb14513b4a9e4afcec1a1401f54.zip opensim-SC-d87d9af1a524ceb14513b4a9e4afcec1a1401f54.tar.gz opensim-SC-d87d9af1a524ceb14513b4a9e4afcec1a1401f54.tar.bz2 opensim-SC-d87d9af1a524ceb14513b4a9e4afcec1a1401f54.tar.xz |
minor: Add some doc to the extremely unhelpful 'fudge....' comment as to why we're deselecting the prim in code before scheduling an update on attachment
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs index da59472..58ed554 100644 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | |||
@@ -669,7 +669,10 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments | |||
669 | }); | 669 | }); |
670 | } | 670 | } |
671 | 671 | ||
672 | so.IsSelected = false; // fudge.... | 672 | // Fudge below is an extremely unhelpful comment. It's probably here so that the scheduled full update |
673 | // will succeed, as that will not update if an attachment is selected. | ||
674 | so.IsSelected = false; // fudge.... | ||
675 | |||
673 | so.ScheduleGroupForFullUpdate(); | 676 | so.ScheduleGroupForFullUpdate(); |
674 | } | 677 | } |
675 | 678 | ||