From cddb530b4de1521f59261dd53498e49a4050191b Mon Sep 17 00:00:00 2001 From: "Brad Payne (Vir Linden)" Date: Fri, 19 Jan 2018 14:05:59 +0000 Subject: Skip warning about direct launch of viewer if running under debugger. Currently this check should work on windows and linux. --- indra/newview/llappviewerwin32.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'indra/newview/llappviewerwin32.cpp') diff --git a/indra/newview/llappviewerwin32.cpp b/indra/newview/llappviewerwin32.cpp index 48b3a1c485..de764ae300 100644 --- a/indra/newview/llappviewerwin32.cpp +++ b/indra/newview/llappviewerwin32.cpp @@ -646,6 +646,11 @@ bool LLAppViewerWin32::initParseCommandLine(LLCommandLineParser& clp) return true; } +bool LLAppViewerWin32::beingDebugged() +{ + return IsDebuggerPresent(); +} + bool LLAppViewerWin32::restoreErrorTrap() { return true; -- cgit v1.2.3