diff options
Diffstat (limited to 'indra/newview/llvograss.cpp')
-rw-r--r-- | indra/newview/llvograss.cpp | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/indra/newview/llvograss.cpp b/indra/newview/llvograss.cpp index d416ae5bf6..d644ad5085 100644 --- a/indra/newview/llvograss.cpp +++ b/indra/newview/llvograss.cpp @@ -109,12 +109,6 @@ void LLVOGrass::updateSpecies() } -void alert_done(S32 option, void* user_data) -{ - return; -} - - void LLVOGrass::initClass() { LLVector3 pos(0.0f, 0.0f, 0.0f); @@ -224,9 +218,9 @@ void LLVOGrass::initClass() if (!have_all_grass) { - LLStringUtil::format_map_t args; - args["[SPECIES]"] = err; - gViewerWindow->alertXml("ErrorUndefinedGrasses", args, alert_done ); + LLSD args; + args["SPECIES"] = err; + LLNotifications::instance().add("ErrorUndefinedGrasses", args); } for (S32 i = 0; i < GRASS_MAX_BLADES; ++i) |