diff options
author | Aaron Brashears <aaronb@lindenlab.com> | 2007-01-03 21:05:41 +0000 |
---|---|---|
committer | Aaron Brashears <aaronb@lindenlab.com> | 2007-01-03 21:05:41 +0000 |
commit | 4617a37edfc291a0942027231691bdbf6109b9cb (patch) | |
tree | 5745c5e3dee0568be67d48242814d2654d80c9de /indra/newview/llpanelcontents.cpp | |
parent | 2b291c2732b583911c0d98c30dbfedfd4022babb (diff) |
corrected, removed, and updated comments throughout the code to be more useful. no code changes. SL-13762
Diffstat (limited to 'indra/newview/llpanelcontents.cpp')
-rw-r--r-- | indra/newview/llpanelcontents.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/indra/newview/llpanelcontents.cpp b/indra/newview/llpanelcontents.cpp index ad3c3d42b0..e9b446568e 100644 --- a/indra/newview/llpanelcontents.cpp +++ b/indra/newview/llpanelcontents.cpp @@ -141,9 +141,6 @@ void LLPanelContents::onClickNewScript(void *userdata) } if(object) { - // *HACK: In order to resolve SL-22177, we need to create the - // script first, and then you have to click it in inventory to - // edit it. Bring this back when the functionality is secure. LLPermissions perm; perm.init(gAgent.getID(), gAgent.getID(), LLUUID::null, LLUUID::null); perm.initMasks( @@ -168,6 +165,13 @@ void LLPanelContents::onClickNewScript(void *userdata) LLViewerInventoryItem::II_FLAGS_NONE, time_corrected()); object->saveScript(new_item, TRUE, true); + + // *NOTE: In order to resolve SL-22177, we needed to create + // the script first, and then you have to click it in + // inventory to edit it. + // *TODO: The script creation should round-trip back to the + // viewer so the viewer can auto-open the script and start + // editing ASAP. #if 0 S32 left, top; gFloaterView->getNewFloaterPosition(&left, &top); |