From 619f737abb5c12022537c1f6715d60860152ec79 Mon Sep 17 00:00:00 2001 From: Jonathan Yap <none@none> Date: Sun, 29 Jan 2012 15:34:51 -0500 Subject: STORM-1803 Adding raw anim file upload support --- indra/newview/llfloaternamedesc.cpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'indra/newview/llfloaternamedesc.cpp') diff --git a/indra/newview/llfloaternamedesc.cpp b/indra/newview/llfloaternamedesc.cpp index 66f0fc3cd7..27b1c3b9cd 100644 --- a/indra/newview/llfloaternamedesc.cpp +++ b/indra/newview/llfloaternamedesc.cpp @@ -206,6 +206,25 @@ BOOL LLFloaterSoundPreview::postBuild() } +//----------------------------------------------------------------------------- +// LLFloaterAnimPreview() +//----------------------------------------------------------------------------- + +LLFloaterAnimPreview::LLFloaterAnimPreview(const LLSD& filename ) + : LLFloaterNameDesc(filename) +{ +} + +BOOL LLFloaterAnimPreview::postBuild() +{ + if (!LLFloaterNameDesc::postBuild()) + { + return FALSE; + } + getChild<LLUICtrl>("ok_btn")->setCommitCallback(boost::bind(&LLFloaterNameDesc::onBtnOK, this)); + return TRUE; +} + //----------------------------------------------------------------------------- // LLFloaterScriptPreview() //----------------------------------------------------------------------------- -- cgit v1.2.3