STORM-1368 Code more defensively when uploading a notecard
Review Request #345 - Created June 17, 2011 and submitted
Stone Linden | Reviewers | ||
STORM-1368 | alain_linden, jenn | ||
None | viewer-development |
This change adds some defensive code around notecard upload, making sure that we have a handle to the notecard editor and a connection to a region and asset system before de-referencing pointers to get upload capabilities.
It compiles!
Review request changed
Updated (June 17, 2011, 4:03 p.m.)
-
- added STORM-1368
Review request changed
Updated (June 17, 2011, 4:14 p.m.)
-
None yet.
It compiles!
-
- removed grumpity
- added alain_linden, jenn
-
indra/newview/llpreviewnotecard.cpp (Diff revision 1) -
I think the editor check is redundant, because getChild() always returns a valid non-NULL pointer (to a dummy widget if the specified widget was not found).
Other reviews