aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpreviewscript.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llpreviewscript.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/linden/indra/newview/llpreviewscript.h b/linden/indra/newview/llpreviewscript.h
index 9cc0e46..3dfeb2c 100644
--- a/linden/indra/newview/llpreviewscript.h
+++ b/linden/indra/newview/llpreviewscript.h
@@ -2,6 +2,8 @@
2 * @file llpreviewscript.h 2 * @file llpreviewscript.h
3 * @brief LLPreviewScript class definition 3 * @brief LLPreviewScript class definition
4 * 4 *
5 * $LicenseInfo:firstyear=2002&license=viewergpl$
6 *
5 * Copyright (c) 2002-2007, Linden Research, Inc. 7 * Copyright (c) 2002-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLPREVIEWSCRIPT_H 32#ifndef LL_LLPREVIEWSCRIPT_H
@@ -213,6 +216,9 @@ public:
213 bool is_script_running); 216 bool is_script_running);
214 virtual void callbackLSLCompileFailed(const LLSD& compile_errors); 217 virtual void callbackLSLCompileFailed(const LLSD& compile_errors);
215 218
219 // Overide LLPreview::open() to avoid calling loadAsset twice.
220 /*virtual*/ void open(); /*Flawfinder: ignore*/
221
216protected: 222protected:
217 virtual BOOL canClose(); 223 virtual BOOL canClose();
218 void closeIfNeeded(); 224 void closeIfNeeded();